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

Potion - Leveling the ability

Status
Not open for further replies.
Level 6
Joined
Feb 21, 2008
Messages
205
Its me! Again! And this time I searched:thumbs_up: But, I couldn't find any posts about this. Not with the key words I used atleast. My trigger: 1 Unit - Brewmaster starts the effect of an ability ** 2: Ability being cast equal to brewing ** 3: Create "name of the potion here" at "Center of a region I made wich is called brewing area" ** 4: pick every item in Brewing area and do hero give last created item to brewmaster. Well, this trigger works perfect. But, I cant figure out what triggers I should make if I learn brewing lvl 2 etc, like from 250 healing potion to 500. Thanks in advance! Ps: Hiveworkshop <3 fast answers and good explaining :thumbs_up:
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
Instead of 3: Create "name of the potion here" at "Center of a region I made wich is called brewing area do:

3: If (level of Brewing on (Triggering unit) equal to 1 do:
Create "name of the level 1 potion (250 hp) here" at "Center of a region"
else If (level of Brewing on (Triggering unit) equal to 2 do:
Create "name of the level 2 potion (500 hp) here" at "Center of a region"
else ...
 
Status
Not open for further replies.
Top