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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Dismiss Notice
  6. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  7. 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.

Essence Shift v1.2

Submitted by Daxs123
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Is the spell of murlock(dota)
Every time murlock hits an enemy hero you will steal 1 point from all attributes while murlock gets 3 points of Agility.
Level 1._Last 15 seconds
Level 2._Last 30 seconds
Level 3._Last 60 seconds
Level 4._Last 120 seconds

Keywords:
dota, essence shift, murlock, nightwalker, drain damage, drain attributes
Contents

Essence Shift (Map)

Reviews
Moderator
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. 14:18, 15th Sep 2012 Magtheridon96: - The indexing needs to be changed. Try out Bribe's GUI UnitIndexer Alternately, you can check out Hanky's Dynamic Indexing Template - A Damage...
  1. 12th Dec 2015
    IcemanBo: Too long as NeedsFix. Rejected.

    14:18, 15th Sep 2012
    Magtheridon96:

    - The indexing needs to be changed.
    Try out Bribe's GUI UnitIndexer
    Alternately, you can check out Hanky's Dynamic Indexing Template

    - A Damage detection system should be used as I mentioned in the PM. Check out Bribe's GUI DamageEngine.

    - You should have a configuration trigger that runs on map initialization which can be used by the user to configure things like the amount of stats taken and the duration.
    (You would use arrays:
    Set interval[1] = 15
    Set interval[2] = 30
    Set interval[3] = 60
    Set interval[4] = 120

    // when you want to set the interval, use interval[(Level of ... for ...)])

    This is better than having the values reset every single time your trigger runs because the actions become useless after that.
    If it's set once as a constant, it doesn't need to be set again, because nothing's modifying it, so you might as well just do it once on map initialization.
     
  2. MortAr

    MortAr

    Joined:
    Feb 25, 2009
    Messages:
    1,768
    Resources:
    7
    Icons:
    6
    Packs:
    1
    Resources:
    7
    Reuploaded! NICE!
     
  3. gorillabull

    gorillabull

    Joined:
    Jul 17, 2011
    Messages:
    1,365
    Resources:
    2
    Spells:
    2
    Resources:
    2
    code

    [trigger=Rovar]Rovar
    Events
    Unit - A unit Is attacked
    Conditions
    (((Level of Essence Shift for (Attacking unit)) Greater than 0) and (((Attacked unit) is A Hero) Equal to True)) and (((Strength of (Attacked unit) (Exclude bonuses)) Greater than 1) and (((Agility of (Attacked unit) (Exclude bonuses)) Greater than 1) and ((Intelligence of (Attacked unit) (Exclude bonuses)) Greater than 1)))
    Actions
    Set Rovar_Count = (Rovar_Count + 1)
    Set Rovar_Caster[Rovar_Count] = (Attacking unit)
    Set Rovar_Target[Rovar_Count] = (Attacked unit)
    Set Rovar_Time[Rovar_Count] = 0
    Hero - Modify Agility of Rovar_Caster[Rovar_Count]: Add 3
    Hero - Modify Agility of Rovar_Target[Rovar_Count]: Subtract 1
    Hero - Modify Strength of Rovar_Target[Rovar_Count]: Subtract 1
    Hero - Modify Intelligence of Rovar_Target[Rovar_Count]: Subtract 1
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Essence Shift for Rovar_Caster[Rovar_Count]) Equal to 1
    Then - Actions
    Set Rovar_Period[Rovar_Count] = 15
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Essence Shift for Rovar_Caster[Rovar_Count]) Equal to 2
    Then - Actions
    Set Rovar_Period[Rovar_Count] = 30
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Essence Shift for Rovar_Caster[Rovar_Count]) Equal to 3
    Then - Actions
    Set Rovar_Period[Rovar_Count] = 60
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Essence Shift for Rovar_Caster[Rovar_Count]) Equal to 4
    Then - Actions
    Set Rovar_Period[Rovar_Count] = 120
    Else - Actions
    [/trigger]
    [trigger=Robar Normal]

    Robar Normal
    Events
    Time - Every 1.00 seconds of game time
    Conditions
    Actions
    For each (Integer Rovar_Integre) from 1 to Rovar_Count, do (Actions)
    Loop - Actions
    Set Rovar_Time[Rovar_Integre] = (Rovar_Time[Rovar_Integre] + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    Rovar_Time[Rovar_Integre] Equal to Rovar_Period[Rovar_Integre]
    Then - Actions
    Hero - Modify Agility of Rovar_Caster[Rovar_Integre]: Subtract 3
    Hero - Modify Agility of Rovar_Target[Rovar_Integre]: Add 1
    Hero - Modify Strength of Rovar_Target[Rovar_Integre]: Add 1
    Hero - Modify Intelligence of Rovar_Target[Rovar_Integre]: Add 1
    Set Rovar_Caster[Rovar_Integre] = No unit
    Set Rovar_Target[Rovar_Integre] = No unit
    Else - Actions
    [/trigger]
     
  4. mckill2009

    mckill2009

    Joined:
    Mar 10, 2009
    Messages:
    4,696
    Resources:
    34
    Maps:
    5
    Spells:
    27
    JASS:
    2
    Resources:
    34
    - Bad indexing
    - This Set Rovar_Period[Rovar_Count] = 15 can be optimized by loops
    - Use Damage detector, not attacked
     
  5. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    I must start doing this so I can get these awesome comments as well!
     
  6. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    Triggers..

    There are new rules in HIVE!
    So Read It!
    BTW, It fits with my pounce
     
  7. vincilios

    vincilios

    Joined:
    Jul 29, 2010
    Messages:
    51
    Resources:
    0
    Resources:
    0
    Need ajusts. He don't fishing his attacks and stack agi. I'm work in Berserk Trance. Is similar to Essence Shift. When I finish, I'll post here.