| | |
| | | import PetControl
|
| | | import ChConfig
|
| | | import ItemCommon
|
| | | import GameObj
|
| | | #---------------------------------------------------------------------
|
| | | #全局变量
|
| | | #---------------------------------------------------------------------
|
| | |
| | | PlayerControl.NotifyCode(curPlayer, "Pet_liubo_381601", [useItemID])
|
| | | return False
|
| | |
|
| | | fightPetHP = fightPet.GetHP()
|
| | | fightPetMaxHP = fightPet.GetMaxHP()
|
| | | fightPetHP = GameObj.GetHP(fightPet)
|
| | | fightPetMaxHP = GameObj.GetMaxHP(fightPet)
|
| | |
|
| | | if fightPetHP == fightPetMaxHP:
|
| | | PlayerControl.NotifyCode(curPlayer, "Pet_liubo_493922")
|