Bug - Fixed Mafia ignores filterfunc if pre-adventure script adventures

Ryo_Sangnoir

Developer
Staff member
Suppose we have a script that wants to adventure in the Hero's Field with a particular filterFunc -- adv1($location[Hero's Field], -1, "handle_8bit_combat")

Furthermore, suppose we have a pre-adventure script that wants to ensure we have enough +item drop to maximize our points gained in the Hero's Field. One buff this might get is Shadow Waters, obtained by adventuring in the Shadow Rifts with a Rufus's shadow lodestone.

If this happen, the adv1 call will use the default battle action, as though you had passed "" instead of the custom provided filterFunc.
 
Back
Top