Switch conditional has type string but label expression has type monster (wham.ash, line 1158)
[/tt]. Beyond making every stasis macro only perform one round, I don't think this would have any other negative consequence, however.
Hi Winterbay! Popping in to your lovely WHAM thread with assorted tidbits, responses, and news.
First of all, towards resolving the BatBrain fork I've reported the Groar issue as a bug, since he's just a regular cold monster, which means if mafia knew that, we wouldn't need to add additional special handling for him. NOTE: As I was writing this post, it was fixed. Superfast response!
Secondly, away from resolving the BatBrain fork I've changed m_regular() to return a spread, as I really should have in March when I changed player HP to player damage. I figured it would be polite to give you a heads-up on this.
EDIT: Actually, now that I've looked at WHAM, you're not calling it anywhere that isn't copied over from SS -- which means you'd make those changes anyway. So I won't feel bad about making this update after all! w00t
Thirdly, in an effort to track down frono's issue, I took a look at WHAM and saw that it duplicates almost all of SS -- which rather makes me wonder why you'd import it all, but that's beside the point. I found something mildly undesirable which is unfortunately not the source of frono's problem, but which you probably would like to fix. In stasis_repeat_WHAM() you have a reference to kill_rounds(smack).
However, everywhere else you are using smacks, not smack, which means kill_rounds is returning the monster's HP/0.00001, not your actual selected attack option from WHAM's attack_option(). Beyond making every stasis macro only perform one round, I don't think this would have any other negative consequence, however.
I just upgraded to the latest one just now but whenever I try to fight anything:
Bad monster value: "frustrating knight" (BatBrain.ash, line 617)
Consult script 'WHAM.ash' not found.
You're on your own, partner.
I'm not fighting a frustrating knight. WHAM.ash is in my script folder.
Upgrade mafia here.
Read the next line, it says you need to update every hour.Ah thanks very much! I didn't know I would need to update manually every Sunday.
I vote for whatever merges the fork and then eliminates copy and paste from SS into WHAM but since I don't have a Happy Medium I get to pontificate as a Software Engineer and Configuration Manager and not as a user ;-)