Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8)
This commit is contained in:
@@ -141,7 +141,7 @@ namespace Scripts.Spells.Paladin
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnCreate()
|
||||
public override void OnCreate(Spell creatingSpell)
|
||||
{
|
||||
RefreshPeriod();
|
||||
_refreshTimer = _period;
|
||||
|
||||
@@ -410,7 +410,7 @@ namespace Scripts.Spells.Shaman
|
||||
_period = TimeSpan.FromSeconds(1);
|
||||
}
|
||||
|
||||
public override void OnCreate()
|
||||
public override void OnCreate(Spell creatingSpell)
|
||||
{
|
||||
Unit caster = at.GetCaster();
|
||||
if (caster != null)
|
||||
|
||||
Reference in New Issue
Block a user