- Joined
- Mar 23, 2007
- Messages
- 261
Well ive made an ability based of "Devotion Aura". It works like critical strike, it just deals intelligence x1 damage instead. But it never works. Anyone can help me?
Magical Strike
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) equal to Magical Strike
Actions
Set Chance = (Random integer between 1 and 100)
If (All conditions are true) Then do (Then actions) else do (Else actions)
If - Conditions
Chance less or equal to 15
Then - Actions
Set MagicalStrike = (Real((Intelligence of (Triggering Unit) (Include Bonuses))))
Unit - Cause (Triggering Unit) to damage (Target unit of being cast), dealing MagicalStrike damage of attack type spells and damage type normal
Else - Actions
Magical Strike
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) equal to Magical Strike
Actions
Set Chance = (Random integer between 1 and 100)
If (All conditions are true) Then do (Then actions) else do (Else actions)
If - Conditions
Chance less or equal to 15
Then - Actions
Set MagicalStrike = (Real((Intelligence of (Triggering Unit) (Include Bonuses))))
Unit - Cause (Triggering Unit) to damage (Target unit of being cast), dealing MagicalStrike damage of attack type spells and damage type normal
Else - Actions