• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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