• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] SetHeroStat Question

Status
Not open for further replies.
Yeah. If it is false then the stat bonus will not stick when the unit morphs (iirc). They have a similar thing with abilities:
JASS:
native UnitMakeAbilityPermanent     takes unit whichUnit, boolean permanent, integer abilityId returns boolean

e.g. if the unit has metamorphosis or avatar or bear form or anything like that, then you'll want it as true.
 
Status
Not open for further replies.
Top