Class SpecialAttackBase
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
- Direct Known Subclasses:
Acrobatics,Acupressure,AddType,AfterYou,AlluringVoice,AllySwitch,AromaticMist,Assist,Assurance,AuraWheel,BarbBarrage,BatonPass,BeakBlast,BeatUp,Befuddle,Belch,BellyDrum,Bestow,BoltBeak,BrickBreak,BugBite,BurningJealousy,Camouflage,Captivate,Celebrate,ChangeAbility,CheckedStrikes,ChiStrike,ClangorousSoul,Coaching,ConsumeType,Conversion,Conversion2,Copycat,CoreEnforcer,CorrosiveGas,CourtChange,Cuddle,Curse,DamageReflect,Defog,Depletion,DireClaw,DoSetDamage,DoubleOnHalf,DragonCheer,DragonDarts,DragonEnergy,Drain,DreamEater,Drive,DynamaxCannon,EchoedVoice,EerieSpell,ElectroBall,Endeavor,Entrainment,Eruption,ExpandingForce,Facade,FakeOut,FalseSwipe,Feint,FellStinger,FickleBeam,FilletAway,Finale,FinalGambit,Flail,FlameBurst,Flee,Fling,FlowerShield,FlyingPress,FocusEnergy,FocusPunch,FreezeDry,Frustration,FuryCutter,FusionBolt,FusionFlare,FutureSight,GigatonHammer,GlaiveRush,GoldRush,GravApple,Growth,GyroBall,HappyHour,HardPress,Haze,HealBell,HeavySlam,Hex,HiddenPower,HoldHands,HydroSteam,Hyperspace,Incinerate,Instruct,Judgment,JumpKick,JungleHealing,KnockOff,LashOut,LastResort,LastRespects,LowKick,MagicPowder,MagneticFlux,Magnitude,Malodor,MeFirst,Memento,Metronome,Mimic,MindBlown,MirrorMove,MultiAttack,MysticalPower,NaturalGift,NaturePower,NaturesMadness,NightShade,OHKO,OrderUp,PainSplit,PartingShot,Payback,PayDay,PhotonGeyser,Pledge,PollenPuff,Poltergeist,PopulationBomb,Present,PsychicNoise,PsychoShift,PsychUp,Psystrike,Psywave,Punishment,Purify,Pursuit,Quash,Rage,RageFist,RagingBull,RaiseStats,RapidSpin,Recover,Recycle,ReflectType,Refresh,RelicSong,Replenish,Rest,Retaliate,Return,RevelationDance,Revenge,Reversal,RevivalBlessing,RisingVoltage,RolePlay,Rototiller,Round,ScaleShot,ScorchingSands,SecretPower,SelfBoost,ShedTail,ShellSideArm,ShellTrap,ShoreUp,Sketch,SkillSwap,SleepTalk,SmackDown,SmellingSalt,Smite,Snooze,Snore,Soak,SparklingAria,SpectralThief,Spite,SpitUp,Splash,StatReplaceEffect,SteelBeam,SteelRoller,StompingTantrum,StoredPower,Struggle,StuffCheeks,StunShock,SuckerPunch,Suicide,SupercellSlam,SuperEffectiveBoost,Swallow,Swap,Sweetness,SwitchOut,Synchronoise,Synthesis,TakeHeart,TeaTime,TerrainPulse,Thaw,Thief,TidyUp,TopsyTurvy,Toxic,Transform,TriAttack,Trick,TripleAxel,TripleKick,TrumpCard,UpperHand,VenomDrench,Venoshock,VoltCrash,WakeUp,WakeUpSlap,WeatherBall,WringOut,ZNaturePower
Superclass for miscellaneous move effects.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFires after the moves functionality has completed, after damage, etc.voidapplyEffect(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target) Causes effects before move connects.booleancantMiss(PixelmonWrapper user) Determines whether a move cannot miss.booleanHas the move ignore weather effects.floatChanges the move's priority.booleanoverridesDefendingStat(PixelmonWrapper pw, PixelmonWrapper target) Changes the stat the target uses to defend.booleanWhether the move should thaw the attacker.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
SpecialAttackBase
public SpecialAttackBase()
-
-
Method Details
-
applyEffectDuring
Causes effects before move connects.- Parameters:
user- The move's user.target- The move's target.- Returns:
- The result of the effect.
-
applyEffect
Causes various effects during the move.- Specified by:
applyEffectin classEffectBase- Parameters:
user- The move's user.target- The move's target.
-
applyAfterEffect
Fires after the moves functionality has completed, after damage, etc.- Parameters:
user- - The user of the move.
-
cantMiss
Description copied from class:EffectBaseDetermines whether a move cannot miss.- Specified by:
cantMissin classEffectBase- Parameters:
user- The move's user.- Returns:
- Whether the move can't miss.
-
modifyPriority
Changes the move's priority.- Parameters:
pw- The move's user.- Returns:
- The new priority of the move.
-
overridesDefendingStat
Changes the stat the target uses to defend.- Parameters:
pw- The move's user.target- The move's target.- Returns:
- Whether the target switches between using Defense and Special Defense.
-
ignoresWeather
Has the move ignore weather effects.- Parameters:
pw- The move's user.- Returns:
- Whether the move is affected by weather.
-
shouldThawUser
Whether the move should thaw the attacker.- Parameters:
pw- The move's user.- Returns:
- if the user should be thawed.
-