• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

An ability

Status
Not open for further replies.
Level 13
Joined
Oct 25, 2009
Messages
995
I wanna make an ability like bloodseeker Strygwyr's Thirst,when hp low than 40% will increase movement speed and create the vision on the hero,but i wanna make to mana,mana low than 40% and increase movement speed,anyone know how to do?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
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

  • Strygwyr's Thirst.w3x
    15.1 KB · Views: 61
Level 11
Joined
Aug 1, 2009
Messages
714
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.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
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

  • Strygwyr's Thirst.w3x
    19.7 KB · Views: 51
Last edited:
Level 13
Joined
Oct 25, 2009
Messages
995
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.
Top