From ef79a0607bc7d0603f7b716d24fcafd22ef9e66c Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Thu, 26 Jun 2014 10:04:21 -0400 Subject: [PATCH] Update SE_AETaunt - Base value will now determine AE taunt range (This will not result in any change to currently used spells). --- changelog.txt | 1 + common/spdat.h | 4 ++-- zone/spell_effects.cpp | 9 +++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index a2d099bab..a177460ee 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,7 @@ Kayen: Implemented SE_StrikeThough (Was incorrectly defined as implemented previ Kayen: Update SE_Taunt - Limit value if present will now add instant hate. Kayen: Implemented SE_MassGroupBuff - Allows next group buff cast to be a MGB (AA now uses this) Kayen: Implemented SE_IllusionOther - Allows next Illusion buff (self only) cast to be cast on target. (AA now uses this) +Kayen: Update SE_AETaunt - Base value will now determine AE taunt range (This will not result in any change to currently used spells). Required SQL: utils/sql/git/required/2014_06_25_AA_Update.sql diff --git a/common/spdat.h b/common/spdat.h index ea4218ff1..7773a95c4 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -237,7 +237,7 @@ typedef enum { #define SE_MagnifyVision 87 // implemented - Telescope #define SE_Succor 88 // implemented - Evacuate/Succor lines #define SE_ModelSize 89 // implemented - Shrink, Growth -#define SE_Cloak 90 // *not implemented - Used in only 2 spells +//#define SE_Cloak 90 // *not implemented - Used in only 2 spells #define SE_SummonCorpse 91 // implemented #define SE_InstantHate 92 // implemented - add hate #define SE_StopRain 93 // implemented - Wake of Karana @@ -351,7 +351,7 @@ typedef enum { #define SE_RangedProc 201 // implemented #define SE_IllusionOther 202 // implemented - Project Illusion #define SE_MassGroupBuff 203 // implemented -#define SE_GroupFearImmunity 204 // *not implemented as bonus +#define SE_GroupFearImmunity 204 // implemented - (Does not use bonus) #define SE_Rampage 205 // implemented #define SE_AETaunt 206 // implemented #define SE_FleshToBone 207 // implemented diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 635fc9270..f2587a0d3 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -2237,8 +2237,13 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial) #ifdef SPELL_EFFECT_SPAM snprintf(effect_desc, _EDLEN, "AE Taunt"); #endif - if(caster && caster->IsClient()) - entity_list.AETaunt(caster->CastToClient()); + if(caster && caster->IsClient()){ + float range = 0.0f; + if (spells[spell_id].base2[i]) + range = (float)spells[spell_id].base[i]; + + entity_list.AETaunt(caster->CastToClient(), range); + } break; }