DB/Loot: Fix max count of items from Titanium Ore prospecting loot
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
UPDATE `prospecting_loot_template` SET `maxcount` = 2 WHERE `entry` = 36910;
|
||||||
@@ -8559,7 +8559,7 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
|||||||
case 30885: // Nature's Guardian Rank 4
|
case 30885: // Nature's Guardian Rank 4
|
||||||
case 30886: // Nature's Guardian Rank 5
|
case 30886: // Nature's Guardian Rank 5
|
||||||
{
|
{
|
||||||
if (GetHealthPct() < 30)
|
if (HealthBelowPct(30))
|
||||||
{
|
{
|
||||||
basepoints0 = int32(auraSpellInfo->Effects[EFFECT_0].CalcValue() * GetMaxHealth() / 100.0f);
|
basepoints0 = int32(auraSpellInfo->Effects[EFFECT_0].CalcValue() * GetMaxHealth() / 100.0f);
|
||||||
target = this;
|
target = this;
|
||||||
|
|||||||
Reference in New Issue
Block a user