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

Data Question

Status
Not open for further replies.
Can it be displayed more data of an ability?
For example, a summoning spell has as data unit type and quantity. But it is possible change other data fields of this spell like damage dealt, gold cost,...

I'm asking, because once the editor displayed all types of data, but it never did again.

I hope that I was clear and I apologize if this post don't belong to this category.
 
Level 9
Joined
Jan 13, 2005
Messages
553
You mean for every spell it has all the data field. Is that it? Well you can do w/ triggers to acquire w/ the results you wanted & besides why change the data field in the summoning spell to damage dealt & gold cost data field. There are already standard spells w/ these type of data fields that you can customize.

A code for any unit that cast a spell & someone losses an amount of resources:

E: a unit owned by player xx begins casting an ability

C: ability being cast = ability
Unit type of casting unit = your hero
level of ability of casting unit = 1

A: add (0 - XX) to player xx current/lumber gold

Note: XX must be any no. not equal & less than 0 therefore the difference in this quantity must be a negative integer.

I hope it will work for you!
 
Status
Not open for further replies.
Top