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

Help with an ability that costs gold/lumber...

Status
Not open for further replies.
Level 3
Joined
Jan 5, 2008
Messages
26
How exactly do I do this?! Im making an RPG where you level up and get lumber and choose which of the three attributes you want to increase, each costing 1 lumber to increase. Right now Im using a spell book with three different abilities, but with my limited knowledge of triggers, I can't seem to find a way to make this work. So how do I make these abilities cost lumber to use?
 
Level 11
Joined
Dec 11, 2007
Messages
888
  • 0000
    • Event:
  • a unit starts the effects of an ability
    • Cond: And multiple cond
      • Ability being cast equal to idk
      • Lumber of owner of triggering unit greater than 0
    • Actions:
  • Player - add -1 to owner of triggering unit current lumber
  • Add 1 strength or agility or intelligence to triggering unit
something like this
 
Status
Not open for further replies.
Top