darkcodelagsniper
Member
I'm trying to track lovebug currency drops using a post adventure script, using
The problem being that run_combat() returns the page text from last time I fought a combat, so will trigger again if I encounter a noncombat. I need a way to tell if the last encounter was a combat in order to avoid this.
The first thing I came up with is:
but this fails for Dreadsylvanian monsters because
Are there any better solutions anyone can think of?
Code:
run_combat().contains_text(<lovebug currency drop text>)
The first thing I came up with is:
Code:
to_monster(get_property("lastEncounter")) == last_monster()
Code:
"Stinkfur, Woman Chewer" != $monster[Stench Werewolf]
Are there any better solutions anyone can think of?