Results 1 to 5 of 5
http://idgs.in/222501
  1. #1

    Join Date
    May 2009
    Location
    Indonesia
    Posts
    193
    Points
    317.90
    Thanks: 23 / 4 / 4

    Default [Spell] Life Steal - From TheConjurer

    Increase Blood Conjurer attack speed greatly, dealing damage randomly equal to hero level and regenerate hitpoints equal to enemy current hitpoints each attack.

    Each level increase duration of attacks by 10 times, started from 10 times. Maximum level is attack 60 times.

    Level 1 - 100 - 400 random damage, Regenerates 0.15% hitpoints.
    Level 2 - 200 - 500 random damage, Regenerates 0.20% hitpoints.
    Level 3 - 300 - 600 random damage, Regenerates 0.25% hitpoints.
    Level 4 - 400 - 700 random damage, Regenerates 0.30% hitpoints.
    Level 5 - 500 - 800 random damage, Regenerates 0.35% hitpoints.
    Code:
    Life Steal
        Events
            Unit - A unit Starts the effect of an ability
        Conditions
            (Ability being cast) Equal to Life Steal 
        Actions
            Set LS_Caster = (Casting unit)
            Set LS_Target = (Target unit of ability being cast)
            Set LS_Damage = (Random real number between (100.00 x (Real((Level of Life Steal  for LS_Caster)))) and (400.00 x (Real((Level of Life Steal  for LS_Caster)))))
            Set LS_AttackTimes = (10 + (10 x (Level of Life Steal  for LS_Caster)))
            Set LS_Attack = (10 + (10 x (Level of Life Steal  for LS_Caster)))
            Special Effect - Create a special effect attached to the left hand of LS_Caster using Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
            Set SpecialEffect[1] = (Last created special effect)
            Special Effect - Create a special effect attached to the right hand of LS_Caster using Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
            Set SpecialEffect[2] = (Last created special effect)
            Unit - Make LS_Caster Invulnerable
            Unit - Pause LS_Caster
            Unit - Pause LS_Target
            For each (Integer A) from 1 to LS_AttackTimes, do (Actions)
                Loop - Actions
                    Wait 0.15 seconds
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (LS_Target is alive) Equal to True
                        Then - Actions
                            Set LS_Attack = (LS_Attack - 1)
                            Animation - Play LS_Caster's attack animation
                            Special Effect - Create a special effect attached to the origin of LS_Target using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
                            Unit - Cause LS_Caster to damage LS_Target, dealing LS_Damage damage of attack type Chaos and damage type Normal
                            Unit - Set life of LS_Caster to ((Percentage life of LS_Caster) + ((Percentage life of LS_Target) x (0.05 + (0.05 x (Real((Level of Unknown (A02Q) for LS_Caster)))))))%
                            Animation - Play LS_Target's death animation
                            -------- Dummy Effect --------
                            Unit - Create 1 Dummy for (Owner of LS_Caster) at (Position of LS_Caster) facing (Facing of LS_Caster) degrees
                            Unit - Add a 0.95 second Generic expiration timer to (Last created unit)
                            Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 65.00% transparency
                            Animation - Play (Last created unit)'s attack animation
                        Else - Actions
                            Set LS_Attack = 0
                            Unit - Make LS_Caster Vulnerable
                            Unit - Unpause LS_Caster
                            Unit - Unpause LS_Target
                            Special Effect - Destroy SpecialEffect[1]
                            Special Effect - Destroy SpecialEffect[2]
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    LS_Attack Equal to 0
                Then - Actions
                    Unit - Make LS_Caster Vulnerable
                    Unit - Unpause LS_Caster
                    Unit - Unpause LS_Target
                    Special Effect - Destroy SpecialEffect[1]
                    Special Effect - Destroy SpecialEffect[2]
                Else - Actions
    ---------------------------------------------------------------------
    This spell is orriginal created from The_Dead_Fight.

    Spell ini adalah skill ultimate dari blood conjurer yang akan dipakai
    dalam map conjurer nanti Boleh dicoba ^O^

    ---------------------------------------------------------------------
    Last edited by GulaHula; 30-07-09 at 15:06. Reason: UPDATED

  2. Hot Ad
  3. #2
    SrZ]Xevirath's Avatar
    Join Date
    Feb 2007
    Location
    Dragon Palace
    Posts
    3,427
    Points
    5,090.80
    Thanks: 0 / 20 / 16

    Default

    Keren sih idenya xD

    btwm tapi itu Wait 0.02 s itu nga isa lho >_<
    Wc3 punya minimal wait duration, sekitar 0.2712brp gt

  4. #3

    Join Date
    May 2009
    Location
    Indonesia
    Posts
    193
    Points
    317.90
    Thanks: 23 / 4 / 4

    Default

    Quote Originally Posted by --Thanatos-- View Post
    Keren sih idenya xD

    btwm tapi itu Wait 0.02 s itu nga isa lho >_<
    Wc3 punya minimal wait duration, sekitar 0.2712brp gt
    haha aq baru tau itu tq infonya nanti aq betulin >.<

    oh ya, itu sebenernya pgn bkin damage sesuai agi tapi lupa caranya >.< pengen DL sama bvuka dota template males >.< abntuin donk

  5. #4
    Section's Avatar
    Join Date
    Nov 2006
    Location
    about.me/SECTION
    Posts
    2,095
    Points
    11,041.04
    Thanks: 45 / 112 / 98

    Default

    Di bagian integer -Hero ad buat ngambil nilai AGI.
    Bagus idenya dan triggernya rapi serta sudah variablesentris. Keep working and find something new!!

  6. #5

    Join Date
    May 2009
    Location
    Indonesia
    Posts
    193
    Points
    317.90
    Thanks: 23 / 4 / 4

    Default

    CHANGELOG

    -Fix Laging
    -Hero updated to blade master
    -Added dummy unit that attacking together with blade master
    -Remove ability cooldown
    -More hitpoints for heroes (Long Testing)

    Trigger updated to :

    Code:
    Life Steal
        Events
            Unit - A unit Starts the effect of an ability
        Conditions
            (Ability being cast) Equal to Life Steal 
        Actions
            Set LS_Caster = (Casting unit)
            Set LS_Target = (Target unit of ability being cast)
            Set LS_Damage = (Random real number between (100.00 x (Real((Level of Life Steal  for LS_Caster)))) and (400.00 x (Real((Level of Life Steal  for LS_Caster)))))
            Set LS_AttackTimes = (10 + (10 x (Level of Life Steal  for LS_Caster)))
            Set LS_Attack = (10 + (10 x (Level of Life Steal  for LS_Caster)))
            Special Effect - Create a special effect attached to the left hand of LS_Caster using Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
            Set SpecialEffect[1] = (Last created special effect)
            Special Effect - Create a special effect attached to the right hand of LS_Caster using Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
            Set SpecialEffect[2] = (Last created special effect)
            Unit - Make LS_Caster Invulnerable
            Unit - Pause LS_Caster
            Unit - Pause LS_Target
            For each (Integer A) from 1 to LS_AttackTimes, do (Actions)
                Loop - Actions
                    Wait 0.15 seconds
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (LS_Target is alive) Equal to True
                        Then - Actions
                            Set LS_Attack = (LS_Attack - 1)
                            Animation - Play LS_Caster's attack animation
                            Special Effect - Create a special effect attached to the origin of LS_Target using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
                            Unit - Cause LS_Caster to damage LS_Target, dealing LS_Damage damage of attack type Chaos and damage type Normal
                            Unit - Set life of LS_Caster to ((Percentage life of LS_Caster) + ((Percentage life of LS_Target) x (0.05 + (0.05 x (Real((Level of Unknown (A02Q) for LS_Caster)))))))%
                            Animation - Play LS_Target's death animation
                            -------- Dummy Effect --------
                            Unit - Create 1 Dummy for (Owner of LS_Caster) at (Position of LS_Caster) facing (Facing of LS_Caster) degrees
                            Unit - Add a 0.95 second Generic expiration timer to (Last created unit)
                            Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 65.00% transparency
                            Animation - Play (Last created unit)'s attack animation
                        Else - Actions
                            Set LS_Attack = 0
                            Unit - Make LS_Caster Vulnerable
                            Unit - Unpause LS_Caster
                            Unit - Unpause LS_Target
                            Special Effect - Destroy SpecialEffect[1]
                            Special Effect - Destroy SpecialEffect[2]
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    LS_Attack Equal to 0
                Then - Actions
                    Unit - Make LS_Caster Vulnerable
                    Unit - Unpause LS_Caster
                    Unit - Unpause LS_Target
                    Special Effect - Destroy SpecialEffect[1]
                    Special Effect - Destroy SpecialEffect[2]
                Else - Actions
    DOWNLOAD DEMO : http://www.filefactory.com/file/ahg4dg4/n/LifeSteal_w3x

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •