mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/SpellScript: allow optional parameters to be passed to FinishCast
followup of 50a3ce5703
This commit is contained in:
@@ -441,7 +441,7 @@ class TC_GAME_API SpellScript : public _SpellScript
|
||||
SpellInfo const* GetTriggeringSpell();
|
||||
|
||||
// finishes spellcast prematurely with selected error message
|
||||
void FinishCast(SpellCastResult result);
|
||||
void FinishCast(SpellCastResult result, uint32* param1 = nullptr, uint32* param2 = nullptr);
|
||||
|
||||
void SetCustomCastResultMessage(SpellCustomErrors result);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user