mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-27 04:37:56 -05:00
Update status-setting move effectiveness tooltips (#2629)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
This commit is contained in:
@@ -1845,14 +1845,14 @@ export class BattleTooltips {
|
||||
let inflictsStatus = null;
|
||||
let inflictsEffect = null;
|
||||
if (category === 'Status') {
|
||||
if (['thunderwave', 'glare', 'stunspore'].includes(move.id)) inflictsStatus = 'par';
|
||||
if (['toxic', 'poisonpowder'].includes(move.id)) inflictsStatus = 'psn';
|
||||
if (['glare', 'stunspore', 'thunderwave'].includes(move.id)) inflictsStatus = 'par';
|
||||
if (['toxic', 'poisongas', 'poisonpowder'].includes(move.id)) inflictsStatus = 'psn';
|
||||
if ([
|
||||
'spore', 'sleeppowder', 'hypnosis', 'sing', 'lovelykiss', 'darkvoid', 'yawn',
|
||||
'darkvoid', 'grasswhistle', 'hypnosis', 'lovelykiss', 'sing', 'sleeppowder', 'spore', 'yawn',
|
||||
].includes(move.id)) inflictsStatus = 'slp';
|
||||
if (move.id === 'willowisp') inflictsStatus = 'brn';
|
||||
if (['block', 'meanlook', 'spiderweb'].includes(move.id)) inflictsEffect = 'trapped';
|
||||
if (['confuseray', 'supersonic'].includes(move.id)) inflictsEffect = 'confusion';
|
||||
if (['confuseray', 'supersonic', 'sweetkiss', 'teeterdance'].includes(move.id)) inflictsEffect = 'confusion';
|
||||
}
|
||||
|
||||
/** any factor that's "effectiveness-like" rather than literal type effectiveness */
|
||||
|
||||
Reference in New Issue
Block a user