Slay the Spire

Slay the Spire

评价数不足
MultiDamage Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
4.839 KB
2 月 23 日 下午 10:34
1 项改动说明 ( 查看 )

订阅以下载
MultiDamage Fix

描述
Fixes a common crash bug that can occur when multi-target attacks are auto-played.
Sets isMultiDamage=true in the constructor of cards with ALL_ENEMY target, to ensure multiDamage gets initialized in AbstractCard.applyPowers.

Error message associated with the bug fixed:
java.lang.NullPointerException: null at com.megacrit.cardcrawl.actions.common.DamageAllEnemiesAction.update(DamageAllEnemiesAction.java:98)