mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
This commit is contained in:
@@ -3198,7 +3198,7 @@ class spell_gen_upper_deck_create_foam_sword : public SpellScript
|
||||
return;
|
||||
}
|
||||
|
||||
CreateItem(effIndex, itemId[urand(0, 4)], ItemContext::NONE);
|
||||
CreateItem(itemId[urand(0, 4)], ItemContext::NONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1263,7 +1263,7 @@ class spell_item_mingos_fortune_generator : public SpellScript
|
||||
return;
|
||||
}
|
||||
|
||||
CreateItem(effIndex, newitemid, ItemContext::NONE);
|
||||
CreateItem(newitemid, ItemContext::NONE);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user