public class HiddenPower extends SpecialAttackBase
modifiers
Constructor and Description |
---|
HiddenPower() |
Modifier and Type | Method and Description |
---|---|
AttackResult |
applyEffectStart(PixelmonWrapper user,
PixelmonWrapper target)
Causes effects before the move's power is calculated.
|
static Element |
getHiddenPowerType(net.minecraft.entity.player.PlayerEntity playerEntity,
Pokemon pokemon,
IVStore ivs,
java.lang.String reason)
Gets Hidden Power's type based on IVs.
|
static IVStore |
getOptimalIVs(Element type)
Gets the optimal IVs for a maximum-power Hidden Power of a certain type.
|
applyAfterEffect, applyEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public AttackResult applyEffectStart(PixelmonWrapper user, PixelmonWrapper target)
EffectBase
applyEffectStart
in class EffectBase
user
- The move's user.target
- The move's target.public static Element getHiddenPowerType(net.minecraft.entity.player.PlayerEntity playerEntity, Pokemon pokemon, IVStore ivs, java.lang.String reason)
ivs
- The IVs to calculate Hidden Power's type with.