顺便在来一个曾经狗熊说200才能修复的bug,修复方案,战法二觉死亡闪退的修复方案
方式一:PVF里存在function procAppend_Mage函数
在if(!obj) return;语句下方添加:
if(obj.isDead())
{
CNSquirrelAppendage.sq_RemoveAppendage(obj, "character/mage/avatar/ap_avatar_icon.nut");
CNSquirrelAppendage.sq_RemoveAppendage(obj, "character/mage/avatar/ap_avatar.nut");
}
方法二:PVF里不存在function procAppend_Mage函数
在loadstate.nut内挂载的任意一个文件里 加上:
function procAppend_Mage(obj)
{
if(!obj) return;
if(obj.isDead())
{
CNSquirrelAppendage.sq_RemoveAppendage(obj, "character/mage/avatar/ap_avatar_icon.nut");
CNSquirrelAppendage.sq_RemoveAppendage(obj, "character/mage/avatar/ap_avatar.nut");
}
}