Let ItemIncreaseDamage spawn
This commit is contained in:
parent
7437a5c18d
commit
aad17c1032
|
@ -59,6 +59,9 @@ public abstract class Item extends CollidableEntity {
|
||||||
case 4:
|
case 4:
|
||||||
new ItemRocket(x, y);
|
new ItemRocket(x, y);
|
||||||
break;
|
break;
|
||||||
|
case 5:
|
||||||
|
new ItemIncreaseDamage(x, y);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,10 @@ public class ItemChance {
|
||||||
public ItemChance() {
|
public ItemChance() {
|
||||||
ItemChance.items = new int[6];
|
ItemChance.items = new int[6];
|
||||||
items[0] = 1; //ItemNuke
|
items[0] = 1; //ItemNuke
|
||||||
|
items[1] = 4; //ItemCredit
|
||||||
items[2] = 2; //ItemHeal
|
items[2] = 2; //ItemHeal
|
||||||
items[3] = 2; //ItemShield
|
items[3] = 2; //ItemShield
|
||||||
items[4] = 2; //ItemRocket
|
items[4] = 2; //ItemRocket
|
||||||
items[1] = 4; //ItemCredit
|
|
||||||
items[5] = 3; //ItemIncreaseDamage
|
items[5] = 3; //ItemIncreaseDamage
|
||||||
|
|
||||||
for(int i=0; i<ItemChance.items.length; i++) {
|
for(int i=0; i<ItemChance.items.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue