mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fixed the OHKO attribute (accidentally removed) and fixed multiplier
This commit is contained in:
parent
da88aa2858
commit
ab97001a9a
@ -2333,7 +2333,7 @@ export class IceNoEffectTypeMultiplierAttr extends VariableMoveTypeMultiplierAtt
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
const multiplier = args[0] as Utils.NumberHolder;
|
||||
if (target.isOfType(Type.ICE)) {
|
||||
multiplier.value *= 0; // Increased twice because initial reduction against water
|
||||
multiplier.value = 0;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -4654,6 +4654,7 @@ export function initMoves() {
|
||||
.attr(TrapAttr, BattlerTagType.SAND_TOMB)
|
||||
.makesContact(false),
|
||||
new AttackMove(Moves.SHEER_COLD, Type.ICE, MoveCategory.SPECIAL, 200, 20, 5, -1, 0, 3)
|
||||
.attr(OneHitKOAttr)
|
||||
.attr(IceNoEffectTypeMultiplierAttr)
|
||||
.attr(SheerColdAttr),
|
||||
new AttackMove(Moves.MUDDY_WATER, Type.WATER, MoveCategory.SPECIAL, 90, 85, 10, 30, 0, 3)
|
||||
|
Loading…
Reference in New Issue
Block a user