사이트 로그인
2016.06.29 11:50
화려한 세트 임팩
if(_pc.getInventory().checkEquipped(1000021) &&
_pc.getInventory().checkEquipped(1000022) &&
_pc.getInventory().checkEquipped(1000023) &&
_pc.getInventory().checkEquipped(1000024)){
int chance = _random.nextInt(100) + 1;
if(chance <90) {
weaponDamage += 5;
_pc.sendPackets(new S_SkillSound(_target.getId(), 4070));
int castle_id = L1CastleLocation.getCastleIdByArea(_pc);//무기이펙 공성시 본인만 보이게
if (castle_id == 0){
Broadcaster.broadcastPacket(_pc, new S_SkillSound(_target.getId(),
4070));
}
}
}
if(_pc.getInventory().checkEquipped(1000021) &&
_pc.getInventory().checkEquipped(1000022) &&
_pc.getInventory().checkEquipped(1000023) &&
_pc.getInventory().checkEquipped(1000024)){
int chance = _random.nextInt(100) + 1;
if(chance <15) {
_pc.sendPackets(new S_SkillSound(_target.getId(), 3696));
int castle_id = L1CastleLocation.getCastleIdByArea(_pc);//무기이펙 공성시 본인만 보이게
if (castle_id == 0){
Broadcaster.broadcastPacket(_pc, new S_SkillSound(_target.getId(),
3696));
}
}
}
if(_pc.getInventory().checkEquipped(1000021) &&
_pc.getInventory().checkEquipped(1000022) &&
_pc.getInventory().checkEquipped(1000023) &&
_pc.getInventory().checkEquipped(1000024)){
int chance = _random.nextInt(100) + 1;
if(chance <5) {
_pc.sendPackets(new S_SkillSound(_target.getId(), 4469));
int castle_id = L1CastleLocation.getCastleIdByArea(_pc);//무기이펙 공성시 본인만 보이게
if (castle_id == 0){
Broadcaster.broadcastPacket(_pc, new S_SkillSound(_target.getId(),
4469));
}
}
}
[출처] 세트 착용시 화려한 임팩 (비공개 카페)