L1PcInstance.java
搜尋
if (newHp <= 0) {
if (isGm()) {
setCurrentHp(getMaxHp());
} else {
death(attacker);
}
}
整段修改成
if (newHp <= 0) {
if (isGm()) {
setCurrentHp(getMaxHp());
} else {
if (getInventory().checkItem(77777)) { //免死金牌
setCurrentHp(getMaxHp()); // 補滿血
getInventory().consumeItem(77777,1);// 扣除免死金牌
sendPackets(new S_SystemMessage("免死金牌發揮強大作用,你免死了一次!"));
return;
}
death(attacker);
}
}