MeAndUnique / CapitalGains

MIT License
1 stars 2 forks source link

Conflict with Advanced Spell Damage #1

Open eryon opened 2 years ago

eryon commented 2 years ago

With this extension and bratch9's Advanced Spell Damage, this error is generated whenever you work with a sheet that has a resource consumption effect. I know that is a paid extension, so I am going to link this ticket on that thread.

[ERROR]  Script execution error: [string "scripts/manager_power_cg.lua"]:75: bad argument #3 to 'format' (string expected, got nil)

In this screenshot you can see the extension working (ASD has been disabled). When it fails, the effect line "Spend 2 sorcery points" is lost and the error shows in the console.

image

MeAndUnique commented 2 years ago

The error message suggests that something is causing the resource action not to be handled in PowerManager.getPCPowerAction(). Either that or perhaps further upstream the action itself is not being identified as having the "resource" type. Unfortunately, there's not much I can do beyond speculation without access to the full code involved.

eryon commented 2 years ago

I've linked this issue to bratch9 on the forums. He's usually pretty responsive 🤞