Added an AgriCraft Harvest Handler for their crops (uses reflection, so will be pulled as soon as the official one is made on their side)
Added the checks required for Strength to affect the damage of the Tool Paradigms.
This commit is contained in:
parent
201c70a766
commit
34f779563e
11 changed files with 136 additions and 34 deletions
|
@ -118,11 +118,11 @@ public class OmegaArmourWind extends OmegaArmour
|
|||
|
||||
public float getHealthBoostModifierForLevel(int yLevel)
|
||||
{
|
||||
return 0.05f * ((((float)yLevel)/64f) * 1.5f - 1);
|
||||
return 0.05f * ((((float)Math.min(yLevel, 255))/64f) * 1.5f - 1);
|
||||
}
|
||||
|
||||
public float getDamageModifierForLevel(int yLevel)
|
||||
{
|
||||
return 0.02f * ((((float)yLevel)/64f) * 1.5f - 1);
|
||||
return 0.02f * ((((float)Math.min(yLevel, 255))/64f) * 1.5f - 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue