v0.2.3: corrected thieves dropping more than one armband.
This commit is contained in:
parent
1104f6473b
commit
6a1a90022e
|
@ -146,7 +146,9 @@ public class Dungeon {
|
||||||
scorpioHP,
|
scorpioHP,
|
||||||
cookingHP,
|
cookingHP,
|
||||||
|
|
||||||
blandfruitSeed;
|
blandfruitSeed,
|
||||||
|
|
||||||
|
armband;
|
||||||
|
|
||||||
public int count = 0;
|
public int count = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,6 +88,15 @@ public class Thief extends Mob {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Item createLoot(){
|
||||||
|
if (Dungeon.limitedDrops.armband.count == 0) {
|
||||||
|
Dungeon.limitedDrops.armband.count++;
|
||||||
|
return super.createLoot();
|
||||||
|
} else
|
||||||
|
return new Gold(Random.NormalIntRange(100, 250));
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int attackSkill( Char target ) {
|
public int attackSkill( Char target ) {
|
||||||
return 12;
|
return 12;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user