Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
Port From (https://github.com/TrinityCore/TrinityCore/commit/3dd75a49b190098010803014072c0c8bee2996bd)
This commit is contained in:
@@ -2888,7 +2888,7 @@ namespace Scripts.Spells.Generic
|
||||
return;
|
||||
}
|
||||
|
||||
CreateItem(effIndex, itemId[RandomHelper.URand(0, 4)], ItemContext.None);
|
||||
CreateItem(itemId[RandomHelper.URand(0, 4)], ItemContext.None);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1429,7 +1429,7 @@ namespace Scripts.Spells.Items
|
||||
return;
|
||||
}
|
||||
|
||||
CreateItem(effIndex, newitemid, ItemContext.None);
|
||||
CreateItem(newitemid, ItemContext.None);
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
|
||||
Reference in New Issue
Block a user