public static class AttackStatChange.StatChangeData extends StandardParticleAnimationData
Constructor and Description |
---|
StatChangeData() |
StatChangeData(BattleStatsType stat,
int stages) |
Modifier and Type | Method and Description |
---|---|
EffectType |
getEffectEnum() |
int |
getStages() |
BattleStatsType |
getStat() |
void |
initFromAttack(ImmutableAttack attack,
int effectivePower,
Element effectiveType) |
AttackStatChange.StatChangeData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
AttackStatChange.StatChangeData |
setStages(int stages) |
AttackStatChange.StatChangeData |
setStat(BattleStatsType stat) |
void |
writeToByteBuffer(io.netty.buffer.ByteBuf buf) |
getLifetimeTicks, getPower, getRGB, getScale, getSpeed, getTexture, makeEffect, setLifetimeTicks, setPower, setRGB, setScale, setSpeed, setTexture
ball, beam, buff, createSystem, explosion, radial, rain, tube
public StatChangeData()
public StatChangeData(BattleStatsType stat, int stages)
public EffectType getEffectEnum()
getEffectEnum
in class AttackAnimationData
public AttackStatChange.StatChangeData setStat(BattleStatsType stat)
public AttackStatChange.StatChangeData setStages(int stages)
public void initFromAttack(ImmutableAttack attack, int effectivePower, Element effectiveType)
initFromAttack
in class StandardParticleAnimationData
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf)
writeToByteBuffer
in class StandardParticleAnimationData
public AttackStatChange.StatChangeData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer
in class StandardParticleAnimationData
public BattleStatsType getStat()
public int getStages()