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
|
@Override
|
||||||
public void affectChar(Char ch) {
|
public void affectChar(Char ch) {
|
||||||
if (!(ch instanceof DM300)){
|
if (!(ch instanceof DM300 || ch instanceof Pylon)){
|
||||||
Buff.prolong(ch, Paralysis.class, Dungeon.isChallenged(Challenges.STRONGER_BOSSES) ? 5 : 3);
|
if (Dungeon.isChallenged(Challenges.STRONGER_BOSSES)) {
|
||||||
if (ch == Dungeon.hero) {
|
ch.damage(Random.NormalIntRange(10, 20), this);
|
||||||
Statistics.bossScores[2] -= 100;
|
} 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