Bug - Not A Bug Predicate "monsterid" not working in macro from ash

Baden

Member
Using mafia r20662, is appears that using the monsterid predicate in ash combat macros does not properly evaluate. To reproduce, set mafia CCS to null and run the following command :
Code:
ashq adv1($location[The Dire Warren], -1, `abort monsterid {$monster[fluffy bunny].id}; attack;`)
For me, this resulted in the below combat. Note that I had no familiars/equipment equipped or buffs effects present at the time.
Visit to Mountain: The Dire Warren in progress...

[795] The Dire Warren
Encounter: fluffy bunny
Round 0: Baden wins initiative!
Round 1: Baden executes a macro!
Round 1: Baden attacks!
Round 2: fluffy bunny takes 87 damage.
Round 2: Baden wins the fight!
You gain 14 Meat
You acquire an item: bunny liver
You acquire an item: moist barrel
After Battle: You gain 3 Muscleboundness
After Battle: You gain 2 Magicalness
The expected behavior is for the macro to abort since we encounter a fluffy bunny but that is not the case.
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
Please make a bug report to KoL - this also doesn't work in a native macro
 

Aenimus

Member
This is not a mafia nor native game bug. This was a misunderstanding of how abort works. You can close.
 

Aenimus

Member
I take back what I said. It's a native bug, rather than a Mafia one, though. Something to do with Monster Manuel, so I couldn't replicate.
 
Top