@@ -4,9 +4,9 @@ int numHits = 0
44
55Event OnMagicEffectApply (ObjectReference akCaster , MagicEffect akEffect )
66; Debug.Trace("C00: Vilkas hit by magic.")
7- if (Game . GetPlayer () == akCaster )
8- GetOwningQuest (). SetStage (100 )
9- endif
7+ ; if (Game.GetPlayer() == akCaster)
8+ ; GetOwningQuest().SetStage(100)
9+ ; endif
1010EndEvent
1111
1212Event OnEnterBleedout ()
@@ -24,30 +24,30 @@ Function BleedoutChecks()
2424 GetOwningQuest (). SetStage (125 )
2525 endif
2626EndFunction
27-
27+ ; Change for SkyrimTogetherReborn 1.6.7+animation is to allow more mods by not magic checking the hit which can have combat or perk overhaul hidden effects
2828Event OnHit (ObjectReference akAggressor , Form akSource , Projectile akProjectile , bool abPowerAttack , bool abSneakAttack , bool abBashAttack , bool abHitBlocked )
2929; Debug.Trace("C00: Vilkas was hit.")
3030; Debug.Trace("C00: Vilkas hit datums -- " + akAggressor + " " + akSource + " " + akProjectile + " " + abPowerAttack + " " + abSneakAttack + " " + abBashAttack + " " + abHitBlocked)
31- if (akSource as Spell )
31+ ; if (akSource as Spell)
3232; Debug.Trace("C00: Vilkas hit by spell; bailing out and handling it in the magic effect handler.")
33- return
34- elseif (akSource as Explosion )
33+ ; return
34+ ; elseif (akSource as Explosion)
3535; Debug.Trace("C00: Vilkas hit by explosion; bailing out and handling it in the other handlers.")
36- return
37- endif
38- ; if (Game.GetPlayer() == akAggressor) ; The original script didn't account for remote STR bystanders not hitting
39- if ((akSource as Spell ) != None )
40- GetOwningQuest (). SetStage (100 )
41- return
42- endif
36+ ; return
37+ ; endif
38+ ; if (Game.GetPlayer() == akAggressor)
39+ ; if ((akSource as Spell) != None)
40+ ; GetOwningQuest().SetStage(100)
41+ ; return
42+ ; endif
4343 numHits += 1
4444 if (numHits >= 3 )
4545 GetOwningQuest (). SetStage (150 )
4646 endif
47- ; else; Removing this part lets STR remote or pacifist players get the same quest stage and stopcombat at 3 hits
47+ ; else
4848; ; someone else hit him, stop the quest and have him berate you
4949; GetOwningQuest().SetStage(110)
50- ; endif; No STR methods needed to reach stopcombat solution suggested in tiltedphoques/TiltedEvolution/issues/598
50+ ; endif
5151EndEvent
5252
5353Function ResetHits ()
0 commit comments