-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
Signed-off-by: Laise <fenrisse@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -575,6 +575,10 @@ INSERT INTO spell_check (spellid,SpellFamilyName,SpellFamilyMaskA,SpellFamilyMas | |
(67333,-1, -1, -1, -1, -1, -1, 31, -1,-1,'Meteor Fists', 'Spell::EffectWeaponDmg'), | ||
(67485, 0, -1, -1, -1, -1, -1, 2, -1,-1,'Hand of Rekoning', 'Spell::EffectSchoolDMG'), | ||
(67485,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Hand of Rekoning', 'Spell::cast'), | ||
(67486,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Healing Potion Injector', 'Spell::EffectHeal'), | ||
(67487,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Mana Potion Injector', 'Spell::EffectEnergize'), | ||
(67489,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Runic Healing Injector', 'Spell::EffectHeal'), | ||
(67490,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Runic Mana Injector', 'Spell::EffectEnergize'), | ||
(67700, 0, -1, -1, -1, -1, -1, -1, -1,-1,'Penetrating Cold', 'Spell::SetTargetMap'), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kamikazetg
|
||
(68082,-1, -1, -1, -1, -1, -1, 30, -1,-1,'Glyph of Seal of Command', 'Spell::EffectEnergize'), | ||
(68509, 0, -1, -1, -1, -1, -1, -1, -1,-1,'Penetrating Cold', 'Spell::SetTargetMap'), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3246,6 +3246,13 @@ void Spell::EffectHeal(SpellEffectIndex /*eff_idx*/) | |
|
||
addhealth += tickheal * tickcount; | ||
} | ||
// Runic Healing Injector & Healing Potion Injector effect increase for engineers | ||
else if ((m_spellInfo->Id == 67486 || m_spellInfo->Id == 67489) && unitTarget->GetTypeId() == TYPEID_PLAYER) | ||
{ | ||
Player* player = (Player*)unitTarget; | ||
if (player->HasSkill(SKILL_ENGINERING)) | ||
addhealth += int32(addhealth * 0.25); | ||
} | ||
|
||
// Chain Healing | ||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000100)) | ||
|
@@ -3543,6 +3550,17 @@ void Spell::EffectEnergize(SpellEffectIndex eff_idx) | |
case 68082: // Glyph of Seal of Command | ||
damage = damage * unitTarget->GetCreateMana() / 100; | ||
break; | ||
case 67487: // Mana Potion Injector | ||
case 67490: // Runic Mana Injector | ||
{ | ||
if (unitTarget->GetTypeId() == TYPEID_PLAYER) | ||
{ | ||
Player* player = (Player*)unitTarget; | ||
if (player->HasSkill(SKILL_ENGINERING)) | ||
This comment has been minimized.
Sorry, something went wrong.
DarkYodah
Contributor
|
||
damage += int32(damage * 0.25); | ||
} | ||
break; | ||
} | ||
default: | ||
break; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "10436" | ||
#define REVISION_NR "10437" | ||
#endif // __REVISION_NR_H__ |
1 comment
on commit 928f361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonus works even with 1 skill point?
Why was these not added to a Update SQL?