• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[GUI]Phoenix Assault v7.1

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
My first spell! (y) hope you guys like this...

  • Description
    Calls the phoenix to strike the targeted unit, for each phoenix causes 50 damage to all enemy ground units along the phoenix path.

    Level 1 - 4 phoenixs.
    Level 2 - 6 phoenixs.
    Level 3 - 8 phoenixs.
    Level 4 - 10 phoenixs.
  • Image
    WC3ScrnShot_010314_212028_02.jpg
  • Trigger
    • Phoenix Warrior Setting
      • Events
        • Map initialization
      • Conditions
      • Actions
        • -------- --------------------------- --------
        • -------- IMPORTANT VARIABLES --------
        • -------- --------------------------- --------
        • -------- Determines the ability --------
        • Set PW_Ability = Phoenix Assault
        • -------- Determines the ability to spawn phoenix --------
        • Set PW_SpawnPhoenixAbil = Spawn Phoenix
        • -------- --------------------------- --------
        • -------- Determines the number of phoenix each level --------
        • Set PW_PhoenixNumber[1] = 4
        • Set PW_PhoenixNumber[2] = 6
        • Set PW_PhoenixNumber[3] = 8
        • Set PW_PhoenixNumber[4] = 10
        • -------- --------------------------- --------
        • -------- Determines the spawn offset from target position --------
        • Set PW_PhoenixSpawnOffset[1] = 800.00
        • Set PW_PhoenixSpawnOffset[2] = 800.00
        • Set PW_PhoenixSpawnOffset[3] = 800.00
        • Set PW_PhoenixSpawnOffset[4] = 800.00
        • -------- --------------------------- --------
        • Custom script: set udg_PW_Dummy=CreateUnit(Player(15),'u000',0,0,0)
        • Unit - Add PW_SpawnPhoenixAbil to PW_Dummy
    • Phoenix Warrior
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to PW_Ability
      • Actions
        • Set PW_Caster = (Triggering unit)
        • Set PW_Target = (Target unit of ability being cast)
        • Set PW_Owner = (Triggering player)
        • Set PW_Level = (Level of PW_Ability for PW_Caster)
        • Set PW_TempLoc = (Position of PW_Caster)
        • Set PW_TempLoc2 = (Position of PW_Target)
        • Set PW_Angle = (Random angle)
        • Unit - Change ownership of PW_Dummy to PW_Owner and Retain color
        • Unit - Set level of PW_SpawnPhoenixAbil for PW_Dummy to PW_Level
        • For each (Integer PW_Loop) from 1 to PW_PhoenixNumber[PW_Level], do (Actions)
          • Loop - Actions
            • Set PW_Angle = (PW_Angle + (360.00 / (Real(PW_PhoenixNumber[PW_Level]))))
            • Set PW_TempLoc3 = (PW_TempLoc2 offset by PW_PhoenixSpawnOffset[PW_Level] towards PW_Angle degrees)
            • Unit - Make PW_Dummy face (PW_Angle + 180.00) over 0.00 seconds
            • Custom script: call SetUnitX(udg_PW_Dummy,GetLocationX(udg_PW_TempLoc3))
            • Custom script: call SetUnitY(udg_PW_Dummy,GetLocationY(udg_PW_TempLoc3))
            • Unit - Order PW_Dummy to Orc Tauren Chieftain - Shockwave PW_TempLoc2
            • Custom script: call RemoveLocation(udg_PW_TempLoc3)
        • Custom script: call RemoveLocation(udg_PW_TempLoc)
        • Custom script: call RemoveLocation(udg_PW_TempLoc2)
  • Changelog
    v7.0
    - Initial version​
    v7.1
    - More configurable variables
    - More efficient​
  • Credits
    - deathismyfriend for advice
    - Maker for advice
Please rate and comment!

Keywords:
Phoenix, Assault, Fire, Flame, Strike, Impact.
Contents

testmap (Map)

Reviews
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. 23:43, 18th Jan 2014 BPower: Although there is nothing wrong in the code per se, it too simple in my mind. Spells should also have an innovative concept. The ordered shockwaves create...

Moderator

M

Moderator

12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.

23:43, 18th Jan 2014
BPower:
Although there is nothing wrong in the code per se, it too simple in my mind. Spells should also have an innovative concept.
The ordered shockwaves create small permanent terrain deformation leaks in data, the problem has never been fixed by Blizzard.

Meanwhile you have far better resource in the spell section.

If you have any questions feel free to pm me.
 
Level 13
Joined
Mar 29, 2012
Messages
530

REVIEW|Phoenix Assault|v7.0

Resource Status: Approved
Rating: 3/5

GENERAL
  • None
PROS
  • MUI
  • Leakless
  • Simple
CONS
  • Similar (almost) with some approved spells
  • Too simple
SUGGESTIONS
  • Add something that can cover the similarity and simplicity
[/TD][/tr]
If you have any question about this review, PM or VM me Review template by Doomlord
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Use only one dummy unit, like this

  • Phoenix Warrior
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Phoenix Assault
    • Actions
      • Set PW_Caster = (Triggering unit)
      • Set PW_Target = (Target unit of ability being cast)
      • Set PW_Owner = (Triggering player)
      • Set PW_Level = (Level of (Ability being cast) for PW_Caster)
      • Set PW_TempLoc = (Position of PW_Caster)
      • Set PW_TempLoc2 = (Position of PW_Target)
      • Set PW_Angle = (Random angle)
      • Unit - Create 1 Phoenix Spawner for PW_Owner at PW_TempLoc facing (PW_Angle + 180.00) degrees
      • Unit - add dummy ability to the unit
      • Unit - Set level of Spawn Phoenix for (Last created unit) to PW_Level
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • For each (Integer PW_Loop) from 1 to PW_PhoenixNumber[PW_Level], do (Actions)
        • Loop - Actions
          • Set PW_Angle = (PW_Angle + (360.00 / (Real(PW_PhoenixNumber[PW_Level]))))
          • Set PW_TempLoc3 = (PW_TempLoc2 offset by PW_PhoenixSpawnOffset[PW_Level] towards PW_Angle degrees)
          • Custom script: call SetUnitX(bj_lastCreatedUnit, GetLocationX(udg_PW_TempLoc3))
          • Custom script: call SetUnitY(bj_lastCreatedUnit, GetLocationY(udg_PW_TempLoc3))
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave PW_TempLoc2
          • Custom script: call RemoveLocation(udg_PW_TempLoc3)
      • Custom script: call RemoveLocation(udg_PW_TempLoc)
      • Custom script: call RemoveLocation(udg_PW_TempLoc2)
Set the dummy's Art - Anmation - Cast point and cast backswings to 0. Also set movement speed to 0. Add the ability with a trigger, not in object editor. You could use a variable for the ability.
 
Top