1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Flaming Phoenix Bombs v0.2

Submitted by BUP
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Spell Info:
Cast to bring 4,6,8 flaming fire ball from the sky to the ground.When the balls reach the ground they will explode and cause damage to units in 400 AOE of the balls.The units in the center will not be damaged but the units in the area of effect will be pushed outwards in order to damage them.1 random unit at the point at the explosions will be slowed.

Hint:Cast under the phoenix when it is surrounded by enemies which gives him advantage to attack and give disadvantage for melee enemies.

v-0.1
Uploaded here
v-0.2
Fixed the things that moderator mentioned(Index still not works)
Changed the variable names' prefix from FB to FPB cuz many spells can have FB prefixes

Version 0.2 Triggers
FB Config

  • FB Config
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- --------------CONFIGURATION START--------------- --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- (FB_Base_Balls) + [(FB_BallPerLevel) x (Current Level)] = Total Balls Created --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_Base_Balls = 2
      • Set FPB_BallsPerLevel = 2
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- (FB_BaseDamage) + [(FB_DamagePerLevel) x (Current Level)] = Total Damage Caused To A Unit --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_BaseDamage = 100.00
      • Set FPB_DamagePerLevel = 30.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The size of the ground effect --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_GroundDummy_Size = 400.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The size of the balls --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_Size = 150.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The range that will be effected to push --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_PushPickRange = 400.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The range that will be effected to explode --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_ExplodePickRange = 200.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The starting height of the balls --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_StartHeight = 1500.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The models effects --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_GroundEffect_Model = Abilities\Spells\Other\Doom\DoomTarget.mdl
      • Set FPB_Push_Model = Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
      • Set FPB_Ball_Model = Abilities\Weapons\LordofFlameMissile\LordofFlameMissile.mdl
      • Set FPB_Effect_Model = Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
      • Set FPB_Explode_Model = Abilities\Spells\Other\Doom\DoomDeath.mdl
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The speed that the balls will fall --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_Fall_Speed = 25.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The speed that the balls will spin --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_SpinSpeed = 10.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The distance increasing speed of the balls when they fall --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_DistanceIncrease = 4.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The pushing speed of the enemy units in the center --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_PushSpeed = 12.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- The distance of the balls that will spawn from the center of the target point --------
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • Set FPB_StartDistance = 10.00
      • -------- ------------------------------------------------------------------------------------------------------------------------ --------
      • -------- --------------CONFIGURATION END--------------- --------


