Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname SAM_AldousDeathScript extends ObjectReference
- Event OnCombatStateChanged(Actor akTarget, int aeCombatState)
- if SAM_AldousQuest03.GetStage() >= 20
- if (SAM_AldousRef.IsInInterior() == 1)
- debug.notification("Aldous Lost Lift Other")
- SAM_AldousRef.RemoveSpell(SAM_LiftOtherNew)
- SAM_AldousRef.AddSpell(LightningBolt)
- SAM_AldousRef.AddSpell(ThunderBolt)
- else
- Utility.Wait(0.5)
- if (SAM_AldousRef.GetCombatTarget().HasKeyword(ImmuneParalysis) == 0)
- if (SAM_AldousRef.GetCombatTarget().HasKeyword(ActorTypeDragon) == 0)
- if (SAM_AldousRef.GetCombatTarget().HasKeyword(MagicNoReanimate) == 0)
- debug.notification("Aldous Has Lift Other")
- SAM_AldousRef.RemoveSpell(LightningBolt)
- SAM_AldousRef.RemoveSpell(ThunderBolt)
- SAM_AldousRef.AddSpell(SAM_LiftOtherNew)
- endif
- endif
- endif
- endif
- else
- debug.notification("Aldous Has Shock Spells")
- SAM_AldousRef.AddSpell(LightningBolt)
- SAM_AldousRef.AddSpell(ThunderBolt)
- endif
- endEvent
- Quest Property SAM_AldousQuest01 Auto
- Quest Property SAM_AldousQuest02 Auto
- Quest Property SAM_AldousQuest03 Auto
- Quest Property SAM_AldousDialogue Auto
- GlobalVariable Property SAM_01FollowerVariable Auto
- GlobalVariable Property SAM_ALDQ02MorkgatenPackageGlobal Auto
- GlobalVariable Property SAM_ALDQ02AldousAlone Auto
- Actor Property SAM_zGhost Auto
- SPELL Property SAM_FrenzyGhost Auto
- SPELL Property SAM_LiftOtherNew Auto
- SPELL Property LightningBolt Auto
- SPELL Property ThunderBolt Auto
- Actor Property SAM_AldousRef Auto
- Keyword Property ImmuneParalysis Auto
- Keyword Property ActorTypeDragon Auto
- Keyword Property MagicNoReanimate Auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement