Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60. (#3304)
* Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60
Adding a TrinityCore commit eac9c1f0b9
* Update rev_1597581112860069800.sql
* Update rev_1597581112860069800.sql
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
parent
4b6827fb09
commit
26c99c383f
5 changed files with 47 additions and 1 deletions
|
|
@ -722,6 +722,17 @@ bool ScriptMgr::OnItemRemove(Player * player, Item * item)
|
|||
|
||||
}
|
||||
|
||||
bool ScriptMgr::OnCastItemCombatSpell(Player* player, Unit* victim, SpellInfo const* spellInfo, Item* item)
|
||||
{
|
||||
ASSERT(player);
|
||||
ASSERT(victim);
|
||||
ASSERT(spellInfo);
|
||||
ASSERT(item);
|
||||
|
||||
GET_SCRIPT_RET(ItemScript, item->GetScriptId(), tmpscript, true);
|
||||
return tmpscript->OnCastItemCombatSpell(player, victim, spellInfo, item);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnGossipSelect(Player* player, Item* item, uint32 sender, uint32 action)
|
||||
{
|
||||
ASSERT(player);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue