enderalse/source/scripts/_00e_mq17_generatorhitboxsc.psc

12 lines
472 B
Plaintext

Scriptname _00E_MQ17_GeneratorHitBoxSC extends ObjectReference
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If !LinkedGenerator.IsDead() && MQ17.GetCurrentStageID() >= 75 && akAggressor == Game.GetPlayer()
LinkedGenerator.CheckForDamage(akSource)
EndIf
EndEvent
Quest Property MQ17 Auto
_00E_MQ17_BossFight_GeneratorSC Property LinkedGenerator Auto