FB Cast

  • FB Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Flaming Phoenix Bombs
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • FPB_Index_Listener Equal to 0
        • Then - Actions
          • Trigger - Turn on FB Loop <gen>
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • FPB_Recycle_Size Greater than 0
        • Then - Actions
          • Set FPB_Recycle_Size = (FPB_Recycle_Size - 1)
          • Set FPB_Current_Index = FPB_Recycle_Container[FPB_Recycle_Size]
        • Else - Actions
          • Set FPB_Current_Index = FPB_Index_Size
          • Set FPB_Index_Size = (FPB_Index_Size + 1)
      • Set FPB_Caster[FPB_Current_Index] = (Triggering unit)
      • Set FPB_Player = (Owner of FPB_Caster[FPB_Current_Index])
      • Set FPB_Level = (Level of Flaming Phoenix Bombs for FPB_Caster[FPB_Current_Index])
      • Set FPB_TargetPoint[FPB_Current_Index] = (Target point of ability being cast)
      • Set FPB_Balls[FPB_Current_Index] = (FPB_Base_Balls + (FPB_BallsPerLevel x FPB_Level))
      • Set FPB_Damage = (FPB_BaseDamage + (FPB_DamagePerLevel x (Real(FPB_Level))))
      • For each (Integer FPB_Integer) from 1 to FPB_Balls[FPB_Current_Index], do (Actions)
        • Loop - Actions
          • Set FPB_SpawnPoint[FPB_Integer] = (FPB_TargetPoint[FPB_Current_Index] offset by FPB_StartDistance towards ((360.00 / (Real(FPB_Balls[FPB_Current_Index]))) x (Real(FPB_Integer))) degrees)
          • Set FPB_Height[FPB_Integer] = FPB_StartHeight
          • Unit - Create 1 Dummy for (Owner of FPB_Caster[FPB_Current_Index]) at FPB_SpawnPoint[FPB_Integer] facing Default building facing degrees
          • Custom script: call RemoveLocation(udg_FPB_SpawnPoint[udg_FPB_Integer])
          • Set FPB_Dummy[FPB_Integer] = (Last created unit)
          • Custom script: if UnitAddAbility(udg_FPB_Dummy[udg_FPB_Integer],'Amrf') then
          • Custom script: call UnitRemoveAbility(udg_FPB_Dummy[udg_FPB_Integer],'Amrf')
          • Custom script: endif
          • Special Effect - Create a special effect attached to the chest of FPB_Dummy[FPB_Integer] using FPB_Ball_Model
          • Special Effect - Create a special effect attached to the chest of FPB_Dummy[FPB_Integer] using FPB_Effect_Model
          • Animation - Change FPB_Dummy[FPB_Integer] flying height to FPB_Height[FPB_Integer] at 0.00
          • Animation - Change FPB_Dummy[FPB_Integer]'s size to (FPB_Size%, 0.00%, 0.00%) of its original size
      • Unit - Create 1 Dummy for (Owner of FPB_Caster[FPB_Current_Index]) at FPB_TargetPoint[FPB_Current_Index] facing Default building facing degrees
      • Set FPB_GroundEffect_Dummy[FPB_Current_Index] = (Last created unit)
      • Special Effect - Create a special effect attached to the origin of FPB_GroundEffect_Dummy[FPB_Current_Index] using FPB_GroundEffect_Model
      • Animation - Change FPB_GroundEffect_Dummy[FPB_Current_Index]'s size to (FPB_GroundDummy_Size%, 0.00%, 0.00%) of its original size
      • Set FPB_Index_Container[FPB_Index_Listener] = FPB_Current_Index
      • Set FPB_Index_Listener = (FPB_Index_Listener + 1)


