#
# Stat definitions for Spycraft mode
#
STATNAME:Strength		ABB:STR	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=STR|STRSCORE-10		BONUS:COMBAT|TOHIT.Melee|STR|TYPE=Ability			BONUS:COMBAT|DAMAGE.Melee,DAMAGE.Thrown|STR	BONUS:COMBAT|DAMAGEMULT:0|0.5*(STR>=0)	BONUS:COMBAT|DAMAGEMULT:1|1	BONUS:COMBAT|DAMAGEMULT:2|1.5*(STR>=0)	DEFINE:LOADSCORE|STRSCORE	BONUS:COMBAT|TOHIT.Grapple|STR|TYPE=Ability	DEFINE:MUSCLE|STRSCORE		DEFINE:TWOHANDDAMAGEDIVISOR|2		DEFINE:OFFHANDLIGHTBONUS|2	DEFINE:VEHICLESPEED|0	DEFINE:VEHICLECRUISINGMPH|VehicleSpeed/10	DEFINE:VEHICLETOPMPH|VehicleCruisingMPH*2	DEFINE:VEHICLEDEFENSE|0		DEFINE:VEHICLEHANDLING|0	DEFINE:VEHICLEWOUNDPOINTS|0	DEFINE:VEHICLEHARDNESS|0	DEFINE:CURRENTVEHICLEMODS|0	DEFINE:MAXVEHICLEMODS|ceil(VehicleWoundPoints/10)
STATNAME:Dexterity	ABB:DEX	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=DEX|DEXSCORE-10		BONUS:COMBAT|TOHIT.Ranged|DEX					DEFINE:INITCOMP|DEX					BONUS:COMBAT|AC|10|TYPE=Base	BONUS:COMBAT|AC|min(DEX,min(MXDXEN,MODEQUIPMAXDEX))|TYPE=Ability	DEFINE:MXDXEN|0			BONUS:VAR|MXDXEN|1000|PREVAREQ:ENCUMBERANCE,0	BONUS:VAR|MXDXEN|3|PREVAREQ:ENCUMBERANCE,1	BONUS:VAR|MXDXEN|1|PREVAREQ:ENCUMBERANCE,2	PENALTYVAR:MXDXEN		DEFINE:ACTIONDICE|0		BONUS:VAR|ACTIONDICE|((TL-1)/5)+3	DEFINE:ACTIONDIETYPE|0		BONUS:VAR|ACTIONDIETYPE|(floor((TL+9)/5))*2	DEFINE:ACTIONDIEBONUS|0		DEFINE:FightingDefensivelyACBonus|0	DEFINE:FIGHTINGDEFENSIVELYAC|0	DEFINE:TotalDefenseACBonus|0	DEFINE:TotalDefenseAC|0	BONUS:COMBAT|AC|max(FightingDefensivelyAC,TotalDefenseAC)|TYPE=Dodge
STATNAME:Constitution	ABB:CON	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=CON|CONSCORE-10		BONUS:HP|ALTHP|CONSCORE						BONUS:HP|BONUS|CON
STATNAME:Intelligence	ABB:INT	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=INT|INTSCORE-10		BONUS:LANG|BONUS|INT						BONUS:MODSKILLPOINTS|NUMBER|INT			DEFINE:EDUCATION|0		BONUS:VAR|EDUCATION|TL+INT	DEFINE:EDUCATIONMISC|Education-INT		DEFINE:NATIVELANGUAGES|INT+1			DEFINE:PSIONLEVEL|0
STATNAME:Wisdom		ABB:WIS	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=WIS|WISSCORE-10																			DEFINE:INSPIRATION|0		BONUS:VAR|INSPIRATION|TL+WIS	DEFINE:INSPIRATIONMISC|Inspiration-WIS	DEFINE:SynergyBonus|2
STATNAME:Charisma		ABB:CHA	STATMOD:floor(SCORE/2)-5	DEFINE:MAXLEVELSTAT=CHA|CHASCORE-10		DEFINE:FAVORCHECK|0	BONUS:VAR|FAVORCHECK|TL		DEFINE:BUDGETPOINTS|(CHA*5)+40			DEFINE:GADGETPOINTS|0		DEFINE:MISSIONBUDGET|0

#
#Currently the code supports exactly three checks. Will fix later.
#
CHECKNAME:Fortitude	BONUS:CHECKS|Fortitude|CON
CHECKNAME:Reflex		BONUS:CHECKS|Reflex|DEX
CHECKNAME:Will		BONUS:CHECKS|Will|WIS

# get a bonus level 1 spell at score of 12 and every 8 points beyond that
BONUSSPELLLEVEL:1	BASESTATSCORE:12	STATRANGE:8
BONUSSPELLLEVEL:2	BASESTATSCORE:14	STATRANGE:8
BONUSSPELLLEVEL:3	BASESTATSCORE:16	STATRANGE:8
BONUSSPELLLEVEL:4	BASESTATSCORE:18	STATRANGE:8
BONUSSPELLLEVEL:5	BASESTATSCORE:20	STATRANGE:8
BONUSSPELLLEVEL:6	BASESTATSCORE:22	STATRANGE:8
BONUSSPELLLEVEL:7	BASESTATSCORE:24	STATRANGE:8
BONUSSPELLLEVEL:8	BASESTATSCORE:26	STATRANGE:8
BONUSSPELLLEVEL:9	BASESTATSCORE:28	STATRANGE:8
