hello guys ...i have 1 system in my pack of when player1 is in party and kill player2 if player's1 party have bishop give reward to bishop. i want make this reward from bishop have rate for example 50% for give reward to bishop....this is the code:
if(player.isInParty()) { for (L2PcInstance member : player.getParty().getPartyMembers()) { if(member.getClassId().getId() == 97) // only cardinal { member.addItem("PVP Reward", 3470, 100, member, true); } } }
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
nikosdevil20
hello guys ...i have 1 system in my pack of when player1 is in party and kill player2 if player's1 party have bishop give reward to bishop. i want make this reward from bishop have rate for example 50% for give reward to bishop....this is the code:
if(player.isInParty())
{
for (L2PcInstance member : player.getParty().getPartyMembers())
{
if(member.getClassId().getId() == 97) // only cardinal
{
member.addItem("PVP Reward", 3470, 100, member, true);
}
}
}
if anyone know something about that post here ty
3 answers to this question
Recommended Posts