Dark_Phoenix
New Member
- Reaction score
- 3
Code:
Mug
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mug
Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 3.00) damage of attack type Chaos and damage type Universal
Player - Add (100 x (Level of Mug for (Casting unit))) to (Owner of (Casting unit)) Current gold
Player - Set (Owner of (Target unit of ability being cast)) Current gold to (((Owner of (Target unit of ability being cast)) Current gold) - ((Level of Mug for (Casting unit)) x 100))
For some reason, this only works when the ability is manually casted. How can this work even if the ability is autocasted?