CBBPhoenix
New Member
- Reaction score
- 1
Hi guys
I am making an ability which is based on faerie dragon's mana flare ability. I called it Reflact and it used to work in the usal mana flare way. Problem was that it dealt AoE damage no matter what so I dumped that idea and made it GUI trigger based. This is my trigger and it does not work at all even thoug I think it makes sense T_T anyone pro has some suggestions why it does not damage the caster even if I set the damage to a constant value?
The variables are Unit variables
Thanks in advance
I am making an ability which is based on faerie dragon's mana flare ability. I called it Reflact and it used to work in the usal mana flare way. Problem was that it dealt AoE damage no matter what so I dumped that idea and made it GUI trigger based. This is my trigger and it does not work at all even thoug I think it makes sense T_T anyone pro has some suggestions why it does not damage the caster even if I set the damage to a constant value?
Trigger:
- Unit - A unit Starts the effect of an ability
- (Distance between (Position of (Casting unit)) and (Position of (Random unit from (Units in (Playable map area) matching (((Matching unit) has buff Reflect ) Equal to True))))) Less than or equal to 950.00
- Set casterhero = (Casting unit)
- Set reflecterhero = (Matching unit)
- Unit - Cause reflecterhero to damage casterhero, dealing (300.00 - (4.00 x (Real((Intelligence of casterhero (Include bonuses)))))) damage of attack type Spells and damage type Normal
Thanks in advance