Merging 1.7.5 Source: actors/mobs changes

This commit is contained in:
Evan Debenham
2015-02-02 02:02:48 -05:00
parent e951b7aad8
commit d7934760c5
7 changed files with 209 additions and 26 deletions
@@ -45,9 +45,9 @@ public class Bandit extends Thief {
protected boolean steal( Hero hero ) {
if (super.steal( hero )) {
Buff.prolong( enemy, Blindness.class, Random.Int( 5, 12 ) );
Buff.affect( enemy, Poison.class ).set(Random.Int(5, 7) * Poison.durationFactor(enemy));
Buff.prolong( enemy, Cripple.class, Cripple.DURATION );
Buff.prolong( hero, Blindness.class, Random.Int( 5, 12 ) );
Buff.affect( hero, Poison.class ).set(Random.Int(5, 7) * Poison.durationFactor(enemy));
Buff.prolong( hero, Cripple.class, Cripple.DURATION );
Dungeon.observe();
return true;