v0.9.0b: fixed sad ghost awarding weapons 1 tier lower than intended
This commit is contained in:
parent
bb57ab100d
commit
2ee24e7c91
|
@ -289,7 +289,7 @@ public class Ghost extends NPC {
|
|||
case 5: armor = new PlateArmor(); break;
|
||||
}
|
||||
//50%:tier2, 30%:tier3, 15%:tier4, 5%:tier5
|
||||
int wepTier = Random.chances(new float[]{0, 10, 6, 3, 1});
|
||||
int wepTier = Random.chances(new float[]{0, 0, 10, 6, 3, 1});
|
||||
Generator.Category c = Generator.wepTiers[wepTier - 1];
|
||||
weapon = (MeleeWeapon) Reflection.newInstance(c.classes[Random.chances(c.probs)]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user