pokemon-showdown/data/conditions.ts
this.damage(pokemon.baseMaxhp / 16);
pokemon-showdown/data/mods/FORMAT_NAME/conditions.ts
I think I did not properly phrase that. I mean the Attack-halving effect that Burn inflicts. I believe that's the chip damage that Burn inflicts.The effect of burn damage is inpokemon-showdown/data/conditions.ts
You can see the constant in line 17:this.damage(pokemon.baseMaxhp / 16);
If you want to change it for a specific format you can go topokemon-showdown/data/mods/FORMAT_NAME/conditions.ts
If you ever want to find something like this in the future a quick and dirty way is to use github's search feature. Just go to the repo in your browser, type in what you want to look for in the search bar, and click "in this repository". I hope the answer I gave is helpful (and I hope it's correct haha).
I think I did not properly phrase that. I mean the Attack-halving effect that Burn inflicts. I believe that's the chip damage that Burn inflicts.
pokemon-showdown/sim/battle-actions.ts
at line 1702. Here's a link.Thanks for your help!Sorry for my bad reading comprehension
As far as I can tell what you're looking for is inpokemon-showdown/sim/battle-actions.ts
at line 1702. Here's a link.
There's some more stuff related to halving attack in other gens and etc but this is hopefully sufficient for your needs.