Invalid condition if an abilitiy contains '!'
cosinussinus opened this issue · 3 comments
Intersting. That exclamation mark (!) in the name is breaking the pattering matching. Best option is to remove it. Since you have the spell id, its not required.
use(#1) [ self.ability(BONESTORM:1761).usable ]
The problem is that pbs allows ability input as plain text.
'[self.ability(BONESTORM).usable]' won't work
The problem is that pbs allows ability input as plain text.
'[self.ability(BONESTORM).usable]' won't work
Yeah, but please never do that. When I share scripts myself, I even change the ability names to what they are semantically, like „filler“ or „buff”. Matching abilities by name has always been a bad idea.
The script with the exclamation mark should of course work though, this is a real bug. Just use the workaround until it is fixed though.