test suite: mob attack chain (#28440)

* test suite: mob attack chain

* 100% random zone probability in tests
This commit is contained in:
warriorstar-orion
2025-02-20 10:03:21 -05:00
committed by GitHub
parent 0c48363fd1
commit 6359d3f41b
10 changed files with 189 additions and 4 deletions
+3 -1
View File
@@ -16,7 +16,9 @@
if(!isatom(target))
return ELEMENT_INCOMPATIBLE
RegisterSignal(target, COMSIG_DO_MOB_STRIP, PROC_REF(mouse_drop_onto))
// TODO: override = TRUE because strippable can get reattached to dead mobs after
// revival. Will fix for basic mobs probably maybe.
RegisterSignal(target, COMSIG_DO_MOB_STRIP, PROC_REF(mouse_drop_onto), override = TRUE)
src.items = items