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

[General] hero tomes

Status
Not open for further replies.
Level 30
Joined
Feb 18, 2014
Messages
3,623
As far as I know tomes already add damage to heroes when it's used like tome of strenght, agility and intelligence you can increase the stats addded in the object editor, as for the mana, not so sure, but it's probably, but the thing is, I don't know how to make an item auto cast (like tomes)
 
Last edited:
Level 12
Joined
May 22, 2015
Messages
1,051
As far as I know tomes already add damage to heroes when it's used like tome of strenght, agility and intelligence you can increase the stats addded in the object editor, as for the mana, not so sure, but it's probably, but the thing is, I don't know how to make an item auto cast (like tomes)

There are checkboxes for the items in the object editor:
Stats - Automatically cast when picked up (something like this anyway) - set it to true
Stats - Perishable (or maybe Perishes) - set this to true

You might also need to set the item to have 1 charge only, but I don't remember. There is the "actively used" field as well which might be important to set.

Anyway, you can check those 4 fields for one of the built-in tomes and copy the data over. I think the names of the fields are pretty straight forward, but the "automatically cast" one forces the item to be used the instant a unit picks it up. Making it perishable means it will disappear when the number of charges reaches 0. Actively used has to be true in order to activate the item. Charges is how many times it can be used.
 
Level 19
Joined
Jan 22, 2011
Messages
3,981
I asked because I opened a map, and found an ability called "item permanent damage gain". As much as I searched, I couldn't find it in the editor, and when I copied it to another map, the abilities name appeared in english as a standard ability, even though my editor is in spanish.
If it's possible to make such a huge twist (like adding base damage to a unit) surely there's a hidden ability for defense and mana as well, maybe other stats too?
My question is, if those abilities exist. And if they do, how can I find them?
 
Level 12
Joined
May 22, 2015
Messages
1,051
I asked because I opened a map, and found an ability called "item permanent damage gain". As much as I searched, I couldn't find it in the editor, and when I copied it to another map, the abilities name appeared in english as a standard ability, even though my editor is in spanish.
If it's possible to make such a huge twist (like adding base damage to a unit) surely there's a hidden ability for defense and mana as well, maybe other stats too?
My question is, if those abilities exist. And if they do, how can I find them?

I think the damage one exists (though I am uncertain what it is called), but I am quite sure that there is none for mana or armour (or other stats like health / mana regen). You have to trigger those kinds of tomes.
 
Status
Not open for further replies.
Top