Added WoS reagent use, general touch ups.
This commit is contained in:
parent
efa5d89539
commit
f2b4f3db9e
11 changed files with 166 additions and 27 deletions
|
@ -17,7 +17,7 @@ public class OmegaParadigmWater extends OmegaParadigm
|
|||
{
|
||||
public OmegaParadigmWater(OmegaArmour helmet, OmegaArmour chestPiece, OmegaArmour leggings, OmegaArmour boots)
|
||||
{
|
||||
super(ReagentRegistry.aquasalusReagent, helmet, chestPiece, leggings, boots, new ReagentRegenConfiguration(50, 10, 100));
|
||||
super(ReagentRegistry.aquasalusReagent, helmet, chestPiece, leggings, boots, new ReagentRegenConfiguration(50, 1, 10));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -37,6 +37,14 @@ public class OmegaParadigmWater extends OmegaParadigm
|
|||
{
|
||||
player.addPotionEffect(new PotionEffect(Potion.waterBreathing.id, 3, 0, true));
|
||||
player.addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionAmphibian.id, 3, 0, true));
|
||||
|
||||
if(world.getWorldTime() % 100 == 0 && !world.isRemote)
|
||||
{
|
||||
if(player.isInWater() && player.getHealth() < player.getMaxHealth())
|
||||
{
|
||||
player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 200, 0, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue