#ifdef _PETSKILL_LER
{
register int i,dieindex;
for(i=0;i<20;i++){
dieindex = BATTLE_getBattleDieIndex(battleindex,i);
if(!CHAR_CHECKINDEX(dieindex)) continue;
if(CHAR_getFlg(dieindex,CHAR_ISDIE) == FALSE) continue;
if(CHAR_getInt(dieindex,CHAR_HP) > 0) continue;
// 雷爾死亡,變身
if(CHAR_getInt(dieindex,CHAR_BASEBASEIMAGENUMBER) == 101813 ||
CHAR_getInt(dieindex,CHAR_BASEBASEIMAGENUMBER) == 101814)
BATTLE_LerChange(battleindex,dieindex,i);
}
}
#endif
請參考ballte.c