From 4713d79e014c775b34d08d89c1cd938487a1c5c9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 8 Aug 2014 09:26:08 +0200 Subject: [PATCH] - BlueShadow's GetArmorInfo submission. --- zdefs.acs | 8 ++++++++ zspecial.acs | 1 + 2 files changed, 9 insertions(+) diff --git a/zdefs.acs b/zdefs.acs index 7469134..27c1cbd 100644 --- a/zdefs.acs +++ b/zdefs.acs @@ -766,6 +766,14 @@ #define SPAC_None 0 +// GetArmorInfo + +#define ARMORINFO_CLASSNAME 0 +#define ARMORINFO_SAVEAMOUNT 1 +#define ARMORINFO_SAVEPERCENT 2 +#define ARMORINFO_MAXABSORB 3 +#define ARMORINFO_MAXFULLABSORB 4 + // ========================================================================== // Skulltag Definitions // ========================================================================== diff --git a/zspecial.acs b/zspecial.acs index 8410707..4571b6e 100644 --- a/zspecial.acs +++ b/zspecial.acs @@ -323,6 +323,7 @@ special -78:GetActorPowerupTics(2), -79:ChangeActorAngle(2,3), -80:ChangeActorPitch(2,3), + -81:GetArmorInfo(1), // Zandronum's -100:ResetMap(0),