Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler

This commit is contained in:
Shauren
2021-08-28 19:51:29 +02:00
parent bc2c76a5b8
commit 3dd75a49b1
7 changed files with 349 additions and 353 deletions

View File

@@ -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);
}
}

View File

@@ -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