enderalse/source/scripts/_00e_mq17_generatorhitboxsc.psc

12 lines
463 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.GetStage() >= 75 && akAggressor == Game.GetPlayer()
LinkedGenerator.CheckForDamage(akSource)
EndIf
EndEvent
Quest Property MQ17 Auto
_00E_MQ17_BossFight_GeneratorSC Property LinkedGenerator Auto