Class Teleport
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SwitchOut
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Teleport
Lets wild Pokémon escape from battle, otherwise just switches out.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffect
(PixelmonWrapper userWrapper, PixelmonWrapper targetWrapper) Causes various effects during the move.applyEffectDuring
(PixelmonWrapper user, PixelmonWrapper target) Causes effects before move connects.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SwitchOut
applyEffectAfterAllTargets, handleSwitch, weightEffect
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, shouldThawUser
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance
-
Constructor Details
-
Teleport
public Teleport()
-
-
Method Details
-
applyEffect
Description copied from class:SpecialAttackBase
Causes various effects during the move.- Overrides:
applyEffect
in classSwitchOut
- Parameters:
userWrapper
- The move's user.targetWrapper
- The move's target.
-
applyEffectDuring
Description copied from class:SpecialAttackBase
Causes effects before move connects.- Overrides:
applyEffectDuring
in classSwitchOut
- Parameters:
user
- The move's user.target
- The move's target.- Returns:
- The result of the effect.
-