mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Fix Illumination and Infusion of Light procs.
--HG-- branch : trunk
This commit is contained in:
9
sql/updates/1764_world.sql
Normal file
9
sql/updates/1764_world.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Infusion of Light
|
||||
REPLACE INTO `spell_proc_event` VALUES (54149, 0x00, 10, 2097152, 65536, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
REPLACE INTO `spell_proc_event` VALUES (53672, 0x00, 10, 2097152, 65536, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
-- Illumination
|
||||
REPLACE INTO `spell_proc_event` VALUES (20210, 0x00, 10, 3221225472, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
REPLACE INTO `spell_proc_event` VALUES (20212, 0x00, 10, 3221225472, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
REPLACE INTO `spell_proc_event` VALUES (20213, 0x00, 10, 3221225472, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
REPLACE INTO `spell_proc_event` VALUES (20214, 0x00, 10, 3221225472, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
REPLACE INTO `spell_proc_event` VALUES (20215, 0x00, 10, 3221225472, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);
|
||||
@@ -72,4 +72,5 @@ INSTALL(FILES
|
||||
1730_world.sql
|
||||
1732_world.sql
|
||||
1755_world.sql
|
||||
1764_world.sql
|
||||
DESTINATION share/trinity/sql/updates)
|
||||
@@ -2013,6 +2013,8 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
|
||||
currentAbsorb = mod->m_amount;
|
||||
RemainingDamage=0;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
}
|
||||
|
||||
// Reflective Shield
|
||||
@@ -5919,7 +5921,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||
if (dummySpell->SpellIconID == 3017)
|
||||
{
|
||||
// hardcoded amount
|
||||
basepoints0 = 15 * GetMaxPower(POWER_MANA)/100;
|
||||
basepoints0 = 15 * GetCreatePowers(POWER_MANA)/100;
|
||||
target = this;
|
||||
triggered_spell_id = 57669;
|
||||
// replenishment
|
||||
@@ -11539,7 +11541,7 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
|
||||
continue;
|
||||
|
||||
procTriggered.push_back( ProcTriggeredData(spellProcEvent, itr->second) );
|
||||
}
|
||||
}
|
||||
|
||||
// Nothing found
|
||||
if (procTriggered.empty())
|
||||
|
||||
Reference in New Issue
Block a user