From d8e852fe10d7e5197c57e64bc42fecd340366065 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 6 Jun 2023 22:57:31 +0200 Subject: [PATCH] - RR: fixed damage type handling for the dynamite arrows --- .../zscript/games/duke/actors/redneckweapons/crossbow.zs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wadsrc/static/zscript/games/duke/actors/redneckweapons/crossbow.zs b/wadsrc/static/zscript/games/duke/actors/redneckweapons/crossbow.zs index ec64a7e4dd..450b59e60f 100644 --- a/wadsrc/static/zscript/games/duke/actors/redneckweapons/crossbow.zs +++ b/wadsrc/static/zscript/games/duke/actors/redneckweapons/crossbow.zs @@ -31,6 +31,11 @@ class RedneckDynamiteArrow : DukeRPG self.Destroy(); } + override class GetRadiusDamageType(int targhealth) + { + if (targhealth > 0) return 'RedneckDynamiteArrow'; + return 'DukeRadiusExplosion'; + } }