v0.3.0a: corrected artifact generation bug
This commit is contained in:
parent
ec2d1bf511
commit
31af8e946d
|
@ -196,7 +196,7 @@ public class Generator {
|
|||
LloydsBeacon.class,
|
||||
EtherealChains.class
|
||||
};
|
||||
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0 , 1};
|
||||
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1};
|
||||
|
||||
Category.SEED.classes = new Class<?>[]{
|
||||
Firebloom.Seed.class,
|
||||
|
@ -354,7 +354,8 @@ public class Generator {
|
|||
|
||||
//resets artifact probabilities, for new dungeons
|
||||
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>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user