Skip to content

Commit

Permalink
[SD][Spell] Add s.16331 Incorporeal Defense for mobs_spectral_ghostly…
Browse files Browse the repository at this point in the history
…_citizen

Closes #630
  • Loading branch information
AnonXS authored and killerwife committed Jan 10, 2024
1 parent 2ff85f7 commit 0905e8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions sql/base/dbc/cmangos_fixes/Spell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,7 @@ UPDATE `spell_template` SET `AttributesServerSide` = `AttributesServerSide`|0x00
12898, -- Smoke Aura Visual
13483, -- Wither Touch
13879, -- Magma Splash
16331, -- Incorporeal Defense
16577, -- Disease Cloud
17205, -- Winterfall Firewater
17327, -- Spirit Particles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@ UnitAI* GetAI_mob_restless_soul(Creature* pCreature)

enum
{
SPELL_HAUNTING_PHANTOM = 16336,
SPELL_SLAP = 6754
SPELL_INCORPOREAL_DEFENSE = 16331,
SPELL_HAUNTING_PHANTOM = 16336,
SPELL_SLAP = 6754
};

struct mobs_spectral_ghostly_citizenAI : public ScriptedAI
Expand All @@ -225,7 +226,7 @@ struct mobs_spectral_ghostly_citizenAI : public ScriptedAI

void Reset() override
{

DoCastSpellIfCan(nullptr, SPELL_INCORPOREAL_DEFENSE, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT);
}

void JustRespawned() override
Expand Down

0 comments on commit 0905e8c

Please sign in to comment.