Spell Being Cast Question

Sessional

New Member
Reaction score
5
I have a item that has a spell based off of Pheonix fire, and I want it to cause a slow like a frost nova cast. What functions would I use, or would spell being cast actually work for this type of situation?
 

ShinyPickle

New Member
Reaction score
9
Don't quote me on this, but I think you can just go to the ability in the editor, stats> buffs>frost armor.
 

Sessional

New Member
Reaction score
5
Sorry, claryfing, I want it to be what the pheonix fire is shooting at is slowed, not what is attacking the unit.
 

Weyrling

New Member
Reaction score
25
Sorry, claryfing, I want it to be what the pheonix fire is shooting at is slowed, not what is attacking the unit.

Make a 'takes damage' initialization trigger.
Warning: Psuedo-code, does not work verbatim
Takes Damage Init
Event: Unit enters region (Entire map)
Optional Condition: Unit-type is not equal to Dummy
Action: Add event to trigger (specific unit-Entering Unit-Takes Damage)
Takes Damage Trigger
Action: If 'damaged unit' has buff == "Phoenix Fire Buff"
Action: Set TempPoint == Position of Triggering Unit
Action: Make a dummy unit at TempPoint
Action: Tell dummy to cast 'custom slow spell' on damaged unit
Action: Make Dummy expire in 2 seconds
Action: Custom Script: call RemoveLocation(udg_TempPoint)
 

Sessional

New Member
Reaction score
5
Kk, thank you, problem fixed.

EDIT: Does the condition
((Picked unit) has buff Ice Beam - [Level 1] ) Equal to True

Work on enemy units, because technically, aren't they effects if they are on enemies?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top