Ivy Cudgel: Show animations for different types

This commit is contained in:
Kris Johnson 2023-11-14 01:45:46 -07:00
parent 29204e1c61
commit 3a8818fe70

View File

@ -9889,6 +9889,11 @@ export const Moves: {[moveid: string]: MoveData} = {
priority: 0,
flags: {protect: 1, mirror: 1},
critRatio: 2,
onPrepareHit(target, source, move) {
if (move.type !== "Grass") {
this.attrLastMove('[anim] Ivy Cudgel ' + move.type);
}
},
onModifyType(move, pokemon) {
switch (pokemon.species.name) {
case 'Ogerpon-Wellspring': case 'Ogerpon-Wellspring-Tera':