- Joined
- Sep 22, 2011
- Messages
- 70
I want one of my bosses to have an enrage timer, bascially it's a timer that you have to kill the boss in, the timer is 300seconds(5mins) long, and the timer itself works fine.
When the timer expires, it is suppose to show a text to all players of the boss yelling, create a dummy unit(that has a inner fire based spell called enrage), order the dummy to use the ability on the boss.
The ability is suppose to increase his damage done by 500%, defense by 500, and health regeneration by 200%.
This is the trigger used to display the text, create the dummy, and use the spell the dummy has.
I've done dummy unit's before, and ordered dummy units to cast spells before, and i've even tapped into trigger enhanced spells a few times, however I don't know what the problem with this trigger is..
SIDE NOTE: I have another similar trigger for when he gets under 10% max health:
Both the Enrage and the Fiery Rage are based off Inner fire, the use string for them is innerfire, and neither dummy has both abilities, there are 2 seperate dummies, each with the correct ability.
Fiery Rage - Increases damage done by 100%, defense by 25, and life regeneration by 15%.
Enraged - Increases damage done by 500%, defense by 500, and life regeneration by 200%.
When the timer expires, it is suppose to show a text to all players of the boss yelling, create a dummy unit(that has a inner fire based spell called enrage), order the dummy to use the ability on the boss.
The ability is suppose to increase his damage done by 500%, defense by 500, and health regeneration by 200%.
This is the trigger used to display the text, create the dummy, and use the spell the dummy has.
-
Enrage
-
Events
- Time - Rayvan_Enrage expires
- Conditions
-
Actions
- Game - Display to (All players) the text: Fire Lord Rayvan: Y...
- Set - Rayvan_Loc = Position of (Rayvan 0034 <gen>)
- Unit - Create 1 Dummy Enrage for Neutral Hostile at (Rayvan_Loc) facing Default building facing degrees
- Unit - Order (Last created unit) to Human Priest - Inner Fire Rayvan 0034 <gen>
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Countdown Timer - Destroy (Enrage_Timer_Window)
- Custom Script - call RemoveLocation(udg_Rayvan_Loc)
-
Events
I've done dummy unit's before, and ordered dummy units to cast spells before, and i've even tapped into trigger enhanced spells a few times, however I don't know what the problem with this trigger is..
SIDE NOTE: I have another similar trigger for when he gets under 10% max health:
-
Fiery Rage
-
Events
- Unit - Rayvan 0034 <gen>'s life becomes Less than ((Max life of Rayvan 0034 <gen>) x 0.10)
- Conditions
-
Actions
- Game - Display to (All players) the text: Fire Lord Rayvan: Y...
- Set - Rayvan_Loc = Position of (Rayvan 0034 <gen>)
- Unit - Create 1 Dummy Rage for Neutral Hostile at (Rayvan_Loc) facing Default building facing degrees
- Wait 0.50 seconds
- Unit - Order (Last created unit) to Human Priest - Inner Fire Rayvan 0034 <gen>
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Custom Script - call RemoveLocation(udg_Rayvan_Loc)
-
Events
Both the Enrage and the Fiery Rage are based off Inner fire, the use string for them is innerfire, and neither dummy has both abilities, there are 2 seperate dummies, each with the correct ability.
Fiery Rage - Increases damage done by 100%, defense by 25, and life regeneration by 15%.
Enraged - Increases damage done by 500%, defense by 500, and life regeneration by 200%.