10주년 아이템 강화하자 //질문있습니다
아이템들은...나비켓에서 뚝딱뚝딱 만드실수있을거라
생각합니다.. 아참..에바팩 쓰시는분들은 알아서..수정해서사용해주세요.
L1EnchantScroll.java
} else if (itemId == 50633) {/ / 10 주년 기념 반지 강화주문서 추가
result = enchant10thAnniversaryRing (pc, item, target);
return true; //검색
}
private boolean enchant10thAnniversaryRing (L1PcInstance pc, L1ItemInstance item, L1ItemInstance target) { //추가
if (target == null
| | target.getItem (). getType2 ()! = 2
| | target.getItem () getType () <10
| | target.getItem () getType ()> 13) {
pc.sendPackets (new S_ServerMessage (79));
return false;
}
if (target.isSealed ()) {/ / 봉인 된 장비 강화 불가
pc.sendPackets (new S_ServerMessage (79));
return false;
}
int ringId = target.getItem (). getItemId ();
if (ringId! = 21285 && ringId! = 21286 && ringId! = 21287
&& ringId! = 21288 && ringId! = 21289) {/ / 이외
return false;
}
int enchant_level = target.getEnchantLevel ();
if (enchant_level> = 3) {/ / 강화 상한 +3
pc.sendPackets (new S_ServerMessage (79));
return false;
}
int rnd = _random.nextInt (100) + 1;
int enchant_chance_accessory;
if (enchant_level <0) {
enchant_chance_accessory = 100;
} else {
enchant_chance_accessory =
(100 + 2 * Config.ENCHANT_CHANCE_ACCESSORY) / 2;
}
if (rnd <enchant_chance_accessory) {/ / 성공
successEnchant (pc, target, 1);
pc.getInventory (). saveItem (target);
} else if (target.isProtected ()) {/ / 보호
protectEnchant (pc, item, target);
pc.getInventory (). saveItem (target);
} else {/ / 실패
failureEnchant (pc, target);
pc.getInventory (). deleteItem (target);
}
return true;
}
L1ItemInstance.java
적정부분에
if (_item.getType2 () == 2 && _item.getType ()> = 10
&& _item.getType () <= 13 && _item.getGrade () == 3) { / / 특급
if (_inventoryItem.getEnchantLevel ()> 1) {
result - = _inventoryItem.getEnchantLevel () - 1;
}
}
이것도 적정부분에
if (_item.getType2 () == 2 && _item.getType ()> = 10
&& _item.getType () <= 13 && _item.getGrade () == 3) { / / 특급
if (_inventoryItem.getEnchantLevel ()> 0) {
result + = getEnchantLevel () * 5 + 10;
}
}
자료를 찾아보는데.
혹시 하딘이나 린드이런거 다들하셧나요?
일단 지인들중 안하신분들 드리고있기는한데 다들하신건가요?
//추가 사막부분도요.
//마법도 리뉴얼됫다는데 진자 뭐가몬지모르겟네요
[출처] 10주년 아이템 강화하자 //질문있습니다. (비공개 카페)

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