Misc fixes

This commit is contained in:
hondacrx
2021-11-15 22:40:38 -05:00
parent a01138b19a
commit 51c292c349
5 changed files with 7 additions and 23 deletions
+2 -5
View File
@@ -710,7 +710,7 @@ namespace Game.Spells
unitTarget.m_Events.AddEventAtOffset(new DelayedSpellTeleportEvent(unitTarget, targetDest, unitTarget == m_caster ? TeleportToOptions.Spell : 0, m_spellInfo.Id), TimeSpan.FromMilliseconds(effectInfo.MiscValue));
}
[SpellEffectHandler(SpellEffectName.ApplyAura)]
[SpellEffectHandler(SpellEffectName.ApplyAuraOnPet)]
void EffectApplyAura()
@@ -3169,9 +3169,6 @@ namespace Game.Spells
if (unitTarget == null || !unitTarget.IsTypeId(TypeId.Unit))
return;
if (RandomHelper.randChance(50)) // chance unknown, using 50
return;
uint[] spellPlayer = new uint[5]
{
45674, // Bigger!
@@ -5659,7 +5656,7 @@ namespace Game.Spells
sceneObject.SetCreatedBySpellCast(m_castId);
}
}
[SpellEffectHandler(SpellEffectName.PlayScene)]
void EffectPlayScene()
{
+1
View File
@@ -3297,6 +3297,7 @@ namespace Game.Spells
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
case 71204: // Touch of Insignificance, Lady Deathwhisper, Icecrown Citadel
return false;
case 24732: // Bat Costume
case 30877: // Tag Murloc
case 61716: // Rabbit Costume
case 61734: // Noblegarden Bunny