how do i make a trigger that increases heros stats when it hits or kills a unit

neverbealone

New Member
Reaction score
2
how do i create a trigger then increases stats when it deals a certain amount of damage or kills a certain amount of units

an example of this is hidan from naruto vs bleach
 

Wummi

Just Relax and Smile!
Reaction score
58
For 1 stat per hero kill:
Event
A unit dies
Conditions
Killing unit equals to (Your_Hero)
Actions
Hero-Modify Attribute (Add 1 Stat to Str or something)
 

PooBucket

New Member
Reaction score
12
What he said above except for the certain number of units you'll have to make it a bit more complex than the first one. And more for the certain damage part. You'll have to have a variable counting the amount of units killed.

If X = Your number of units killed.
Then = Set whatever stats u want in the action part.
Elese = do nothing

For damage you'll also have to have a variable but you'll need another trigger to add the generic unit - takes damage since you usually can only do in specific unit. You'll also have to check if X = damage taken.

If X = amount of damage taken.
Then = increase stats etc.

2 trigger eg.

1st trigger.
A unit is attacked? (not sure if best choice)
Conditions-
Your unit type attacking
Actions -
Add event to 2nd trigger

2nd trigger
A attacked unit takes damage
Conditions
X = your amount of damage wanted
Actions
Set stats to whatever.

Note: X is an integer value.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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