• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Stat-Boosting Spells and other Questions

Status
Not open for further replies.
Level 4
Joined
Jul 5, 2015
Messages
75
So I know that someone has already done a tutorial on it, but I just can't find it. How am I supposed make a hero's abilties boosted by str/agi/int possibly even boosted by HP and MP.

Also, ghost effects for units. How do I get other units to look like the ghostly Keeper of the Grove?
 
How am I supposed make a hero's abilties boosted by str/agi/int possibly even boosted by HP and MP.
Arithmetic operators. So if you want a spell to deal 100 damage plus 2 times the strength of the Hero:

  • Set Damage = (100.00 + (2.00 x (Real((Strength of YourHero (Include bonuses))))))
Hero stats are integers, so you have to convert it to a real to work in the arithmetic operators since the Unit - Damage Target function takes a real argument for the actual damage. The "Include bonuses" part can also exclude bonuses.


How do I get other units to look like the ghostly Keeper of the Grove?
You are going to have to edit the model directly.
 
You can make a unit appear transparent by changing its vertex coloring with triggers. The first 3 are red, green, blue so keep them at 100% but the last one is transparency. The lower the number the more transparent the unit looks. It won't have the whitish look, but it'll be ghostly.
 
Status
Not open for further replies.
Back
Top