August 8, 2011

PK地圖不允許使用恢復HP技能與藥水

打开文件 MapleStatEffect.java 
找到:
    if (hpchange != 0) {
      if (hpchange < 0 && (-hpchange) > applyto.getHp()) {
        return false;
      }
      applyto.setHp(applyto.getHp() + hpchange);
      hpmpupdate.add(new Pair<MapleStat, Integer>(MapleStat.HP, Integer.valueOf(applyto.getHp())));
    }

替换成:


        if (applyto.getMapId() != 这里填你PK的地图ID) {
    if (hpchange != 0) {
      if (hpchange < 0 && (-hpchange) > applyto.getHp()) {
        return false;
      }
      applyto.setHp(applyto.getHp() + hpchange);
      hpmpupdate.add(new Pair<MapleStat, Integer>(MapleStat.HP, Integer.valueOf(applyto.getHp())));
    }
        }

Today's Visitors: 0 Total Visitors: 0
Personal Category: PK系列 Topic: entertainment / video games / online games
[Trackback URL]

Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0