Class WorrySeed
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.ChangeAbility
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.WorrySeed
Changes the target's Ability to Insomnia.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyEffectDuring
(PixelmonWrapper user, PixelmonWrapper target) Causes effects before move connects.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.ChangeAbility
weightEffect
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, shouldThawUser
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
-
Constructor Details
-
WorrySeed
public WorrySeed()Initializes Worry Seed.
-
-
Method Details
-
applyEffectDuring
Description copied from class:SpecialAttackBase
Causes effects before move connects.- Overrides:
applyEffectDuring
in classChangeAbility
- Parameters:
user
- The move's user.target
- The move's target.- Returns:
- The result of the effect.
-