An ability

Status
Not open for further replies.
Uploaded a test map
If you have any question regarding the map, feel free to ask
Have you wonder why I put it once every 3 seconds ?
Like in DotA, the effect will be turned off in a delay manner, don't you notice that?
Even after the Hero is killed, he will still has the effect
I think it lasts for 5 seconds or so
3 seconds is too... fast
You can change that ^_^
Good Luck~
 

Attachments

XD: I got some triggers. W8 for it.

Edit:
  • Blood Thirst Effect
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Blood Thrist for (Killing unit)) Greater than or equal to 1
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A structure) Equal to False
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + ((Max life of (Dying unit)) x (0.10 x (Real((Level of Blood Thrist for (Killing unit)))))))
          • Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A structure) Equal to False
          • ((Dying unit) is A Hero) Equal to False
        • Then - Actions
          • Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + ((Max life of (Dying unit)) x (0.10 + (0.05 x (Real((Level of Blood Thrist for (Killing unit))))))))
          • Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
Blood Thrist
Whenever this unit kills a unit, it bathes himself in the blood, regenerating its life source.

Level 1 - Regenerates 10% of the Hero's max hp. 10% for creeps.
Level 2 - Regenerates 20% of the Hero's max hp. 15% for creeps.
Level 3 - Regenerates 30% of the Hero's max hp. 20% for creeps.
Level 4 - Regenerates 40% of the Hero's max hp. 25% for creeps.
 
XD: I got some triggers. W8 for it.

Edit:
  • Blood Thirst Effect
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Blood Thrist for (Killing unit)) Greater than or equal to 1
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A structure) Equal to False
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + ((Max life of (Dying unit)) x (0.10 x (Real((Level of Blood Thrist for (Killing unit)))))))
          • Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A structure) Equal to False
          • ((Dying unit) is A Hero) Equal to False
        • Then - Actions
          • Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + ((Max life of (Dying unit)) x (0.10 + (0.05 x (Real((Level of Blood Thrist for (Killing unit))))))))
          • Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
Blood Thrist
Whenever this unit kills a unit, it bathes himself in the blood, regenerating its life source.

Level 1 - Regenerates 10% of the Hero's max hp. 10% for creeps.
Level 2 - Regenerates 20% of the Hero's max hp. 15% for creeps.
Level 3 - Regenerates 30% of the Hero's max hp. 20% for creeps.
Level 4 - Regenerates 40% of the Hero's max hp. 25% for creeps.

That is BLOOD THIRST lol...
He wants it Strygwyr's Thirst
Don't use Condition that is "Greater than ore equal to" BECAUSE, this will trigger all 4 of the conditions
Just use "Equal to", that will be more specific

Well, GangSpear, I thought you know how to manage the spell for up to 4 levels, so I made only 1 level...
Gonna start making it =D

EDIT:
Uploaded a test map, edited last map
Spells up to 4 levels
Enjoy =D
 

Attachments

Last edited:
May i do like this?
  • ST Check
  • Events
    • Time - Every 3.00 seconds of game time
  • Conditions:
  • Actions
    • Set LearnerLoc = (Position of Learner)
    • Set AOE = (Units within (3000.00 x (Real((Level of Wythim's Thrist for Learner)))) of LearnerLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of Learner)) Equal to True) and (((Matching unit) is A Hero) Equa
    • Unit Group - Pick every unit in AOE and do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Percentage mana of (Picked unit)) Less than or equal to (15.00 x (Real((Level of Wythim's Thrist for Learner))))
          • Then - Actions
            • Unit - Create 1 Dummy(Can be use in another spell) for (Owner of Learner) at LearnerLoc facing Default building facing degrees
            • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
            • Unit - Add Thrist to (Last created unit)
            • Unit - Set level of Thrist for Learner to (Level of Wythim's Thrist for Learner)
            • Unit - Order (Last created unit) to Orc Shaman - Bloodlust Learner
            • Unit - Grant shared vision of (Picked unit) to (Owner of Learner)
          • Else - Actions
            • Unit - Remove Wythim's Thirst buff from Learner
            • Unit - Deny shared vision of (Picked unit) to (Owner of Learner)
    • Custom script: call DestroyGroup(udg_AOE)
    • Custom script: call RemoveLocation(udg_LearnerLoc)
P/S: i change the name of the hero:goblin_yeah:
Sometimes,when the hero is dead,it doesn't remove the buff!!
 
Last edited:
Status
Not open for further replies.
Back
Top