Scripts

TR_m3_q_vampambush

TR_Mainland.esm
Variables 12
Local Variables
done
nolore
nohello
noflee
noidle
nointruder
nothief
TR_Map
T_Local_Vampire
checkonce
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m3_q_vampambush 2 3short done 4short nolore 5short nohello 6short noflee 7short noidle 8short nointruder 9short nothief 10short TR_Map 11short T_Local_Vampire 12short checkonce 13short T_Local_NPC 14short T_Local_NoLore 15 16if ( OnDeath == 1 ) 17 AddItem "ingred_vampire_dust_01" 1 18endif 19 20if ( done == 0 ) 21 AddSpell "Vampire Blood Berne" ;this is the blood disease 22 AddSpell "Vampire Attributes" 23 AddSpell "Vampire Skills" 24 AddSpell "Vampire Immunities" 25 AddSpell "Vampire Sun Damage" 26 AddSpell "Vampire Touch" 27 AddSpell "Vampire Berne Specials" 28 ModRestoration 75 29 set TR_Map to 3 30 set done to 1 31endif 32 33if ( GetJournalIndex TR_m4_VA_Proper >= 10 ) 34 35 if ( checkonce ) 36 return 37 endif 38 39 set checkonce to 1 40 41 if ( GetDeadCount "TR_m3_V_Armennu" > 0 ) 42 if ( GetDisabled ) 43 enable 44 endif 45 endif 46 47 return 48 49endif 50 51disable 52 53end