[9013] shapeshift spells

some shapeshift forms will give the player spells
so we need to tell the server that the player has those new
spells else he can't cast them since the server is thinking the player is
cheating

ps forms with spells:
FORM_GHOUL
FORM_THARONJA_SKELETON
FORM_TEST_OF_STRENGTH
FORM_BLB_PLAYER
FORM_TEST
FORM_ZOMBIE

--
so this mostly won't affect any ingame experience.. but good to have this
feature anyway.. :)

also changed errormessage if player has no reagents for spell..
thx to nofantasy
This commit is contained in:
balrok 2009-12-17 11:34:37 +01:00
parent 7c4acf31e2
commit 0502de55af
7 changed files with 33 additions and 12 deletions

View file

@ -1492,7 +1492,7 @@ struct SpellShapeshiftEntry
uint32 modelID_H; // 24 horde modelid (but only for one form)
//uint32 unk3; // 25 unused always 0
//uint32 unk4; // 26 unused always 0
//uint32 spell[8]; // 27-34 unused, spells which appear in the bar after shapeshifting
uint32 spellId[8]; // 27-34 spells which appear in the bar after shapeshifting
};
struct SpellDurationEntry