v0.2.3: tied new artifacts into item generation.
This commit is contained in:
parent
92c018ac44
commit
a42ccd3b6c
|
@ -19,6 +19,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items;
|
||||||
|
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Ghost;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Wandmaker.Rotberry;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Wandmaker.Rotberry;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.*;
|
import com.shatteredpixel.shatteredpixeldungeon.items.armor.*;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.*;
|
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.*;
|
||||||
|
@ -187,8 +188,13 @@ public class Generator {
|
||||||
HornOfPlenty.class,
|
HornOfPlenty.class,
|
||||||
MasterThievesArmband.class,
|
MasterThievesArmband.class,
|
||||||
SandalsOfNature.class,
|
SandalsOfNature.class,
|
||||||
TalismanOfForesight.class};
|
TalismanOfForesight.class,
|
||||||
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1 };
|
TimekeepersHourglass.class,
|
||||||
|
UnstableSpellbook.class,
|
||||||
|
AlchemistsToolkit.class,
|
||||||
|
DriedRose.class //starts with no chance of spawning, chance is set directly after beating ghost quest.
|
||||||
|
};
|
||||||
|
Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0 };
|
||||||
|
|
||||||
Category.SEED.classes = new Class<?>[]{
|
Category.SEED.classes = new Class<?>[]{
|
||||||
Firebloom.Seed.class,
|
Firebloom.Seed.class,
|
||||||
|
@ -342,7 +348,7 @@ 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, 1, 1, 0, 1, 1 };
|
Category.ARTIFACT.probs = new float[]{ 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0 };
|
||||||
spawnedArtifacts = new ArrayList<String>();
|
spawnedArtifacts = new ArrayList<String>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user