Exfyre
hmm...
- Reaction score
- 60
Hey I thought of an idea for a spell which I am attempting now; however, i have run into MUI problems and need help! Here is the spell:
Hurls a dagger from a short distance that infects the target unit dealing damage every second. Whenever an infected unit touches another unit, this unit also becomes infected. A unit can be affected twice.
Here is my code so far:
(there are 6 levels to this spell)
EDIT:
I used Shadow strike as the triggering spell, and I want the dummy unit to cast this spell when it detects a unit within 100 range.
EDIT:
changed spell to not required lessened damage.
Hurls a dagger from a short distance that infects the target unit dealing damage every second. Whenever an infected unit touches another unit, this unit also becomes infected. A unit can be affected twice.
Here is my code so far:
Trigger:
- Diffusive Poison
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Diffusive Poison [shell, triggered]
- Actions
- Custom script: local trigger poison = gg_trg_DPsnAct
- Trigger - Add to (poison) the event (Unit - A unit comes within 100.00 of (Target unit of ability being cast))
- Events
Trigger:
- DPsnAct
- Events
- Conditions
- Actions
- Set tempLoc = (Position of (Triggering unit))
- Unit - Create 1 Dummy Caster for (Owner of (?)) at tempLoc facing Default building facing (270.0) degrees
(there are 6 levels to this spell)
EDIT:
I used Shadow strike as the triggering spell, and I want the dummy unit to cast this spell when it detects a unit within 100 range.
EDIT:
changed spell to not required lessened damage.