• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Spell] Metaorphis glitches with added abilitys - need help!

Status
Not open for further replies.
Level 9
Joined
May 31, 2010
Messages
366
Hey, i have a hero with the metamorphose ability of the demonhunter from nightelves, if i add a new ability to my hero by triggers something like all attributes + 1 (based on item or hero ability - does not matter) or any other ability - when he metamorphs he loses those added abilitys and even if he morphes back he wont gain them back!
any idea of how i could do a work arround on that?
 
Level 23
Joined
Oct 20, 2012
Messages
3,075
How to: Make Spellbooks
Andrewgosu said:
WHY DO MY SPELLS DISAPPEAR FROM THE SPELLBOOK AFTER TRANSFORMATION/METAMORPHISM ETC.

This is because the abilities inside the spellbook are not permanent; they are gained via a spellbook.

To fix this issue, you must make the ability permanent. The only way is to use a piece of custom script because the action is not accessible via GUI:

„call UnitMakeAbilityPermanent(whichUnit, true, abilCode)“

Replace whichUnit with the unit who has the ability and abilCode with the raw code of the ability.

That's basically it.
 
Level 9
Joined
May 31, 2010
Messages
366
so abilitys added by trigger are not permanently? okay thx!

but btw.: the unit also has a hidden spell book with a ability based of brilliance aura (just to apply a special effect), the buff and the effect dissapear during the metamorph but when it turns back into normal form, the effect and the buff are applied again
 
Status
Not open for further replies.
Top