Spellpack Aggrone Stonebreaker: The Ogre Magi

Discussion in 'Graveyard' started by RueK, Aug 22, 2008.

  1. RueK

    RueK New Member

    Ratings:
    +11 / 0 / -0
    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.
     
  2. Larcenist

    Larcenist REP: Respect, Envy, Prosperity?

    Ratings:
    +211 / 0 / -0
    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.
     
  3. RueK

    RueK New Member

    Ratings:
    +11 / 0 / -0


    when i use that event it wont work.
     
  4. darkRae

    darkRae Ueki Fan (Ueki is watching you)

    Ratings:
    +173 / 0 / -0
    Impossible.
    Explain why "it didn't work"
     
  5. RueK

    RueK New Member

    Ratings:
    +11 / 0 / -0

    nvm it worked, it didnt work before, weird.

    but the animation has become a bit more slow.
     
  6. Trollvottel

    Trollvottel never aging title

    Ratings:
    +261 / 0 / -0
    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
     
  7. RueK

    RueK New Member

    Ratings:
    +11 / 0 / -0

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

    Trollvottel never aging title

    Ratings:
    +261 / 0 / -0
    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
     
  9. XeNiM666

    XeNiM666 I lurk for pizza

    Ratings:
    +138 / 1 / -0
    i have a question about your multicast

    why 15 second expiration timer?

    and you should put the wait AFTER you cleaned the leak
     
  10. RueK

    RueK New Member

    Ratings:
    +11 / 0 / -0
    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.
     

Share This Page