God spells now properly drain stats

Charge spell no longer null-dereferences when attempting to refresh it
Manually casting spells no longer changes attack style
This commit is contained in:
Avi Weinstock
2023-03-01 07:48:31 +00:00
committed by Ryan
parent 6d182a5984
commit e1faa64af7
3 changed files with 44 additions and 28 deletions
@@ -226,7 +226,6 @@ abstract class CombatSwingHandler(var type: CombatStyle?) {
entity.attack(victim)
entity.removeAttribute("autocast_component")
}
weapEx?.setAttackStyle(1)
weapEx?.updateInterface()
entity.debug("Adjusting attack style")
}