mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core: Clean up whitespace and tabs in the base sourcetree
This commit is contained in:
@@ -93,14 +93,14 @@ class spell_ex_5581 : public SpellScriptLoader
|
||||
void HandleAfterCast()
|
||||
{
|
||||
sLog->outString("All immediate actions for the spell are finished now");
|
||||
// this is a safe for triggering additional effects for a spell without interfering
|
||||
// this is a safe for triggering additional effects for a spell without interfering
|
||||
// with visuals or with other effects of the spell
|
||||
//GetCaster()->CastSpell(target, SPELL_TRIGGERED, true);
|
||||
}
|
||||
|
||||
SpellCastResult CheckRequirement()
|
||||
{
|
||||
// in this hook you can add additional requirements for spell caster (and throw a client error if reqs're not passed)
|
||||
// in this hook you can add additional requirements for spell caster (and throw a client error if reqs're not passed)
|
||||
// in this case we're disallowing to select non-player as a target of the spell
|
||||
//if (!GetTargetUnit() || GetTargetUnit()->ToPlayer())
|
||||
//return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
Reference in New Issue
Block a user