cleaned up formatting:
- removed trailing whitespace - changed all leading whitespace to tabs - removed IDE created author comments
This commit is contained in:
@@ -75,22 +75,22 @@ public abstract class Plant implements Bundlable {
|
||||
|
||||
if (Dungeon.hero.subClass == HeroSubClass.WARDEN) {
|
||||
|
||||
int naturalismLevel = 0;
|
||||
SandalsOfNature.Naturalism naturalism = Dungeon.hero.buff( SandalsOfNature.Naturalism.class );
|
||||
if (naturalism != null) {
|
||||
naturalismLevel = naturalism.level()+1;
|
||||
}
|
||||
int naturalismLevel = 0;
|
||||
SandalsOfNature.Naturalism naturalism = Dungeon.hero.buff( SandalsOfNature.Naturalism.class );
|
||||
if (naturalism != null) {
|
||||
naturalismLevel = naturalism.level()+1;
|
||||
}
|
||||
|
||||
if (Random.Int( 5 - (naturalismLevel/2) ) == 0) {
|
||||
Item seed = Generator.random(Generator.Category.SEED);
|
||||
Item seed = Generator.random(Generator.Category.SEED);
|
||||
|
||||
if (seed instanceof BlandfruitBush.Seed) {
|
||||
if (Random.Int(15) - Dungeon.limitedDrops.blandfruitSeed.count >= 0) {
|
||||
Dungeon.level.drop(seed, pos).sprite.drop();
|
||||
Dungeon.limitedDrops.blandfruitSeed.count++;
|
||||
}
|
||||
} else
|
||||
Dungeon.level.drop(seed, pos).sprite.drop();
|
||||
if (seed instanceof BlandfruitBush.Seed) {
|
||||
if (Random.Int(15) - Dungeon.limitedDrops.blandfruitSeed.count >= 0) {
|
||||
Dungeon.level.drop(seed, pos).sprite.drop();
|
||||
Dungeon.limitedDrops.blandfruitSeed.count++;
|
||||
}
|
||||
} else
|
||||
Dungeon.level.drop(seed, pos).sprite.drop();
|
||||
}
|
||||
if (Random.Int( 5 - naturalismLevel ) == 0) {
|
||||
Dungeon.level.drop( new Dewdrop(), pos ).sprite.drop();
|
||||
@@ -123,7 +123,7 @@ public abstract class Plant implements Bundlable {
|
||||
private static final float TIME_TO_PLANT = 1f;
|
||||
|
||||
{
|
||||
stackable = true;
|
||||
stackable = true;
|
||||
defaultAction = AC_THROW;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user