I can't say precisely when this behavior changed, as there has been 'something' which has prevented me from using every build since 2480. I'm hoping that this time, I can perhaps modify the script I'm using to properly handle the new behavior. Here's the code that's causing the problem:
Note that the print()'s on the left edge were added just to identify the line which is causing the problem. Here's the tail of the output from when I run the script of which this library is a part:
Any thoughts?
Code:
print("trying to cast " + skill_to_string(TSkill));
boolean flag = true;
boolean trap;
int current = have_effect(TEffect);
while(have_effect(TEffect) < turns && flag) {
print("Using..");
trap = use_skill(1, TSkill);
print("Used...");
flag = (have_effect(TEffect) > current);
current = have_effect(TEffect);
}
return (have_effect(TEffect) >= turns);
Note that the print()'s on the left edge were added just to identify the line which is causing the problem. Here's the tail of the output from when I run the script of which this library is a part:
Code:
Maintaining Tenacity of the Snapper
trying to cast Tenacity of the Snapper
Could not recover enough mana to cast Tenactity of the Snapper
Script aborted!
Any thoughts?