Fix Burn damage and add more splash messages

pull/18/head
Flashfyre 2024-03-27 11:38:50 -04:00
parent 28ff6f5638
commit c8ac42f267
2 changed files with 9 additions and 1 deletions

View File

@ -15,9 +15,17 @@ export const splashMessages = [
'That\'s Crazy!',
'Orance Juice!',
'Questionable Balancing!',
'Cool Shaders!',
'AI-Free!',
'Help Wanted!',
'Sudden Difficulty Spikes!',
'Based on an Unfinished Flash Game!',
'More Addictive than Intended!',
'Mostly Consistent Seeds!',
'Achievement Points Don\'t Do Anything!',
'You Do Not Start at Level 2000!',
'Also Try Pokéngine!',
'Also Try Emerald Rogue!',
'Eevee Expo!',
'YNOproject!'
];

View File

@ -2636,7 +2636,7 @@ export class PostTurnStatusEffectPhase extends PokemonPhase {
switch (pokemon.status.effect) {
case StatusEffect.POISON:
case StatusEffect.BURN:
damage = Math.max(pokemon.getMaxHp() >> 3, 1);
damage = Math.max(pokemon.getMaxHp() >> 4, 1);
break;
case StatusEffect.TOXIC:
damage = Math.max(Math.floor((pokemon.getMaxHp() / 16) * pokemon.status.turnCount), 1);