Difference between revisions of "User talk:Lisselli"
no edit summary
imported>Lisselli |
imported>Lisselli |
||
Line 8: | Line 8: | ||
Spell SpellSource | Spell SpellSource | ||
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ | |||
bool abBashAttack, bool abHitBlocked) | |||
If akSource as Spell | |||
SpellSource = akSource as Spell | |||
if GetSpellSkill(SpellSource as Spell, DestructionSpells) == false | |||
debug.notification("The spell was not a Destruction Spell") | |||
return | |||
else | |||
; Things you want to do with SpellSource | |||
endif | endif | ||
endif | |||
EndEvent | |||