• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Spell problem

Status
Not open for further replies.
Level 8
Joined
Sep 18, 2008
Messages
298
This spell doesnt deal any damage and im not sure why! help would be appreciated and +rep will be given if my problem is fixed

  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Holy Cross
  • Actions
    • Unit Group - Pick every unit in (Units within 370.00 of (Position of (Casting unit)) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))) and do (Actions)
      • Loop - Actions
        • Unit - Cause Caster to damage (Picked unit), dealing (100.00 x (Real((Level of Holy Cross for Caster)))) damage of attack type Spells and damage type Normal
    • Unit - Create 1 HOly cross effect 1 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Position of (Casting unit))
    • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
    • Unit - Create 1 HOly cross effect 1 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Position of (Casting unit))
    • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
    • Unit - Create 1 HOly cross effect 1 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Position of (Casting unit))
    • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
    • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Position of (Casting unit))
    • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
    • Set ANgulo = 90.00
    • For each (Integer A) from 1 to 36, do (Actions)
      • Loop - Actions
        • Set ANgulo = (ANgulo + 10.00)
        • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 350.00 towards ANgulo degrees) facing ((Position of (Casting unit)) offset by 351.00 towards ANgulo degrees)
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
        • Unit - Turn collision for (Last created unit) Off
    • Set Distancia = 10.00
    • Set ANgulo = -90.00
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Distancia = (40.00 + Distancia)
        • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by Distancia towards ANgulo degrees) facing ((Position of (Casting unit)) offset by 351.00 towards ANgulo degrees)
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Unit - Turn collision for (Last created unit) Off
    • Set Distancia = 10.00
    • Set ANgulo = 180.00
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Distancia = (40.00 + Distancia)
        • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by Distancia towards ANgulo degrees) facing ((Position of (Casting unit)) offset by 351.00 towards ANgulo degrees)
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Unit - Turn collision for (Last created unit) Off
    • Set Distancia = 10.00
    • Set ANgulo = 360.00
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Distancia = (40.00 + Distancia)
        • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by Distancia towards ANgulo degrees) facing ((Position of (Casting unit)) offset by 351.00 towards ANgulo degrees)
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Unit - Turn collision for (Last created unit) Off
    • Set Distancia = 10.00
    • Set ANgulo = 90.00
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Distancia = (40.00 + Distancia)
        • Unit - Create 1 HOly cross for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by Distancia towards ANgulo degrees) facing ((Position of (Casting unit)) offset by 351.00 towards ANgulo degrees)
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Unit - Turn collision for (Last created unit) Off
 
Status
Not open for further replies.
Top