RealDamage should use power instead of amount.
Thanks to Sero.
This commit is contained in:
parent
f4eeec6f54
commit
4abc778766
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -2677,7 +2677,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
@ -2728,6 +2728,7 @@
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<abnormalType>STEEL_MIND</abnormalType>
|
||||
<hitTime>1000</hitTime>
|
||||
<coolTime>500</coolTime>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
@ -2761,7 +2762,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -2677,7 +2677,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
@ -2728,6 +2728,7 @@
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<abnormalType>STEEL_MIND</abnormalType>
|
||||
<hitTime>1000</hitTime>
|
||||
<coolTime>500</coolTime>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
@ -2761,7 +2762,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -2677,7 +2677,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
@ -2728,6 +2728,7 @@
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<abnormalType>STEEL_MIND</abnormalType>
|
||||
<hitTime>1000</hitTime>
|
||||
<coolTime>500</coolTime>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
@ -2761,7 +2762,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -2677,7 +2677,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
@ -2728,6 +2728,7 @@
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<abnormalType>STEEL_MIND</abnormalType>
|
||||
<hitTime>1000</hitTime>
|
||||
<coolTime>500</coolTime>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
@ -2761,7 +2762,7 @@
|
||||
<staticReuse>true</staticReuse>
|
||||
<effects>
|
||||
<effect name="RealDamage">
|
||||
<amount>30</amount>
|
||||
<power>30</power>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
|
||||
|
||||
public RealDamage(StatSet params)
|
||||
{
|
||||
if (params.getDouble("amount", 0) > 0)
|
||||
{
|
||||
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
|
||||
}
|
||||
_power = params.getDouble("power", 0);
|
||||
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user