Hello i have a problem with this code i get no errors in eclipse but in game it doesnt work..
to Player.java
if(getParty()!= null){for(Player p : getParty().getMembers()){if(Config.Synergy_Class.contains(p.getClassId().getId())&& p.isInCombat()&&(Rnd.get(100)<=90)){
p.sendMessage("You have earned a pvp by supporting "+ target.getName());
p.getPvpKills();}}}
and the config
publicstaticList<Integer>Synergy_Class=newArrayList<>();StringSynergy_Class= customs.getProperty("ClassesSupp","97");String[] atdc_splitted =Synergy_Class.split(",");for(String s : atdc_splitted){Synergy_Class.add(Integer.valueOf(s));}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Weekend Of The Dwarfs Event!
The first event from a set of many, coming soon : 31 Jan - 2 Feb! A weekend dedicated to our hard working friends , dwarfs. During this weekend craft chance is increased by +10% and chance to obtain masterwork items is doubled. Spoil drop rate increased by 10%.
As you may have noticed, normal members cannot edit their own threads.
I have extended normal members to edit their own content up to 1440 minutes (24 hours or 1 day) after they made their topic/post.
To access unlimited edits of your contents, you need to upgrade to Premium or Gold Member .
Question
ThelwHelpRePaidia
Hello i have a problem with this code i get no errors in eclipse but in game it doesnt work..
19 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.