- Joined
- Aug 11, 2009
- Messages
- 605
I need help to make a spell that when cast, gives the caster and nearby allies a damage boost based on the casters Strength stat for 5 seconds.
Its for an RPG so it does not need to be completely MUI, each player can only have 1 Hero each.
The spell should not stack if cast multiple times or from different players. But preferably work like this:
- If the damage boost is the same as the one already active it refresh duration.
- If damage is higher it refresh duration with the new higher value.
- If boost is lower than the one already active it does nothing, but if its easier its ok if it refreshes duration with current damage boost aswell (i guess if its tracked with a active buff it would be easier with refresh).
I would prefer if the spell is in GUI or atleast setup of values is since i cant code in Jass.
I hope its not too complicated to make. Thanks in advance!
Its for an RPG so it does not need to be completely MUI, each player can only have 1 Hero each.
The spell should not stack if cast multiple times or from different players. But preferably work like this:
- If the damage boost is the same as the one already active it refresh duration.
- If damage is higher it refresh duration with the new higher value.
- If boost is lower than the one already active it does nothing, but if its easier its ok if it refreshes duration with current damage boost aswell (i guess if its tracked with a active buff it would be easier with refresh).
I would prefer if the spell is in GUI or atleast setup of values is since i cant code in Jass.
I hope its not too complicated to make. Thanks in advance!