נכון כדי לעשות שכל המפלצות בשרת יזרקו חפץ מסוים צריך למצוא את השורה הזאת
ולהדביק מתחת את זה נכון?קוד PHP:List<Integer> toDrop = new ArrayList<Integer>();
אבל זה לא מוצא את השורה למעלה ה list<integer> toDropקוד PHP:if (dropOwner.getEventInstance() == null) {
int chance = (int) (Math.random() * 100);
if (chance < 20) { // 20% chance of dropping the item
toDrop.add(4001126);
}
}
מי שלא מאמין יכול לבדות
http://www.f2h.co.il/25anuzh01d2



ציטוט ההודעה




ספוילר: 