v0.3.0a: corrected artifact generation bug
This commit is contained in:
@@ -354,7 +354,8 @@ public class Generator {
|
|||||||
|
|
||||||
//resets artifact probabilities, for new dungeons
|
//resets artifact probabilities, for new dungeons
|
||||||
public static void initArtifacts() {
|
public static void initArtifacts() {
|
||||||
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0 };
|
//FIXME: the duplicated logic here has caused 1 bug so far, should refactor.
|
||||||
|
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1};
|
||||||
spawnedArtifacts = new ArrayList<String>();
|
spawnedArtifacts = new ArrayList<String>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user