mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Respect return values of legacy attack in chain negotiation (#27724)
This commit is contained in:
@@ -15,3 +15,10 @@
|
||||
|
||||
cultist.click_on(target)
|
||||
TEST_ASSERT_EQUAL(target.puppet.health, target.puppet.getMaxHealth(), "cultist attacking cultist with dagger caused damage")
|
||||
|
||||
// Test some new -> old attack chain shenanigans
|
||||
target.puppet.mind.remove_antag_datum(/datum/antagonist/cultist)
|
||||
|
||||
ADD_TRAIT(cultist.puppet, TRAIT_PACIFISM, "test")
|
||||
cultist.click_on(target)
|
||||
TEST_ASSERT_EQUAL(target.puppet.health, target.puppet.getMaxHealth(), "non-cultist attacked by pacifist")
|
||||
|
||||
Reference in New Issue
Block a user