Let ItemIncreaseDamage spawn

This commit is contained in:
Sosch 2014-11-24 23:48:51 +01:00
parent 7437a5c18d
commit aad17c1032
2 changed files with 4 additions and 1 deletions

View File

@ -59,6 +59,9 @@ public abstract class Item extends CollidableEntity {
case 4:
new ItemRocket(x, y);
break;
case 5:
new ItemIncreaseDamage(x, y);
break;
}
}
}

View File

@ -17,10 +17,10 @@ public class ItemChance {
public ItemChance() {
ItemChance.items = new int[6];
items[0] = 1; //ItemNuke
items[1] = 4; //ItemCredit
items[2] = 2; //ItemHeal
items[3] = 2; //ItemShield
items[4] = 2; //ItemRocket
items[1] = 4; //ItemCredit
items[5] = 3; //ItemIncreaseDamage
for(int i=0; i<ItemChance.items.length; i++) {