Well you could create a dummy unit, give it the Rain of Fire and the order it to cast the spell. I would be something like this
Trigger:
- Rain of Fire
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Rain of Fire
- Actions
- Set Cast_Place = (Position of (Casting unit))
- Set Caster = TriggeringUnit
- Unit - Create 1 Whatever-Unit for (Owner of (Caster)) at Cast_Place facing (Facing of (Caster)) degrees
- Unit - Add Rain of Fire to (Last created unit)
- Unit - Set level of Rain of Fire for (Last created unit) to (Level of Rain of Fire for (Caster)
- Unit - Order (Last created unit) to Neutral Pit Lord - Rain Of Fire (Target point of ability being cast)
- Custom script: call RemoveLocation(udg_Cast_Place)
also you forgot to add an expiration timer on the dummy unit
don't want that dummy unit in that map forever right?
Trigger:
- Add a 10 second expiration timer to (Last Created Unit)
Yea forgot about that . But i think the expiration timer should be equal to the Rain of Fire duration...