aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/base/world_database.sql3
-rw-r--r--sql/updates/world/2011_05_11_05_world_spell_proc_event.sql2
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp9
3 files changed, 12 insertions, 2 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index 06564590319..5ed9b63e391 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -19298,8 +19298,7 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam
( 63737, 0x00, 6, 0x00000800, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Serendipity
( 64127, 0x00, 6, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Body and Soul
( 64129, 0x00, 6, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Body and Soul
-( 64568, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 3), -- Blood Reserve
-( 64571, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 30), -- Blood Draining
+( 64571, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 10), -- Blood Draining
( 64440, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000020, 0, 0, 20), -- Blade Warding
( 64714, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Flame of the Heavens
( 64738, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Show of Faith
diff --git a/sql/updates/world/2011_05_11_05_world_spell_proc_event.sql b/sql/updates/world/2011_05_11_05_world_spell_proc_event.sql
new file mode 100644
index 00000000000..b149236622f
--- /dev/null
+++ b/sql/updates/world/2011_05_11_05_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 64568;
+UPDATE `spell_proc_event` SET `cooldown` = 10 WHERE `entry` = 64571;
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index eeae8bf6fc6..903f64bacb4 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -8087,6 +8087,15 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
if (GetStat(STAT_SPIRIT) > stat) { trigger_spell_id = 60235; }
break;
}
+ case 64568: // Blood Reserve
+ {
+ if (HealthBelowPctDamaged(35, damage))
+ {
+ CastCustomSpell(this, 64569, &triggerAmount, NULL, NULL, true);
+ RemoveAura(64568);
+ }
+ return false;
+ }
case 67702: // Death's Choice, Item - Coliseum 25 Normal Melee Trinket
{
float stat = 0.0f;