I just tested this with Shawn cvs from 01-12-04 and found an error in my post. I forgot to add something, which made the fix not working:
(Note: I've also added this to my initial post.)
-----------------------------------------
Now open
zone/mob.cpp and apply the changes we just made to the constructor:
Change
Code:
int8 in_luclinface, // and beard
int8 in_aa_title,
float in_fixed_z,
int16 in_d_meele_texture1,
int16 in_d_meele_texture2
)
{
to
Code:
int8 in_luclinface, // and beard
int8 in_aa_title,
float in_fixed_z,
int16 in_d_meele_texture1,
int16 in_d_meele_texture2,
int8 in_see_invis,
int8 in_see_invis_undead
)
{
At the end of the constructor change:
Code:
pStandingPetOrder = SPO_Follow;
// Bind wound
bindwound_timer = new Timer(10000);
bindwound_timer->Disable();
bindwound_target = 0;
to
Code:
pStandingPetOrder = SPO_Follow;
see_invis = in_see_invis;
see_invis_undead = in_see_invis_undead;
// Bind wound
bindwound_timer = new Timer(10000);
bindwound_timer->Disable();
bindwound_target = 0;
-----------------------------------------