Log in

View Full Version : Wolf Form too big


Angelox
08-27-2008, 02:48 PM
Any one have any idea on how the spell 'wolf form' can be made smaller when cast?

rojadruid
08-27-2008, 03:10 PM
Any one have any idea on how the spell 'wolf form' can be made smaller when cast?


in the database there is a field that controls the size of illusions. can not remember which table it is though.

Derision
08-27-2008, 03:10 PM
in zone/spell_effects.cpp, search for case SE_ILLUSION (around line 1061)
and add a case for WOLF before the default entry. I used a size of 2 in this
example, but change it to what you want:



else if(spell.base[i] == DWARF){
SendAppearancePacket(AT_Size, 4);
}
else if(spell.base[i] == HALFLING || spell.base[i] == GNOME){
SendAppearancePacket(AT_Size, 3);
}
else if(spell.base[i] == WOLF) {
SendAppearancePacket(AT_Size, 2);
}
else{
SendAppearancePacket(AT_Size, 6);
}

Angelox
08-27-2008, 03:32 PM
Thanks for the help, I had tried the database fix, it works for pets, but not for character. The latter does. I'll probably have to go back and fix all the pet sizes again now, but this fix is well worth the trouble.

louis1016
07-31-2012, 02:21 PM
by the way, if anyone is still having problems with this, change the above code from WOLF to WOLF_ELEMENTAL and give a size of 3