사이트 로그인
2020.06.09 18:54
소울이 스킬쪽에 있는걸로 수정이 안대서 찾아보니
l1j.server.server.Controller >>BloodToSoul 에 따로 빼놨더라구요
소운 엠 수정은 여기서 하셔야 적용가능
public void run() {
try {
if(_pc == null || _pc.isDead() || _pc.getCurrentHp() <= 25
|| _pc.getCurrentMp() == _pc.getMaxMp() ) { //만엔시 소울정지 추가 (자동돌려놓으면 만엠인대도 계속 소울을 시전해서 ㅎㅎ)
return;
}
if(!(_pc.getInventory().consumeItem(30078, 1) || _pc.getInventory().consumeItem(40319, 1))) {
return;
}
_pc.setCurrentHp(_pc.getCurrentHp() - 25);
// _pc.setCurrentMp(_pc.getCurrentMp() + 15); //기본엠설정
_pc.setCurrentMp(_pc.getCurrentMp() + (_pc.getLevel()/2)); // 수정 (본인렙/2) 으로 수정하니 사냥시 적당한듯
_pc.sendPackets(new S_SkillSound(_pc.getId(), 2178));
_pc.broadcastPacket(new S_SkillSound(_pc.getId(), 2178));
} catch (Exception e) {
e.printStackTrace();
}
}
}
감사합니다!