mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 09:02:47 +02:00
Fix hithealattr apply method
This commit is contained in:
parent
6c0d6dbe57
commit
3551f69b0e
@ -2254,7 +2254,7 @@ export class HitHealAttr extends MoveEffectAttr {
|
||||
* @returns true if the function succeeds
|
||||
*/
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
if (target.hasAbilityWithAttr(ReverseDrainAbAttr)) {
|
||||
if (target.hasAbilityWithAttr("ReverseDrainAbAttr")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user