다엘(이도류,크로우)효과수정.txt
============= l1몬스터인스턴스========================
private void attack(L1PcInstance cha, boolean 미스){
생략
}else if(0x36== cha.get_currentWeapon()){//이도류로 공격햇다면
if(미스){ // 미스표현
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, 0, 0), true, true);
}else{ // 어택 표현
int ok=(int)(Math.random()*100)+1;
if(ok<20){
_CalcDmgPc.HitDmg(cha, get_objectId()) ;
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, _CalcDmgPc.Dmg, 0), true, true);
cha.sendPackets(cha.get_netConnection().bph().get_CharAction().S_Effect(cha, 3398), true);//
}else{
_CalcDmgPc.HitDmg(cha, get_objectId());
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, _CalcDmgPc.Dmg, 0), true, true);
}
}
}else if (0x3A== cha.get_currentWeapon()){//크로우로 공격햇다면...
if(미스){ // 미스표현
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, 0, 0), true, true);
}else{
int ok=(int)(Math.random()*100)+1;
if(ok<20){
_CalcDmgPc.HitDmg(cha, get_objectId()) ;
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, (_CalcDmgPc.Dmg)*2, 0), true, true);
cha.sendPackets(cha.get_netConnection().bph().get_CharAction().S_Effect(cha, 3671), true);
}else{
_CalcDmgPc.HitDmg(cha, get_objectId());
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, _CalcDmgPc.Dmg, 0), true, true);
}
}
}
삭제~~~~
private void attack(L1PcInstance cha, boolean 미스){
if(0x14 != cha.get_currentWeapon()){ // 근접 무기로 공격했다면?
if(미스){ // 미스표현
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, 0, 0), true, true);
}else{ // 어택 표현
_CalcDmgPc.HitDmg(cha, get_objectId());
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, _CalcDmgPc.Dmg, 0), true, true);
}
}else{ // 장거리 무기로 공격했다면
L1ItemInstance Arrow = cha.get_cil().FindArrow();
if(Arrow != null){ // 화살이 있다면
cha.get_cil().CountItem(cha, Arrow, -1);
if(미스){ // 미스표현
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, 0, 1), true, true);
}else{
_CalcDmgPc.HitDmg(cha, get_objectId());
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, _CalcDmgPc.Dmg, 1), true, true);
}
}else{ // 화살이 없다면
cha.sendPackets(cha.get_netConnection().bph().get_AttackPacket().S_AttackPacket(cha, this, 0, 0), true, true);
}
}
}
private void attack 부분 빨강색을 파란색으로 바꿔주세요.
======================== calcDmgPc.java======================================
다엘 이팩 터지는 부분에
if(cha.get_크로우()){
int chance = (int)(Math.random()* 100)+1;
if(chance < cha.get_level() / 100 )
{
small += (int)(small * 0.2);
cha.sendPackets(cha.get_netConnection().bph().get_CharAction().S_Effect(cha, 3671), true, true);
/*for(int i=0 ; i<cha.getKnownPlayers().size() ; i++){
L1Object visible = (L1Object) cha.getKnownPlayers().get(i);
if(visible instanceof L1PcInstance){
L1PcInstance user = (L1PcInstance) visible;
user.sendPackets(user.get_netConnection().bph().get_CharAction().S_Effect(cha, 3671), true);
}
} */
}
}
if(cha.get_이도류()){
int chance = (int)(Math.random()* 100)+1;
if(chance < cha.get_level() / 100 )
{
small += (int)(small * 0.3);
cha.sendPackets(cha.get_netConnection().bph().get_CharAction().S_Effect(cha, 3398), true, true);
/* for(int i=0 ; i<cha.getKnownPlayers().size() ; i++){
L1Object visible = (L1Object) cha.getKnownPlayers().get(i);
if(visible instanceof L1PcInstance){
L1PcInstance user = (L1PcInstance) visible;
user.sendPackets(user.get_netConnection().bph().get_CharAction().S_Effect(cha, 3398), true);
}
} */
}
}
파란색으로 바꿔 주세요.
기존 팩 보시면 l1몬스터인스랑 케릭뎀지피시 두군데에 다엘 이팩과 효과가 나타나서 이중으로 적용된듯 합니다.
400피 되는 몹이 다엘흑왕 3방에 눕는 ,,,,,,
그래서 l1몬스터 부분 삭제하고 케릭뎀지피시로 돌렸습니다.
참고로 이팩숫자 3399 는 슬레이븐가 그 이팩이래요. 저는 3399 이팩을 더블브레이크에 추가 했어요~
-출저-마세이
[출처] 다엘(이도류,크로우)효과수정.txt (비공개 카페)

준희미니 님의 최근 댓글
rt 2021 05.25 ㄳ 2021 05.11 ㄳ 2021 05.11 rt 2021 05.09 rt 2021 04.25