From bde494215802a62a16b9fe755f9ab33a96a1c7f4 Mon Sep 17 00:00:00 2001 From: MrHappyAsthma Date: Sat, 8 Feb 2020 22:22:58 -0800 Subject: [PATCH] Remove unused attack type `breath` enum. This enum value is unused. Breath spells seem to just be classified as `magical` with the appropriate element. Removing this should alleviate some ambiguity/confusion when trying to use the appropriate value. --- scripts/globals/status.lua | 1 - src/map/entities/battleentity.h | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/globals/status.lua b/scripts/globals/status.lua index 628fa4f3d0f..3aa33e78608 100644 --- a/scripts/globals/status.lua +++ b/scripts/globals/status.lua @@ -2120,7 +2120,6 @@ dsp.attackType = MAGICAL = 2, RANGED = 3, SPECIAL = 4, - BREATH = 5, } ---------------------------------- diff --git a/src/map/entities/battleentity.h b/src/map/entities/battleentity.h index ff8fba3b823..1ce1a692878 100644 --- a/src/map/entities/battleentity.h +++ b/src/map/entities/battleentity.h @@ -241,7 +241,6 @@ enum ATTACKTYPE ATTACK_MAGICAL = 2, ATTACK_RANGED = 3, ATTACK_SPECIAL = 4, - ATTACK_BREATH = 5, }; enum DAMAGETYPE