From aad17c10321079d2016925b187797a3661e0aaf5 Mon Sep 17 00:00:00 2001 From: Sosch Date: Mon, 24 Nov 2014 23:48:51 +0100 Subject: [PATCH] Let ItemIncreaseDamage spawn --- src/de/teamteamteam/spacescooter/entity/item/Item.java | 3 +++ src/de/teamteamteam/spacescooter/entity/item/ItemChance.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/de/teamteamteam/spacescooter/entity/item/Item.java b/src/de/teamteamteam/spacescooter/entity/item/Item.java index e0ec96c..5069cef 100644 --- a/src/de/teamteamteam/spacescooter/entity/item/Item.java +++ b/src/de/teamteamteam/spacescooter/entity/item/Item.java @@ -59,6 +59,9 @@ public abstract class Item extends CollidableEntity { case 4: new ItemRocket(x, y); break; + case 5: + new ItemIncreaseDamage(x, y); + break; } } } diff --git a/src/de/teamteamteam/spacescooter/entity/item/ItemChance.java b/src/de/teamteamteam/spacescooter/entity/item/ItemChance.java index 161b605..c1e2631 100644 --- a/src/de/teamteamteam/spacescooter/entity/item/ItemChance.java +++ b/src/de/teamteamteam/spacescooter/entity/item/ItemChance.java @@ -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