• 🏆 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!

[Trigger] Skill Hybrid

Status
Not open for further replies.
Level 3
Joined
Sep 20, 2007
Messages
30
Is anyone knows how can i make this abilty?
First i have 10 leveled 'Impale', but when i've learned them all, i can learn 'Mega-Impale' skill which based on other skill (sorry, that's what i called 'Skill Hybrid' ^^). Please help...
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
The only thing I can think of is (I don't remember if there is an event for learning a skill), otherwise you can add the event:

Every 0.3 seconds of game time
Conditions: (Integer comparison) Number of levels for skill of type Impale (or was it N of levels for (Impale)) .. equal to 10, (choose your hero by selecting on the map or with an event that happens in the very beginning with your hero add a set variable - unit (your hero), to have smth that knows what the unit is and use this variable in the condition if you need to point out your hero),
(OR If your hero can learn only this ability and you always get lvl 10 Impale at say lvl 10 hero you can use the C: Hero level equal to 10)

A: If you want after 10 skills of Impale to have a new skill that will replace Impale, just use:
- Unit ability - Remove Impale
- Unit ability - Add (new skill)
- Trigger - Turn off (this trigger) - once it happens to stop, there's nothing to turn it on again

Or if you want to keep the old, just no "Unit ability - Remove Impale"
 
Status
Not open for further replies.
Top