v1.2.0: balance changes to alchemy bomb recipes
This commit is contained in:
parent
110eaf8222
commit
057ecd5407
|
@ -352,20 +352,20 @@ public class Bomb extends Item {
|
||||||
|
|
||||||
private static final HashMap<Class<?extends Bomb>, Integer> bombCosts = new HashMap<>();
|
private static final HashMap<Class<?extends Bomb>, Integer> bombCosts = new HashMap<>();
|
||||||
static {
|
static {
|
||||||
bombCosts.put(FrostBomb.class, 2);
|
bombCosts.put(FrostBomb.class, 0);
|
||||||
bombCosts.put(WoollyBomb.class, 2);
|
bombCosts.put(WoollyBomb.class, 0);
|
||||||
|
|
||||||
bombCosts.put(Firebomb.class, 4);
|
bombCosts.put(Firebomb.class, 1);
|
||||||
bombCosts.put(Noisemaker.class, 4);
|
bombCosts.put(Noisemaker.class, 1);
|
||||||
|
|
||||||
bombCosts.put(Flashbang.class, 6);
|
bombCosts.put(Flashbang.class, 2);
|
||||||
bombCosts.put(ShockBomb.class, 6);
|
bombCosts.put(ShockBomb.class, 2);
|
||||||
|
|
||||||
bombCosts.put(RegrowthBomb.class, 8);
|
bombCosts.put(RegrowthBomb.class, 3);
|
||||||
bombCosts.put(HolyBomb.class, 8);
|
bombCosts.put(HolyBomb.class, 3);
|
||||||
|
|
||||||
bombCosts.put(ArcaneBomb.class, 10);
|
bombCosts.put(ArcaneBomb.class, 6);
|
||||||
bombCosts.put(ShrapnelBomb.class, 10);
|
bombCosts.put(ShrapnelBomb.class, 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -67,8 +67,8 @@ public class HolyBomb extends Bomb {
|
||||||
if (ch.properties().contains(Char.Property.UNDEAD) || ch.properties().contains(Char.Property.DEMONIC)){
|
if (ch.properties().contains(Char.Property.UNDEAD) || ch.properties().contains(Char.Property.DEMONIC)){
|
||||||
ch.sprite.emitter().start( ShadowParticle.UP, 0.05f, 10 );
|
ch.sprite.emitter().start( ShadowParticle.UP, 0.05f, 10 );
|
||||||
|
|
||||||
//bomb deals an additional 67% damage to unholy enemies in a 5x5 range
|
//bomb deals an additional 50% damage to unholy enemies in a 5x5 range
|
||||||
int damage = Math.round(Random.NormalIntRange( Dungeon.depth+5, 10 + Dungeon.depth * 2 ) * 0.67f);
|
int damage = Math.round(Random.NormalIntRange( Dungeon.depth+5, 10 + Dungeon.depth * 2 ) * 0.5f);
|
||||||
ch.damage(damage, this);
|
ch.damage(damage, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user