PaladinWhite
Member
r15893.
steal() in my combat script is causing me to attack if the Pickpocket action isn't available for some reason (for instance, if I'm a non-moxie class or when I lose initiative). I expected that it would do nothing in these cases... I can handle this by explicitly checking if(contains_text(page, "value=\"steal")). But that seems unnecessarily complicated.
Is the fallback-to-attack intentional or necessary in some way?
steal() in my combat script is causing me to attack if the Pickpocket action isn't available for some reason (for instance, if I'm a non-moxie class or when I lose initiative). I expected that it would do nothing in these cases... I can handle this by explicitly checking if(contains_text(page, "value=\"steal")). But that seems unnecessarily complicated.
Is the fallback-to-attack intentional or necessary in some way?
Last edited: