mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 05:12:19 +02:00
Update pokemon.ts
Removed log
This commit is contained in:
parent
e2317b79a3
commit
f0bf7743a6
@ -2052,7 +2052,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
switch (effect) {
|
switch (effect) {
|
||||||
case StatusEffect.POISON:
|
case StatusEffect.POISON:
|
||||||
case StatusEffect.TOXIC:
|
case StatusEffect.TOXIC:
|
||||||
console.log('checking poison immunity', this.name, types, sourcePokemon?.name, sourcePokemon?.id)
|
|
||||||
// Check if the Pokemon is immune to Poison/Toxic or if the source pokemon is canceling the immunity
|
// Check if the Pokemon is immune to Poison/Toxic or if the source pokemon is canceling the immunity
|
||||||
let poisonImmunity = types.map(defType => {
|
let poisonImmunity = types.map(defType => {
|
||||||
// Check if the Pokemon is not immune to Poison/Toxic
|
// Check if the Pokemon is not immune to Poison/Toxic
|
||||||
|
Loading…
Reference in New Issue
Block a user