fixed chaos stone not runing consume mana effects
This commit is contained in:
1 parent
71d59c7cc7
commit
8f579adf2b
1 file changed
+3
@@ -654,7 +654,10 @@ namespace CalamityMod.ILEditing
|
||||
if (self.Calamity().ChaosStone)
|
||||
{
|
||||
if (pay)
|
||||
{
|
||||
self.statMana -= item.mana;
|
||||
CombinedHooks.OnConsumeMana(self, item, amount);
|
||||
}
|
||||
if (self.statMana < -self.statManaMax2)
|
||||
self.statMana = -self.statManaMax2;
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user