리마전 환술사 뫼비우스 시전히 활로 대미지 줄시 만피 되는이유...
컨텐츠 정보
- 585 조회
- 4 댓글
- 0 추천
- 0 비추천
- 목록
본문
환술사 뫼비우스 시전된시간동안만 약4초 활로 공격하면 피가 만피됩니다 .. 소스도 찾아보고했는데 뫼비우스 시전시 피가 차는 소스가 없는듯합니다
이런 증상 해결하신분....
뫼비우스 스킬아이디로 검색했을때 나오는 소스 입니다
if (_targetPc.hasSkillEffect(L1SkillId.MOEBIUS)) {
if (_weaponType == 20 || _weaponType == 62) {
if (_targetPc.getLevel() == 80 ) {
dmg -= dmg * 5.0;
}else if (_targetPc.getLevel() == 81 ) {
dmg -= dmg * 6.0;
}else if (_targetPc.getLevel() == 82 ) {
dmg -= dmg * 7.0;
}else if (_targetPc.getLevel() == 83 ) {
dmg -= dmg * 8.0;
}else if (_targetPc.getLevel() == 84 ) {
dmg -= dmg * 9.0;
}else if (_targetPc.getLevel() == 85 ) {
dmg -= dmg * 10.0;
}else if (_targetPc.getLevel() == 86 ) {
dmg -= dmg * 11.0;
}else if (_targetPc.getLevel() == 87 ) {
dmg -= dmg * 12.0;
}else if (_targetPc.getLevel() == 88 ) {
dmg -= dmg * 13.0;
}else if (_targetPc.getLevel() == 89 ) {
dmg -= dmg * 14.0;
}else if (_targetPc.getLevel() >= 90 ) {
dmg -= dmg * 15.0;
}
}
case MOEBIUS:
if (cha instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) cha;
SC_SPELL_BUFF_NOTI noti = SC_SPELL_BUFF_NOTI.newInstance();
noti.set_noti_type(eNotiType.END);
noti.set_spell_id(MOEBIUS);
noti.set_duration(0);
noti.set_off_icon_id(9443);
noti.set_end_str_id(5551);
noti.set_is_good(true);
pc.sendPackets(noti, MJEProtoMessages.SC_SPELL_BUFF_NOTI.toInt(), true);
pc.sendPackets(new S_ServerMessage(5551), true);
}
break;
case MOEBIUS:
if (cha instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) cha;
if (_user.hasSkillEffect(L1SkillId.MOEBIUS)) {
_user.removeSkillEffect(L1SkillId.MOEBIUS);
}
SC_SPELL_BUFF_NOTI noti = SC_SPELL_BUFF_NOTI.newInstance();
noti.set_noti_type(eNotiType.RESTAT);
noti.set_spell_id(L1SkillId.MOEBIUS);
noti.set_duration(_getBuffIconDuration);
noti.set_duration_show_type(eDurationShowType.TYPE_EFF_AUTO_DAY_HOUR_MIN_SEC);
noti.set_on_icon_id(9443);
noti.set_off_icon_id(9443);
noti.set_tooltip_str_id(5550);
noti.set_new_str_id(5552);
noti.set_is_good(true);
pc.sendPackets(noti, MJEProtoMessages.SC_SPELL_BUFF_NOTI.toInt(), true);
}
break;
public void doWork() {
if (!owner.hasSkillEffect(L1SkillId.비욘드)) {
owner.killSkillEffectTimer(L1SkillId.MEDITATION);
}
if (owner.hasSkillEffect(L1SkillId.MOEBIUS)) {
owner.killSkillEffectTimer(L1SkillId.MOEBIUS);
SC_SPELL_BUFF_NOTI noti = SC_SPELL_BUFF_NOTI.newInstance();
noti.set_noti_type(eNotiType.END);
noti.set_spell_id(L1SkillId.MOEBIUS);
noti.set_duration(0);
noti.set_off_icon_id(9443);
noti.set_end_str_id(5551);
noti.set_is_good(true);
owner.sendPackets(noti, MJEProtoMessages.SC_SPELL_BUFF_NOTI.toInt(), true);
owner.sendPackets(new S_ServerMessage(5551), true);
}
owner.setRegenState(REGENSTATE_ATTACK);
register();
}