Class MysticalPower
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.MysticalPower
Created by HackoJacko on 16/08/2022.
 https://bulbapedia.bulbagarden.net/wiki/Mystical_Power_(move)
- 
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddealtDamage(PixelmonWrapper attacker, PixelmonWrapper defender, Attack attack, DamageTypeEnum damageType) Triggers when an attacker deals damage.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, shouldThawUserMethods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect 
- 
Constructor Details
- 
MysticalPower
public MysticalPower() 
 - 
 - 
Method Details
- 
dealtDamage
public void dealtDamage(PixelmonWrapper attacker, PixelmonWrapper defender, Attack attack, DamageTypeEnum damageType) Description copied from class:EffectBaseTriggers when an attacker deals damage.- Overrides:
 dealtDamagein classEffectBase- Parameters:
 attacker- The source of the damage.defender- The target of the damage.attack- The attack used by the attacker.damageType- The type of damage that was dealt.
 
 -