FB Loop

  • FB Loop
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • For each (Integer FPB_Loop) from 0 to (FPB_Index_Listener - 1), do (Actions)
        • Loop - Actions
          • Set FPB_Current_Index = FPB_Index_Container[FPB_Loop]
          • For each (Integer FPB_Integer) from 1 to FPB_Balls[FPB_Current_Index], do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • FPB_Height[FPB_Integer] Greater than 0.00
                • Then - Actions
                  • Set FPB_Height[FPB_Integer] = (FPB_Height[FPB_Integer] - FPB_Fall_Speed)
                  • Set FPB_DummyPoint[FPB_Integer] = (Position of FPB_Dummy[FPB_Integer])
                  • Set FPB_Angle[FPB_Integer] = (Angle from FPB_TargetPoint[FPB_Current_Index] to FPB_DummyPoint[FPB_Integer])
                  • Set FPB_Distance[FPB_Integer] = (Distance between FPB_DummyPoint[FPB_Integer] and FPB_TargetPoint[FPB_Current_Index])
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • FPB_Angle[FPB_Integer] Greater than or equal to 360.00
                    • Then - Actions
                      • Set FPB_Angle[FPB_Integer] = 0.00
                    • Else - Actions
                  • Set FPB_Move[FPB_Integer] = (FPB_TargetPoint[FPB_Current_Index] offset by (FPB_Distance[FPB_Integer] + FPB_DistanceIncrease) towards (FPB_Angle[FPB_Integer] - FPB_SpinSpeed) degrees)
                  • Animation - Change FPB_Dummy[FPB_Integer] flying height to FPB_Height[FPB_Integer] at 0.00
                  • Unit - Move FPB_Dummy[FPB_Integer] instantly to FPB_Move[FPB_Integer], facing (FPB_Angle[FPB_Integer] - 90.00) degrees
                  • Custom script: call RemoveLocation(udg_FPB_Move[udg_FPB_Integer])
                  • Custom script: call RemoveLocation(udg_FPB_DummyPoint[udg_FPB_Integer])
                • Else - Actions
                  • For each (Integer FPB_Integer) from 1 to FPB_Balls[FPB_Current_Index], do (Actions)
                    • Loop - Actions
                      • Set FPB_DummyPoint[FPB_Integer] = (Position of FPB_Dummy[FPB_Integer])
                      • Unit - Kill FPB_Dummy[FPB_Integer]
                      • Unit - Kill FPB_GroundEffect_Dummy[FPB_Current_Index]
                      • Special Effect - Create a special effect at FPB_DummyPoint[FPB_Integer] using FPB_Explode_Model
                      • Unit - Create 1 Dummy for (Owner of FPB_Caster[FPB_Current_Index]) at FPB_DummyPoint[FPB_Integer] facing Default building facing degrees
                      • Set FPB_Slow_Dummy = (Last created unit)
                      • Unit - Add Flaming Bombs (Dummy) to FPB_Slow_Dummy
                      • Unit - Set level of Flaming Bombs (Dummy) for FPB_Slow_Dummy to FPB_Level
                      • Unit - Add a 1.00 second Generic expiration timer to FPB_Slow_Dummy
                      • Set FPB_ExplodeGroup = (Units within FPB_ExplodePickRange of FPB_DummyPoint[FPB_Integer] matching (((((Matching unit) is A structure) Not equal to True) and (((Matching unit) is Magic Immune) Not equal to True)) and ((((Matching unit) belongs to an enemy of FPB_Player) Equal to Tru
                      • Unit Group - Pick every unit in FPB_ExplodeGroup and do (Actions)
                        • Loop - Actions
                          • Set FPB_Picked_Unit[FPB_Integer] = (Picked unit)
                          • Unit - Cause FPB_Caster[FPB_Current_Index] to damage FPB_Picked_Unit[FPB_Integer], dealing FPB_Damage damage of attack type Spells and damage type Normal
                          • Unit - Order FPB_Slow_Dummy to Human Sorceress - Slow FPB_Picked_Unit[FPB_Integer]
                      • Custom script: call DestroyGroup(udg_FPB_ExplodeGroup)
                      • Custom script: call RemoveLocation(udg_FPB_DummyPoint[udg_FPB_Integer])
                      • Custom script: call RemoveLocation(udg_FPB_TargetPoint[udg_FPB_Current_Index])
                  • Set FPB_Index_Listener = (FPB_Index_Listener - 1)
                  • Set FPB_Index_Container[FPB_Loop] = FPB_Index_Container[FPB_Index_Listener]
                  • Set FPB_Recycle_Container[FPB_Recycle_Size] = FPB_Current_Index
                  • Set FPB_Recycle_Size = (FPB_Recycle_Size + 1)
                  • Set FPB_Loop = (FPB_Loop - 1)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • FPB_Index_Listener Equal to 0
                    • Then - Actions
                      • Trigger - Turn off FB Loop <gen>
                    • Else - Actions
      • Set FPB_PushGroup[FPB_Current_Index] = (Units within FPB_PushPickRange of FPB_TargetPoint[FPB_Current_Index] matching (((((Matching unit) is A structure) Not equal to True) and (((Matching unit) is Magic Immune) Not equal to True)) and ((((Matching unit) belongs to an enemy of FPB_Player) Equal to
      • Unit Group - Pick every unit in FPB_PushGroup[FPB_Current_Index] and do (Actions)
        • Loop - Actions
          • Set FPB_PU_Picked_Unit[FPB_Current_Index] = (Picked unit)
          • Set FPB_PU_Picked_Position = (Position of FPB_PU_Picked_Unit[FPB_Current_Index])
          • Set FPB_PU_Angle = (Angle from FPB_TargetPoint[FPB_Current_Index] to FPB_PU_Picked_Position)
          • Set FPB_Push = (FPB_PU_Picked_Position offset by FPB_PushSpeed towards FPB_PU_Angle degrees)
          • Unit - Move FPB_PU_Picked_Unit[FPB_Current_Index] instantly to FPB_Push, facing Default building facing degrees
          • Custom script: call RemoveLocation(udg_FPB_Push)
          • Custom script: call RemoveLocation(udg_FPB_PU_Picked_Position)
      • Custom script: call DestroyGroup(udg_FPB_PushGroup[udg_FPB_Current_Index])


Dummy Remover

  • FB Dummy Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Dummy
    • Actions
      • Unit - Remove (Triggering unit) from the game



Keywords:
Phoenix,Fire,Burn,Explosion,MultiModel,Flying,Dropping,Spinning
Contents

Flaming Bombs v0.1 (Map)

Reviews
Moderator
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. 20:58, 2nd Nov 2012 Magtheridon96: First of all, I would like to commend you on the fact that you've improved. I'm going to attempt to improve myself by trying out a new format for my...
  1. 12th Dec 2015
    IcemanBo: Too long as NeedsFix. Rejected.

    20:58, 2nd Nov 2012
    Magtheridon96: First of all, I would like to commend you on the fact that you've improved. I'm going to attempt to improve myself by trying out a new format for my Moderator reviews. (Update: I have removed the solved points and updated this review accordingly)

    Indexing

    Since your indexing method isn't functional, you should check out Tank-Commander's indexing method, which happens to be /much/ simpler.​

    Leaks

    You're leaking the following things:
    • All the special effects that are being created in your spell are not being removed. They should be stored into arrays so you can destroy them upon deallocating a spell instance (when the spell ends)
    • In your looping trigger, there is a loop in which you do this:
      Custom script: call RemoveLocation(udg_FPB_TargetPoint[udg_FPB_Current_Index])
      This line should be outside the loop because it runs more than once when you're destroying the spell instance. This means that you're removing the location more than once.

    Efficiency

    • It would be more efficient to store the owner of the caster into a spell array variable so you don't have to constantly repeat the calls over and over again. Create a player array for storing the owner of the caster.
    • FPB_DummyPoint doesn't need to be an array.
     
  2. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    Dummy Remover
    FB Dummy Dies

    • FB Dummy Dies
      • Events
        • Unit - A unit Dies
      • Conditions
        • (Unit-type of (Dying unit)) Equal to Dummy
      • Actions
        • Unit - Remove (Triggering unit) from the game



    New Screenshot

    [​IMG]


    ~~Waiting for reputation comments!!!~~~
     
  3. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,221
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    I like the idea.
    Too bad the indexing doesn't work.
    Don't you read tutorials?
     
  4. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    Nevermind... But your spell leaks
     
    Last edited: Nov 2, 2012
  5. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    What is up with your spell doomhammer99?
     
  6. gorillabull

    gorillabull

    Joined:
    Jul 17, 2011
    Messages:
    1,368
    Resources:
    2
    Spells:
    2
    Resources:
    2
    pretty good man i never seen this effect before also coding is excellent
     
  7. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    Is the spell non-MUI ?
    And why you said the indexing does not work ?
    You should use Tank-Commander's indexing method, CurrentIndex and MaxIndex, it should be easy.
     
  8. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    LOL try to cast the spell a dozen times
     
  9. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,843
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Leaks
     
  10. ~DARK~

    ~DARK~

    Joined:
    Sep 2, 2012
    Messages:
    308
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Ahaha ! I FOund A Bug ! This Level Has No Coldown ! ok When Click The Abilty Then Again Use it :) The Fiery Balls Are in Sky Not Moving :)
     
  11. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    I have leaks...I know but I'm waiting for the moderator.
    and doomhammer99 you are screwing me up :ogre_rage::ogre_frown:

    Yeah! Why should it has cooldown? It's for testing.Users who like it can use it in their map and add cooldown.
     
  12. ~DARK~

    ~DARK~

    Joined:
    Sep 2, 2012
    Messages:
    308
    Resources:
    1
    Maps:
    1
    Resources:
    1
    i Know No Problem With Coldown ! But I Make a Bug With Use Your Flaming Bombs Twice
     
  13. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    Thats because the indexing dosn't work.I told you guys earlier
     
  14. Ketsuno Anson

    Ketsuno Anson

    Joined:
    May 14, 2011
    Messages:
    392
    Resources:
    0
    Resources:
    0
    Y u no destory special effect
     
  15. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    If it doesn't work, why bother uploaded it to THW before you repair it ?
     
  16. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,843
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    DONT upload bugged spells.It is against the rules
    Make sure to debug it.
     
  17. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    I couldn't find any way to fix it so I had to put in the hands of moderator.
     
  18. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    You have to learn..
    What did I do to you..
    I'm not screwing you up..
    I'm just complaining about the spell..
    Just Keep Up
     
  19. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    I updated it.
    The moderator is not looking up