- Joined
- Mar 3, 2009
- Messages
- 327
Im trying to trigger a breath of fire. I havn't added the SFX yet. Heres the trigger:
PS. Disabling the bj_wantdestroygroup thing does nothing
-
Breath of Fire
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Ability being cast) Equal to Breath of Fire Q
-
(Ability being cast) Equal to Breath of Fire W
-
(Ability being cast) Equal to Breath of Fire E
-
(Ability being cast) Equal to Breath of Fire R
-
-
-
-
Actions
-
-------- Base damage --------
-
Set Tempreal2 = 0.00
-
-------- Int multiplier --------
-
Set Tempreal = 2.00
-
-------- ---------------- --------
-
Set Temppoint[0] = (Position of (Triggering unit))
-
Set Temppoint[1] = (Temppoint[0] offset by 200.00 towards (Facing of (Triggering unit)) degrees)
-
Set Temppoint[2] = (Temppoint[0] offset by 400.00 towards (Facing of (Triggering unit)) degrees)
-
Unit Group - Add all units of (Units within 150.00 of Temppoint[1] matching (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False)) to tempgroup
-
Unit Group - Add all units of (Units within 250.00 of Temppoint[2] matching (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False)) to tempgroup
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in tempgroup and do (Actions)
-
Loop - Actions
-
Unit - Cause (Triggering unit) to damage (Picked unit), dealing (((Real((Intelligence of (Triggering unit) (Include bonuses)))) x Tempreal) + Tempreal2) damage of attack type Spells and damage type Normal
-
-
-
Custom script: call RemoveLocation(udg_Temppoint[0])
-
Custom script: call RemoveLocation(udg_Temppoint[1])
-
Custom script: call RemoveLocation(udg_Temppoint[2])
-
-
PS. Disabling the bj_wantdestroygroup thing does nothing