Spellpack Aggrone Stonebreaker: The Ogre Magi

RueK

New Member
Reaction score
11
Fireblast

Blasts an enemy unit with a wave of fire. Deals intense damage and stuns for 1.5 seconds.

Level 1
Blasts an enemy unit with a wave of fire. Deals 25 damage and stuns for 1.5 seconds. It has a 25% chance to ignite the target in flames along with all units around for the next 5 seconds, dealing 10 damage per second and slowing their movement speed by 10%.

Level 2
Blasts an enemy unit with a wave of fire. Deals 90 damage and stuns for 1.5 seconds. It has a 25% chance to ignite the target in flames along with all units around for the next 5 seconds, dealing 20 damage per second and slowing their movement speed by 20%.

Level 3

Blasts an enemy unit with a wave of fire. Deals 135 damage and stuns for 1.5 seconds. It has a 25% chance to ignite the target in flames along with all units around for the next 5 seconds, dealing 30 damage per second and slowing their movement speed by 30%.

Level 4
Blasts an enemy unit with a wave of fire. Deals 180 damage and stuns for 1.5 seconds. It has a 25% chance to ignite the target in flames along with all units around for the next 5 seconds, dealing 40 damage per second and slowing their movement speed by 40%.

Code:
Fireblast burst HERO
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Fireblast HERO
        (Random integer number between 1 and 100) Less than or equal to 25
    Actions
        Set FireblastBurstCaster = (Casting unit)
        Set FireblastBurstTarget = (Target unit of ability being cast)
        Set FireblastBurstCasterPosition = (Position of FireblastBurstCaster)
        Unit - Create 1 Dummy Caster for (Owner of FireblastBurstCaster) at FireblastBurstCasterPosition facing Default building facing degrees
        Set LastCreatedUnitVariable3 = (Last created unit)
        Unit - Add a 15.00 second Generic expiration timer to LastCreatedUnitVariable3
        Unit - Add Fireblast Burst  to LastCreatedUnitVariable3
        Unit - Set level of Fireblast Burst  for LastCreatedUnitVariable3 to (Level of Fireblast HERO for FireblastBurstCaster)
        Unit - Order LastCreatedUnitVariable3 to Neutral Alchemist - Acid Bomb FireblastBurstTarget
        Custom script:   call RemoveLocation(udg_FireblastBurstCasterPosition)


Extra fireblast casted when you got multicast, so everytime the dummy unit casts a fireblast it will have their own chance to ignite.

Code:
Fireblast burst DUMMY UNITS
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Fireblast UNIT
        (Random integer number between 1 and 100) Less than or equal to 25
    Actions
        Set FireblastBurstCasterUNIT = (Casting unit)
        Set FireblastBurstTargetUNIT = (Target unit of ability being cast)
        Set FireblastBurstCasterPosUNIT = (Position of FireblastBurstCasterUNIT)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Multicast  for FireblastCaster) Greater than or equal to 1
            Then - Actions
                Unit - Create 1 Dummy Caster for (Owner of FireblastBurstCasterUNIT) at FireblastBurstCasterPosUNIT facing Default building facing degrees
                Set LastCreatedUnitVariable2 = (Last created unit)
                Unit - Add a 15.00 second Generic expiration timer to LastCreatedUnitVariable2
                Unit - Add Fireblast Burst  to LastCreatedUnitVariable2
                Unit - Set level of Fireblast Burst  for LastCreatedUnitVariable2 to (Level of Fireblast HERO for FireblastCaster)
                Unit - Order LastCreatedUnitVariable2 to Neutral Alchemist - Acid Bomb FireblastTarget
            Else - Actions
        Custom script:   call RemoveLocation(udg_FireblastBurstCasterPosUNIT)




Multicast

Enables Aggron to rapidly cast Fireblast, giving it greater potency. It also increases attack speed passively.

Level 1
When fireblast is casted, casts 2 more times. Passively increases attack speed by 9%

Level 2
When fireblast is casted, casts 4 more times. Passively increases attack speed by 18%

Level 3
When fireblast is casted, casts 6 more times. Passively increases attack speed by 27%


Code:
Multicast
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Fireblast HERO
    Actions
        Set FireblastCaster = (Casting unit)
        Set FireblastTarget = (Target unit of ability being cast)
        Set Fireblast = (2 x (Level of Multicast  for FireblastCaster))
        For each (Integer A) from 1 to Fireblast, do (Actions)
            Loop - Actions
                Set FireblastCasterPoint = (Position of FireblastCaster)
                Unit - Create 1 Dummy Caster for (Owner of FireblastCaster) at FireblastCasterPoint facing Default building facing degrees
                Set LastCreatedUnitVariable = (Last created unit)
                Unit - Add a 15.00 second Generic expiration timer to LastCreatedUnitVariable
                Unit - Add Fireblast UNIT to LastCreatedUnitVariable
                Unit - Set level of Fireblast UNIT for LastCreatedUnitVariable to (Level of Fireblast HERO for FireblastCaster)
                Wait 0.10 seconds
                Unit - Order LastCreatedUnitVariable to Neutral - Firebolt FireblastTarget
                Custom script:   call RemoveLocation(udg_FireblastCasterPoint)


The sad thing is that now it will be only 2 spells, give me ideas for the rest please and check if those triggers got leaks.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Please change the events to "A unit starts the effect of an ability".

So umm... not a very original concept since the name and most skills are an exact match of DotA's Ogre Magi.
 

RueK

New Member
Reaction score
11
Please change the events to "A unit starts the effect of an ability".

So umm... not a very original concept since the name and most skills are an exact match of DotA's Ogre Magi.



when i use that event it wont work.
 

Trollvottel

never aging title
Reaction score
262
the funny thing is, some spells wont even stack with these spells here. you wait 0.1 seconds and then use last created unit. if you are unlucky, some different trigger will create a new unit in the timespan of this 0.1 seconds (which are actually more, waits arent accurate) and the "last created unit" will overwrite -> the trigger messes up.

I dont see any leaks on the first look at the triggers, spells are nothing new but not bad, since they are a copy of a nice dota-hero
 

RueK

New Member
Reaction score
11
the funny thing is, some spells wont even stack with these spells here. you wait 0.1 seconds and then use last created unit. if you are unlucky, some different trigger will create a new unit in the timespan of this 0.1 seconds (which are actually more, waits arent accurate) and the "last created unit" will overwrite -> the trigger messes up.

I dont see any leaks on the first look at the triggers, spells are nothing new but not bad, since they are a copy of a nice dota-hero


How i can fix it 0.0? damn, the horror is never gone T_T!
 

Trollvottel

never aging title
Reaction score
262
well the easiest thing you could do is setting the last created unit into a variable and then wait. so the variable would only get overwritten if units cast THIS spell or if you use the same variable for different things
 

XeNiM666

I lurk for pizza
Reaction score
138
i have a question about your multicast

why 15 second expiration timer?

and you should put the wait AFTER you cleaned the leak
 

RueK

New Member
Reaction score
11
I re-done the hero, no more ignite pasive abilitie and with a better code.

Fireblast now is triggered to give you a chance to ignite units in 280 AoE.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top