v3.2.5: DM-300's rock fall now deals damage (same as gnoll rockfall)
This commit is contained in:
@@ -682,10 +682,17 @@ public class DM300 extends Mob {
|
||||
|
||||
@Override
|
||||
public void affectChar(Char ch) {
|
||||
if (!(ch instanceof DM300)){
|
||||
Buff.prolong(ch, Paralysis.class, Dungeon.isChallenged(Challenges.STRONGER_BOSSES) ? 5 : 3);
|
||||
if (ch == Dungeon.hero) {
|
||||
Statistics.bossScores[2] -= 100;
|
||||
if (!(ch instanceof DM300 || ch instanceof Pylon)){
|
||||
if (Dungeon.isChallenged(Challenges.STRONGER_BOSSES)) {
|
||||
ch.damage(Random.NormalIntRange(10, 20), this);
|
||||
} else {
|
||||
ch.damage(Random.NormalIntRange(6, 12), this);
|
||||
}
|
||||
if (ch.isAlive()) {
|
||||
Buff.prolong(ch, Paralysis.class, Dungeon.isChallenged(Challenges.STRONGER_BOSSES) ? 5 : 3);
|
||||
} else if (ch == Dungeon.hero){
|
||||
Dungeon.fail( target );
|
||||
GLog.n( Messages.get( GnollGeomancer.class, "rockfall_kill") );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user