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

[Spell] Object Editor is Trying to Rage me...

Status
Not open for further replies.
Level 4
Joined
Aug 3, 2011
Messages
222
i create a spell with Life Drain.
When i test the spell ,

case 1 - (i test with a enemy hero, "You must target a friendly unit")

WTF i using the default target allowed.

case 2 - (because of case 1 , i try to cast on friendly hero, "You can't target a Friendly Unit")

And i tried "Air , Enemy , Ground , Hero , Neutral , Organic." and repeat step 1 , it's same....:goblin_sleep:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Did you;
Data - Hit Points Gained: 0.00

In the Object Editor ?
Well, if you don't want the Life Drain to occur, at least make it 0.01 or change the Life Drain interval to a high value making the spell only sucks a small (very small) portion of HP from the unit, making it negligible data

NOTE: You must set the Hit Points Gain to a value higher than 0.00
 
Level 4
Joined
Aug 3, 2011
Messages
222
Did you;
Data - Hit Points Gained: 0.00

In the Object Editor ?
Well, if you don't want the Life Drain to occur, at least make it 0.01 or change the Life Drain interval to a high value making the spell only sucks a small (very small) portion of HP from the unit, making it negligible data

NOTE: You must set the Hit Points Gain to a value higher than 0.00

Yes i did it , can i know why that will happen?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Because the game can't function properly

Imagine, you are Life Drain an enemy unit with 0 value, now what are you draining, dude ? 0 value ?

It's like going to the Bank and you withdraw 0 money from it.

It makes no sense at all, that will cause the game engine can't translate what is happening with the spell

Just change it to 0.01, that should solve the problem
 
Status
Not open for further replies.
Top