[ASK]increasing and decreasing allstat per hit

omniversal

New Member
Reaction score
0
Yap Tq bro but i forget i more thing and sorry to annoying you once again.

in the Trigger "Basically from items" and "Activated" can you change it that equal to player red (1) and give it to Blood mage to maybe like manipulate the item or carried the item or event response to triggering unit Because i tried to change it like that but it causing trigger error and not activated so pls help once again tq:)
 

TomTTT

New Member
Reaction score
44
I'm sorry but I didn't understand what you need.
You want to make sure that the owner of that unit is Player 1 (Red)?
If so, you can use a simple Comparison:
Trigger:
  • (Owner of (Triggering unit)) Equal to Player 1 (Red)
 

omniversal

New Member
Reaction score
0
I'm sorry but I didn't understand what you need.
You want to make sure that the owner of that unit is Player 1 (Red)?
If so, you can use a simple Comparison:
Trigger:
  • (Owner of (Triggering unit)) Equal to Player 1 (Red)

- if you look the "Basically from items" Triggers on gold map you will see this triggers part : (Owner of (Damage source)) Equal to Player 1 (Red) << i ever tried to change to Equal to hero manipulate item or item carried by bla bla bla and Player - Add (Integer(DAMAGE)) to Player 1 (Red) Current gold i ever to change this part to but it failed too. So i want you to change that part that will make any hero and any player can acquire the item and use this item so not just player 1

- and if you look "Activated" Triggers you will see this triggers part : Hero - Create <|cff00C400Actived|r> Claw of Attack And give it to Blood Mage 0000 <gen>
and this part Hero - Create <|c00ff0303Deactived|r> Claw of Attack and give it to Blood Mage 0000 <gen> nah.. i ever to tried to change it to like give it to "Event response Triggering unit but it failed because it cause the "Basically from items" Trigger to turn off so i need you to change it to that this item is able to use bye any player and hero and wont cause the "Basically from items" Trigger to turn off

I Tried to put another new hero but when i click to activated the item , the item change the place and when i deactivated the item it change back to normal position ( back to slot 1 again ) i dont why its like that and i delete the item from map then put the item to the shop just for testing if the item can be sold or not.
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 156

TomTTT

New Member
Reaction score
44
Alright i see the problem now.
Fixed everything, works fine with every player you play with. None - Problematic changes:
-Changed floating text velocity to 32, made it fade, and changed it's color.
-Changed the amount of gold earned to 10% of the damage dealt. You can change it back in the Variable setting action.
GL with the map!
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 149

omniversal

New Member
Reaction score
0
Alright i see the problem now.
Fixed everything, works fine with every player you play with. None - Problematic changes:
-Changed floating text velocity to 32, made it fade, and changed it's color.
-Changed the amount of gold earned to 10% of the damage dealt. You can change it back in the Variable setting action.
GL with the map!

hmm i think its has some error like when the hero which manipulate the item and activated the item ability all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast able to get gold/hit but the gold that all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast is transfer to the hero that manipulate the item so they hit but they dont get gold and i dont hit but i get the gold because i manipulate the item.

so can you help me to change that only the hero which manipulate the item can get gold/hit that base on hero damage when activated the item ability and only if i do damage to the enemy that i can get gold . So the hero that not acquire or manipulate the item cant get gold/hit and we cant get gold from offensive ability (ability which has an ability to cause damage to enemy ) of any hero including the hero that not manipulate the item and we can get gold/hit from the summoned beast , and allies unit and building too . so it only get gold from hero true base damage + Bonus damage that increase hero true base damage of the hero that manipulate the item.

i hope you can understand and sorry for annoying you again :thup:
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 145

TomTTT

New Member
Reaction score
44
hmm i think its has some error like when the hero which manipulate the item and activated the item ability all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast able to get gold/hit but the gold that all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast is transfer to the hero that manipulate the item so they hit but they dont get gold and i dont hit but i get the gold because i manipulate the item.

so can you help me to change that only the hero which manipulate the item can get gold/hit that base on hero damage when activated the item ability and only if i do damage to the enemy that i can get gold . So the hero that not acquire or manipulate the item cant get gold/hit and we cant get gold from offensive ability (ability which has an ability to cause damage to enemy ) of any hero including the hero that not manipulate the item and we can get gold/hit from the summoned beast , and allies unit and building too . so it only get gold from hero true base damage + Bonus damage that increase hero true base damage of the hero that manipulate the item.

i hope you can understand and sorry for annoying you again :thup:

You mean to make sure that no ability that deals damage will increase gold? Only plain and simple attack will?
I'll edit this post as soon as im finished.
EDIT: Oh, i see you also mean that all players could have this. So instead of the claw bolean variable, i changed, but i forgot to change the no ability, so ill edit this when im done.
EDIT 2: Sorry, i don't think it's possible to do so without a proper Damage Detection System.
Map uploaded
 

Attachments

  • Gold1.w3x
    15 KB · Views: 176

omniversal

New Member
Reaction score
0
tq very much i think this is perfect as wat i want even the ability is still can make the hero that manipulate the item earn the gold. but i think is ok
 

TomTTT

New Member
Reaction score
44
tq very much i think this is perfect as wat i want even the ability is still can make the hero that manipulate the item earn the gold. but i think is ok
Maybe you can disable gold gain with abilities by doing something like
Trigger:
  • GG disable
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Gold Gain
            • Then - Actions
              • Item - Remove (Item carried by (Triggering unit) in slot (Integer A))
              • Set Unit_Had_GG[(Player number of (Owner of (Triggering unit)))] = True
            • Else - Actions

Above trigger is basically meant to show that if that unit had the item which give gold, then remove this item and set a variable (Bolean) that will affect this trigger:
Trigger:
  • GG enable
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Unit_Had_GG[(Player number of (Owner of (Triggering unit)))] Equal to True
    • Actions
      • Hero - Create Gold Gain and give it to (Triggering unit)

Now you can see that if the unit had the item or didn't. If he didn't, he shouldn't get the item when he finished the ability ,right?
So the variable indicated whether this unit had the item or didnt.
Didn't try it yet. Maybe you can give it a try?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top