enderalse/scripts/source/spearsquest.psc

68 lines
3.3 KiB
Plaintext

Scriptname SpearsQuest extends Quest Conditional
Import Game
Import Debug
int Property myModID2 Auto
int Property my_1hmidle_base2 Auto
int Property my_1hmmt_base2 Auto
int Property my_1hmatk_base2 Auto
int Property my_1hmatkpow_base2 Auto
int Property my_1hmblock_base2 Auto
int Property my_1hmeqp_base2 Auto
int Property my_2hmidle_base2 Auto
int Property my_2hmmt_base2 Auto
int Property my_2hmatk_base2 Auto
int Property my_2hmatkpow_base2 Auto
int Property my_2hmblock_base2 Auto
int Property my_2hmeqp_base2 Auto
int Property my_2hwidle_base2 Auto
int Property my_2hwatk_base2 Auto
int Property my_2hwatkpow_base2 Auto
int Property my_2hwblock_base2 Auto
int Property my_2hweqp_base2 Auto
int Property my_magidle_base2 Auto
int Property my_magmt_base2 Auto
int Property my_magatk_base2 Auto
int Property my_mageqp_base2 Auto
int Property my_shield_base2 Auto
int Property my_sneakidle_base2 Auto
int Property my_sneakmt_base2 Auto
int Property myModCRC2 Auto
Event OnInit()
myModCRC2 = FNIS_aa.GetInstallationCRC()
if (myModCRC2 == 0)
;installation error: no AA generated by FNIS
else
myModID2 = FNIS_aa.GetAAModID("tsc", "Spears", true) ;true during test only
my_1hmidle_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmidle(),"Spears",true)
my_1hmmt_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmidle(),"Spears",true)
my_1hmatk_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmatk(), "Spears",true)
my_1hmatkpow_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmatkpow(),"Spears",true)
my_1hmblock_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmblock(),"Spears",true)
my_1hmeqp_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._1hmeqp(),"Spears",true)
my_2hmidle_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmidle(),"Spears",true)
my_2hmmt_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmidle(),"Spears",true)
my_2hmatk_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmatk(), "Spears",true)
my_2hmatkpow_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmatkpow(),"Spears",true)
my_2hmblock_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmblock(),"Spears",true)
my_2hmeqp_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hmeqp(),"Spears",true)
my_2hwidle_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hwidle(),"Spears",true)
my_2hwatk_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hwatk(), "Spears",true)
my_2hwatkpow_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hwatkpow(),"Spears",true)
my_2hwblock_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hwblock(),"Spears",true)
my_2hweqp_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._2hweqp(),"Spears",true)
my_magidle_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._magidle(),"Spears",true)
my_magmt_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._magmt(),"Spears",true)
my_magatk_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._magatk(),"Spears",true)
my_mageqp_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._mageqp(),"Spears",true)
my_shield_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._shield(),"Spears",true)
my_sneakidle_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._sneakidle(),"Spears",true)
my_sneakmt_base2 = FNIS_aa.GetGroupBaseValue(myModID2, FNIS_aa._sneakmt(),"Spears",true)
endif
EndEvent