EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Wolf Form too big (https://www.eqemulator.org/forums/showthread.php?t=26030)

Angelox 08-27-2008 02:48 PM

Wolf Form too big
 
Any one have any idea on how the spell 'wolf form' can be made smaller when cast?

rojadruid 08-27-2008 03:10 PM

Quote:

Originally Posted by Angelox (Post 154817)
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:


Code:

                                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


All times are GMT -4. The time now is 01:27 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.