Ticket #115: UFLoadSpells.diff
File UFLoadSpells.diff, 1.1 KB (added by ptarp, 11 years ago) |
---|
-
common/patches/Underfoot.cpp
old new 3016 3016 SETUP_DIRECT_DECODE(LoadSpellSet_Struct, structs::LoadSpellSet_Struct); 3017 3017 3018 3018 for(unsigned int i = 0; i < MAX_PP_MEMSPELL; ++i) 3019 if(eq->spell[i]==0) 3020 emu->spell[i] = 0xFFFFFFFF; 3021 else 3019 3022 emu->spell[i] = eq->spell[i]; 3020 3023 3021 3024 FINISH_DIRECT_DECODE(); -
common/patches/Underfoot_structs.h
old new 3848 3848 }; 3849 3849 3850 3850 struct LoadSpellSet_Struct { 3851 uint32 spell[MAX_PP_MEMSPELL]; // 0xFFFFFFFF if no action, slot number if to unmem starting at 0 3852 uint32 unknown; //there seems to be an extra field in this packet... 3851 uint8 spell[MAX_PP_MEMSPELL]; // 0 if no action 3852 uint16 unknown2; // is this two more spell gems? 3853 uint32 unknown; // there seems to be an extra field in this packet... 3853 3854 }; 3854 3855 3855 3856 struct BlockedBuffs_Struct {