Closed Jambu1989 closed 1 week ago
This change would break any old quest that relies on... well, this NOT happening. This would need a compat QR added.
kickbucket
effects:
guy_doesntcount
)but does not impact scripting npc Remove (despite the ZASM being called NPCKICKBUCKET...)
Mostly related to cheats or cheat-like weapons. I can't see a quest relying on this behavior, so I suggest we don't need a QR compat rule.
I think we need to articulate a real way this would break a quest before jumping to a QR.
Quests may expect their boss not to die to an instakill ability that can possibly drop from the boss's minions in a dropset.
would a new enemy flag for "ignored by kill all enemies" be better than a qr?
would a new enemy flag for "ignored by kill all enemies" be better than a qr?
Aye, that sounds perfect
A Behavior Flag it is then?
Yes, let's do that. I think we can also consider making the "Kill all enemies" cheat ignore the flag too, but that can come later.
I think the next flag would be 0x00020000 on flags2
? https://github.com/ZQuestClassic/ZQuestClassic/blob/48660bfcbfad6ef6890913e9e565945e6deb3f4a/src/base/zdefs.h#L1364C1-L1364C35
Wow, we really haven't added a new flag in over 8 years. I'm not certain what the process is, but it will involve adding code in readguys
/ writeguys
; and readguys
will need to check the guyversion
to set the existing enemies that are excluded from "kill em all" but won't be in new versions. for example
this will need to be bumped https://github.com/ZQuestClassic/ZQuestClassic/blob/48660bfcbfad6ef6890913e9e565945e6deb3f4a/src/base/zdefs.h#L153
then the editor needs to expose a checkbox for this new flag
then of course, the superman=1
lines needs to be removed, and kickbucket
needs to check (in addition to superman) this new flag
you might want to wait for Emily to give any additional advice or corrections to mine before starting.
Added the flag.
@connorjclark should be ready to go now
well done 🎉
Ringleader Rooms, Cheats, and KillAllEnemies Items will now kill adult Digdoggers.