snmiglight
Active Member
- Reaction score
- 3
Help please for damage dealing on spell casting...
i'm making a spell....
an active spell that will deal damage equal to 75%/100%/125%
of caster's damage taken from last 5 seconds plus his (caster's) attack damage...
now i have these codes, but still i can't figure out
how to deal those damage mentioned above
can someone help me? thanks
i'm making a spell....
an active spell that will deal damage equal to 75%/100%/125%
of caster's damage taken from last 5 seconds plus his (caster's) attack damage...
now i have these codes, but still i can't figure out
how to deal those damage mentioned above
Trigger:
- Reversal
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Reversal
- Actions
- Set Reversal_Point = (Position of (Triggering unit))
- Set Reversal_Group = (Units within 225.00 of Reversal_Point matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is A structure) Not equal to True) and (((Matching unit) is alive) Equal to True))))
- Custom script: call RemoveLocation(udg_Reversal_Point)
- Unit Group - Pick every unit in Reversal_Group and do (Actions)
- Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing (WHAT TO PUT HERE??) damage of attack type Chaos and damage type Normal
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Loop - Actions
- Custom script: call DestroyGroup(udg_Reversal_Group)
- Events
can someone help me? thanks