v0.2.4: reworked bombs
This commit is contained in:
@@ -284,6 +284,12 @@ public class Heap implements Bundlable {
|
||||
//stop processing current explosion, it will be replaced by the new one.
|
||||
return;
|
||||
|
||||
} else if (item instanceof Honeypot.ShatteredPot){
|
||||
|
||||
//need to let the bee know the pot is being destroyed.
|
||||
((Honeypot.ShatteredPot) item).goAway();
|
||||
items.remove( item );
|
||||
|
||||
//unique and upgraded items can endure the blast
|
||||
} else if (!(item.level > 0 || item.unique))
|
||||
items.remove( item );
|
||||
@@ -318,7 +324,7 @@ public class Heap implements Bundlable {
|
||||
((Potion) item).shatter(pos);
|
||||
frozen = true;
|
||||
} else if (item instanceof Bomb){
|
||||
((Bomb) item).fuseLit = false;
|
||||
((Bomb) item).fuse = null;
|
||||
frozen = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user