• 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.

Using Attribute Points

Status
Not open for further replies.
Level 3
Joined
Nov 28, 2009
Messages
47
My hero has a spell book called "Attributes" where i intend to put three spells namely : Agility, Strength and Intellegence.

How do i make it so that every second time my hero levels up he can assign two attribute points. I also dont know how to use the attribute spells because when i add them to the spell book they dont show their icons but automatically add atributes to the heros.

(like Dota attributes but only every second level)

I would apreciate your help.
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
Uhm, i dont really understand what your asking for... mainly cuz i dont play dota :)

I dont understand how u want them to be added. Heres how i picture it.

  • Events - A unit gains a level
  • Conditions
  • Actions
  • If (all conditions are true) than do (then actions) else do (else actions)
  • If Conditions
  • Redhero equal to 0
  • Then - Actions
  • Player - Add 2 gold to Player 1 (Red) Current Gold
  • Set Redhero = 1
  • Else - Actions
  • Set Redhero = 0
  • Events
  • Unit begins casting an abillity
  • Conditions
  • Abillity Being Cast equal to Strength(or agillity,intelligence)
  • Actions
  • If (Player 1) Current Lumber equal to or greater than 1 than do Add 1 Strength(or agillity, or intelligence) to Redhero2
Sorry for my poor hive coding, but thats how i would do it.
 
Level 3
Joined
Nov 28, 2009
Messages
47
That doesn't work for me.

It works when i play singleplayer but it seems that its not multi ser copatible.
When i play multiplayer it doesn't work! The one player gets infinite stat points and i cant even press escape!
 
Last edited:
Status
Not open for further replies.
Top