Removed all instance scripts so we can have script project back and spells will work again.

This commit is contained in:
hondacrx
2020-12-07 15:29:06 -05:00
parent a702e070f3
commit 900362a7d7
104 changed files with 2273 additions and 41604 deletions
+2 -5
View File
@@ -159,9 +159,6 @@ namespace Scripts.Spells.Holiday
{
public const uint RibbonPole = 181605;
}
[Script] // 45102 Romantic Picnic
class spell_love_is_in_the_air_romantic_picnic : AuraScript
{
@@ -178,7 +175,7 @@ namespace Scripts.Spells.Holiday
Unit target = GetTarget();
Unit caster = GetCaster();
// If our player is no longer sit, remove all auras
// If our player is no longer sit, Remove all auras
if (target.GetStandState() != UnitStandStateType.Sit)
{
target.RemoveAura(SpellIds.RomanticPicnicAchiev);
@@ -756,7 +753,7 @@ namespace Scripts.Spells.Holiday
{
Unit target = GetTarget();
// check if aura needs to be removed
// check if aura needs to be Removed
if (!target.FindNearestGameObject(GameobjectIds.RibbonPole, 8.0f) || !target.HasUnitState(UnitState.Casting))
{
target.InterruptNonMeleeSpells(false);