Crossfire Server, Trunk
magic_whistle Namespace Reference

Functions

def tame_angry_pets ()
 

Function Documentation

◆ tame_angry_pets()

def magic_whistle.tame_angry_pets ( )
Look for pets (monsters owned by the player) who are not marked as friendly.
Then try to re-pet them with a 1 in 10 change to fail.    

Some pets miss their Friendly flag only, others also miss the IsPet property.
Others also have the wrong value for attack_movement which should be PETMOVE for pets.

Definition at line 4 of file magic_whistle.py.