Fix message for Primal Weather blocking Snowscape (#2082)

This commit is contained in:
Karthik
2023-01-12 20:37:20 -05:00
committed by GitHub
parent 81bbeb7af4
commit b94e2fea22

View File

@@ -1027,7 +1027,7 @@ class BattleTextParser {
const line1 = this.maybeAbility(kwArgs.from, kwArgs.of || pokemon);
let templateId = 'block';
if (['desolateland', 'primordialsea'].includes(blocker) &&
!['sunnyday', 'raindance', 'sandstorm', 'hail', 'snow'].includes(id)) {
!['sunnyday', 'raindance', 'sandstorm', 'hail', 'snowscape', 'chillyreception'].includes(id)) {
templateId = 'blockMove';
} else if (blocker === 'uproar' && kwArgs.msg) {
templateId = 'blockSelf';