HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Chaos + Spellbook

04-09-2006, 04:27 PM#1
Immoralis
When you chaos a unit with spell book A with another unit with exact same spell book, all the abilities disapear inside the spell book. I tried to go around this by removing the spell book right beofre chaos and adding it after but the cooldowns are not saved. Anyway to keep the cool downs? and the abilities?
04-09-2006, 05:45 PM#2
Vuen
Quote:
Originally Posted by Immoralis
When you chaos a unit with spell book A with another unit with exact same spell book, all the abilities disapear inside the spell book. I tried to go around this by removing the spell book right beofre chaos and adding it after but the cooldowns are not saved. Anyway to keep the cool downs? and the abilities?

My map does the same thing when one person is holding Book A, then picks up Book B, then drops Book A. Just throw the book on the ground and pick it up again after Chaos is cast; the book will be fixed (and the cooldowns will be kept). You may want to trigger this so it's transparent to the players.
04-09-2006, 07:01 PM#3
PitzerMike
I think UnitMakeAbilityPermanent could fix it.
It's a JASS function that makes abilities stay on a unit when it's morphed.
04-09-2006, 08:37 PM#4
shadow1500
Use pitzermike's method on all abilities in the spellbook, and the spellbook itself.
04-09-2006, 09:48 PM#5
Immoralis
make ability permenant is a native right?
04-09-2006, 10:02 PM#6
shadow1500
yes
04-09-2006, 10:02 PM#7
PitzerMike
Indeed it is.