Hi, im new at the forum and I wanted to ask you some things about a Rage System I made.
For those who don't know, Rage is the same as Mana, is what some heroes use to cast spells. The difference lies on how it behaves.
If Hero is attacked or attacks some rage is generated. Hero attacking generates more than if he is attacked. And Rage consumes with time.
I made these Triggers.
INITIALLY ON
Is there any better way to do this system?
And I'm having problems with this Hero using Rage and Items. As some items give intelligence or mana regeneration; Hero's Rage (Mana) starts behaving differently. How can this be solved?
Thanks a lot
PD.: I am also planning in doing an Energy System.
For those who don't know, Rage is the same as Mana, is what some heroes use to cast spells. The difference lies on how it behaves.
If Hero is attacked or attacks some rage is generated. Hero attacking generates more than if he is attacked. And Rage consumes with time.
I made these Triggers.
INITIALLY ON
-
Rage 1 FW
-
Events
- Unit - A unit Sells a unit
-
Conditions
- (Unit-type of (Sold unit)) Equal to Fury Warrior
-
Actions
- Set FuryWarrior = (Sold unit)
- Trigger - Turn on Rage 2 FW <gen>
- Trigger - Turn on Rage 3 FW <gen>
- Trigger - Turn on Rage 4 FW <gen>
- Trigger - Turn on Rage 5 FW <gen>
-
Events
-
Rage 2 FW
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacked unit)) Equal to Fury Warrior
-
Actions
- Set FuryWarrior_Rage = (FuryWarrior_Rage + 1.50)
-
Events
-
Rage 3 FW
-
Events
- Unit - A unit Is attacked
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Unit-type of (Attacking unit)) Equal to Fury Warrior
- ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Set FuryWarrior_Rage = (FuryWarrior_Rage + 4.00)
-
Events
-
Rage 4 FW
-
Events
- Time - Every 1.50 seconds of game time
- Conditions
-
Actions
- Set FuryWarrior_Rage = (FuryWarrior_Rage - 1.00)
-
Events
-
Rage 5 FW
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Unit - Set mana of FuryWarrior to FuryWarrior_Rage
-
Events
Is there any better way to do this system?
And I'm having problems with this Hero using Rage and Items. As some items give intelligence or mana regeneration; Hero's Rage (Mana) starts behaving differently. How can this be solved?
Thanks a lot
PD.: I am also planning in doing an Energy System.
Last edited: