eloytoro
New Member
- Reaction score
- 4
I created a hero with rage system (like a wow warrior, so cool!) but i dont want the hero to have any mana increase regeneration or int bonus by any items, how could be the trigger that prevents this from a trigger?
PS: The hero's mana is actually set to 85 (plus the 1 int bonus it makes 100) and the rage drop and increase triggers are already made...
PS: The hero's mana is actually set to 85 (plus the 1 int bonus it makes 100) and the rage drop and increase triggers are already made...
Rage triggers
Code:
RageSystem
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Attacking unit)) Equal to Ravager
Then - Actions
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + (Random real number between 3.00 and 5.00))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Attacked unit)) Equal to Ravager
Then - Actions
Unit - Set mana of (Attacked unit) to ((Mana of (Attacked unit)) + ((Damage taken) / 25.00))
Else - Actions
Do nothing
Code:
RageDrop
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Ravager)) and do (Actions)
Loop - Actions
Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - 1.00)
Hero - Modify Intelligence of (Picked unit): Set to 1