Class Purify
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Purify
Created by Jay113355 on 7/28/2020.
The target is cured if it has a major status condition.
If the target was cured, the user restores 1/2 of its maximum HP, rounded half up.
https://bulbapedia.bulbagarden.net/wiki/Purify_(move)
-
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.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, weightEffect
-
Constructor Details
-
Purify
public Purify()
-
-
Method Details
-
applyEffectDuring
Description copied from class:SpecialAttackBase
Causes effects before move connects.- Overrides:
applyEffectDuring
in classSpecialAttackBase
- Parameters:
user
- The move's user.target
- The move's target.- Returns:
- The result of the effect.
-