SoupNBread
New Member
- Reaction score
- 2
Ok, so I'm having trouble with a spell.
What I want it to do is this. The unit casts the spell, then it takes the hero's Strength (Including Bonuses) and deals that much damage to the enemy.
The current trigger I have isn't working. The spell casts, but no damage is done.
Could it be that the ability is based off of Thunder Clap? Would you suggest any other instant spells to use?
What I want it to do is this. The unit casts the spell, then it takes the hero's Strength (Including Bonuses) and deals that much damage to the enemy.
The current trigger I have isn't working. The spell casts, but no damage is done.
Code:
Swing
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Swing
Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (Real((Strength of (Casting unit) (Include bonuses)))) damage of attack type Hero and damage type Normal
Could it be that the ability is based off of Thunder Clap? Would you suggest any other instant spells to use?