Iraq-
Sorceror
This issue commonly occurs when the pet is shrunk while an impending effect is about to happen to it, such as Explosion (delayed damage), poison, bleed, and strangle.
As a player, it's useful if you want to create inanimate statues of various creature types for deco... As a staff member, it's a headache.
One slick trick you could try is to set your pets Blessed property to true prior to shrinking, and then set them back to normal upon unshrink.
Alternatively, you could alter your CanBeDamaged (harmful?) in BaseCreature to return false if your pet's currently shrunk (or on the internal map, as mentioned above).
edit: Also, override the check release sequence to return false if the pet's shrunk.
edit2: If you have a dueling system, there's often a nifty segment of code in there which will clean your mobiles of ill conditions before returning them, which might be useful to re-use on your pets prior to shrinking.
edit3: Thanks for pointing this out, I'm about to use this system myself.
As a player, it's useful if you want to create inanimate statues of various creature types for deco... As a staff member, it's a headache.
One slick trick you could try is to set your pets Blessed property to true prior to shrinking, and then set them back to normal upon unshrink.
Alternatively, you could alter your CanBeDamaged (harmful?) in BaseCreature to return false if your pet's currently shrunk (or on the internal map, as mentioned above).
edit: Also, override the check release sequence to return false if the pet's shrunk.
edit2: If you have a dueling system, there's often a nifty segment of code in there which will clean your mobiles of ill conditions before returning them, which might be useful to re-use on your pets prior to shrinking.
edit3: Thanks for pointing this out, I'm about to use this system myself.