What base?
|
What base?
make safespotting the same as wild, just not wild? idk how to make it more simple lol
second, add it in boolean attack()
There is for 3 items.Code:public boolean has3Items() { int itemAmount = 0; for(int i = 0; i < playerEquipment.length; i++) { if(playerEquipment[i] > 0) itemAmount++; } for(int j = 0; j < playerItems.length; j++) { if(playerItems[j] > 0) itemAmount++; } if(itemAmount >= 3) return true; return false; }
then put at the top of the attack() method
if(has3items == true){
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |