; Test-Combat.ipt
; created 1/18/2019 11:02:47 AM
Prompt: Attacker Name: {Orc|Levendor|Player2|Player3} Levendor
Prompt: Defender Name {Orc|Levendor|Player2|Player3} Player2
;Use: nbos\Levendor.ipt
;Use: nbos\Player2.ipt
//Set: AttPS=[#{PS} Levendor]
Header: DragonQuest Combat
Maxreps:1
Table: DQCombat
Define: Attacker={$Prompt1}
Define: Defender={$Prompt2}
Use: nbos\DQ\Levendor.ipt
Use: nbos\DQ\Player2.ipt
Use: nbos\DQ\Player3.ipt
Use: nbos\DQ\ORC.ipt
#Set Titles
Set: armour_heading =
Armour
Set: shield_heading =
Shield
Set: rank_title =Rank:
Set: PS_title =PS:
Set: MD_title =MD:
Set: IV_title =IV:
Set: base_title =Base:
Set: SC_title =SC:
Set: damage_title =Damage:
Set: range_title =Range:
Set: class_title =Class:
Set: use_title =Use:
Set: def_title =Def:
Set: MDmod_title =MD Modifer:
Set: prot_title = Protection:
Set: AGloss_title = AG Modifier:
Set: MR_title = Magic Resistance:
#layouts
#Used so that the weapons and armour can be displayed after the stats
Set: weapons_layout =Weapons
[@weapon_types]
Set: defence_layout =Defence
Defence: {Def}%[when]{shield_def}>0[do]
Defence with Shield: {Defws}%[end]
Set: AttPS=[#PS {$Attacker}]
Set: AttMD=[#MD {$Attacker}]
Set: AttAG=[#AG {$Attacker}]
Set: AttMA=[#MA {$Attacker}]
Set: AttEN=[#EN {$Attacker}]
Set: AttFT=[#FT {$Attacker}]
Set: AttWP=[#WP {$Attacker}]
Set: AttPC=[#PC {$Attacker}]
Set: AttPB=[#PB {$Attacker}]
Set: AttTMR=[#{AttAG} calc_TMR]
Set: AttMR={{AttWP}+20}
Set: DefPS=[#PS {$Defender}]
Set: DefMD=[#MD {$Defender}]
Set: DefAG=[#AG {$Defender}]
Set: DefMA=[#MA {$Defender}]
Set: DefEN=[#EN {$Defender}]
Set: DefFT=[#FT {$Defender}]
Set: DefWP=[#WP {$Defender}]
Set: DefPC=[#PC {$Defender}]
Set: DefPB=[#PB {$Defender}]
Set: DefTMR=[#{DefAG} calc_TMR]
Set: DefMR={{DefWP}+20}
Set: PS={AttPS}
Set: MD={AttMD}
Set: AG={AttAG}
Set: MA={AttMA}
Set: EM={AttEN}
Set: FT={AttFT}
Set: WP={AttWP}
Set: PC={AttPC}
Set: PB={AttPB}
Set: TMR={AttTMR}
Set: MR={AttMR}
#Set Initial Modified Values
Set: armour_AGloss =0
Set: modAG = {{AG}-{armour_AGloss}}
Set: modMD = {MD}
Set: shield_def =0
Set: Def = {modAG}
Set: Defws = {{modAG}+{shield_def}}
Set: baseIV ={{modAG}+{PC}}
Set: MR ={{WP}+20}
Set: weapons_layout =Weapons
[@weapon_types]
Set: defence_layout =Defence
Defence: {Def}%[when]{shield_def}>0[do]
Defence with Shield: {Defws}%[end]
Attacker: {$Attacker}
PS: {PS} MD: {MD} [when]{shield_MDloss}>0[do]modified MD: {modMD} [end] AG: {AG} [when]{armour_AGloss}>0[do]modified AG: {modAG} [end] MA: {AttMA}
EN: {AttEN} FT: {AttFT} WP: {AttWP} PC: {AttPC} PB: {AttPB} TMR: {AttTMR}
{MR_title} {AttMR}%
{defence_layout}
{weapons_layout}Stealth Rank: {stealth_RK} SC: {stealth_SC}% Armour Modifier: {armour_stealthMod}\n\n&
Defender: {$Defender}
PS: {DefPS} MD: {DefMD} [when]{shield_MDloss}>0[do]modified MD: {modMD} [end] AG: {DefAG} [when]{armour_AGloss}>0[do]modified AG: {modAG} [end] MA: {DefMA}
EN: {DefEN} FT: {DefFT} WP: {DefWP} PC: {DefPC} PB: {DefPB} TMR: {DefTMR}
{MR_title} {DefMR}%
{defence_layout}
{weapons_layout}Stealth Rank: {stealth_RK} SC: {stealth_SC}% Armour Modifier: {armour_stealthMod}
Table: calc_TMR
Type: Lookup
1-4:2
5-8:3
9-12:4
13-17:5
18-21:6
22-25:7
26-100:8
#Set Characteristics
;Table: Main
;Attacker {$Attacker} PS is {@AttPS=[#PS {$Attacker}]}\nAttacker {$Attacker} MA is {@AttMD=[#MA {$Attacker}]}\nDefender {$Defender} PS is {@DefPS=[#PS {$Defender}]}
Table: weapon_types
5: [@armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK=={3-ceil(sqrt({1d9}))}}[@stealth_check][@shield_check][@melee_weapon]
[!{1d2-1} close_combat_weapon]{shield_heading}{shield_layout}{armour_heading}{armour_layout}
8: [@armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK=={4-ceil(sqrt({1d16}))}}[@stealth_check][@melee_weapon]
[!{1d2-1} close_combat_weapon]{armour_heading}{armour_layout}
4: [@heavy_armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK=={3-ceil(sqrt({1d9}))}}[@stealth_check][@twohanded_weapon]
[@close_combat_weapon]{armour_heading}{heavy_armour_layout}
2: [@light_armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK=={4-ceil(sqrt({1d16}))}}[@stealth_check][@missile_weapon]
[@melee_weapon]
[!{1d2-1} close_combat_weapon]{armour_heading}{light_armour_layout}
4: [@light_armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK =={4-ceil(sqrt({1d16}))}}[@stealth_check][@missile_weapon]
[@close_combat_weapon]{armour_heading}{light_armour_layout}
1: [@light_armour_check]{modAG=={AG}-{armour_AGloss}}{baseIV=={modAG}+{PC}}{Def=={modAG}}{stealth_RK=={9-ceil(sqrt({1d56}))}}[@stealth_check][@rogue_weapon]{armour_heading}{light_armour_layout}
Table: melee_weapon
10: Battle Axe – [@battle_axe_check][when]{MD} < {battle_axe_MD}[do]{MD=={battle_axe_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {battle_axe_PS}[do]{PS==14}[end][@battle_axe_stats] {rank_title} {battle_axe_RK}, {IV_title} {battle_axe_IV}, {SC_title} {battle_axe_SC}%, {damage_title} {battle_axe_damage}, {range_title}{battle_axe_range}, {class_title}{battle_axe_class}, {use_title}{battle_axe_use}
10: Broadsword – [@broadsword_check] [when]{MD} < {broadsword_MD}[do]{MD=={broadsword_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {broadsword_PS}[do]{PS==15}[end][@broadsword_stats] {rank_title} {broadsword_RK}, {IV_title} {broadsword_IV}, {SC_title} {broadsword_SC}%, {damage_title}{broadsword_damage}, {class_title}{broadsword_class}, {use_title}{broadsword_use}
5: Crude Club – [@crude_club_check] [when]{MD} < {crude_club_MD}[do]{MD=={crude_club_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {crude_club_PS}[do]{PS==16}[end][@crude_club_stats] {rank_title} {crude_club_RK}, {IV_title} {crude_club_IV}, {SC_title} {crude_club_SC}%, {damage_title} {crude_club_damage}, {range_title}{crude_club_range},{class_title}{crude_club_class}, {use_title}{crude_club_use}
5: Falchion – [@falchion_check] [when]{MD} < {falchion_MD}[do]{MD=={falchion_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {falchion_PS}[do]{PS==12}[end][@falchion_stats] {rank_title} {falchion_RK}, {IV_title} {falchion_IV}, {SC_title} {falchion_SC}%, {damage_title} {falchion_damage}, {class_title}{falchion_class}, {use_title}{falchion_use}
2: Flail – [@flail_check] [when]{MD} < {flail_MD}[do]{MD=={flail_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {flail_PS}[do]{PS==14}[end][@flail_stats] {rank_title} {flail_RK}, {IV_title} {flail_IV}, {SC_title} {flail_SC}%, {damage_title} {flail_damage}, {class_title}{flail_class}, {use_title}{flail_use}
1: Hand and a Half Sword – [@hand_half_check] [when]{MD} < {hand_half_MD}[do]{MD=={hand_half_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {hand_half_PS}[do]{PS==17}[end][@hand_half_stats] {rank_title} {hand_half_RK}, {IV_title} {hand_half_IV}, {SC_title} {hand_half_SC}%, {damage_title} {hand_half_damage}, {class_title}{hand_half_class}, {use_title}{hand_half_use}
8: Mace [@mace_check] – [when]{MD} < {mace_MD}[do]{MD=={mace_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {mace_PS}[do]{PS==16}[end][@mace_stats] {rank_title} {mace_RK}, {IV_title} {mace_IV}, {SC_title} {mace_SC}%, {damage_title} {mace_damage}, {range_title}{mace_range}, {class_title}{mace_class}, {use_title}{mace_use}
1: Morningstar – [@morningstar_check][when]{MD} < {morningstar_MD}[do]{MD=={morningstar_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {morningstar_PS}[do]{PS==18}[end][@morningstar_stats] {rank_title} {morningstar_RK}, {IV_title} {morningstar_IV}, {SC_title} {morningstar_SC}%, {damage_title} {morningstar_damage}, {class_title}{morningstar_class}, {use_title}{morningstar_use}
1: Sabre – [@sabre_check][when]{MD} < {sabre_MD}[do]{MD=={sabre_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {sabre_PS}[do]{PS==14}[end][@sabre_stats] {rank_title} {sabre_RK}, {IV_title} {sabre_IV}, {SC_title} {sabre_SC}%, {damage_title}{sabre_damage}, {class_title}{sabre_class}, {use_title}{sabre_use}
5: Scimitar – [@scimitar_check][when]{MD} < {scimitar_MD}[do]{MD=={scimitar_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {scimitar_PS}[do]{PS==11}[end][@scimitar_stats] {rank_title} {scimitar_RK}, {IV_title} {scimitar_IV}, {SC_title} {scimitar_SC}%, {damage_title}{scimitar_damage}, {class_title}{scimitar_class}, {use_title}{scimitar_use}
10: Short Sword – [@short_sword_check][when]{MD} < {short_sword_MD}[do]{MD=={short_sword_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {short_sword_PS}[do]{PS==10}[end][@short_sword_stats] {rank_title} {short_sword_RK}, {IV_title} {short_sword_IV}, {SC_title} {short_sword_SC}%, {damage_title}{short_sword_damage}, {class_title}{short_sword_class}, {use_title}{short_sword_use}
10: Spear – [@spear_check][when]{MD} < {spear_MD}[do]{MD=={spear_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {spear_PS}[do]{PS==15}[end][@spear_stats] {rank_title} {spear_RK}, {IV_title} {spear_IV}, {SC_title} {spear_SC}%, {damage_title} {spear_damage}, {range_title} {spear_range}, {class_title}{spear_class}, {use_title}{spear_use}
10: War Club – [@war_club_check][when]{MD} < {war_club_MD}[do]{MD=={war_club_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {war_club_PS}[do]{PS==14}[end][@war_club_stats] {rank_title} {war_club_RK}, {IV_title} {war_club_IV}, {SC_title} {war_club_SC}%, {damage_title} {war_club_damage}, {range_title} {war_club_range}, {class_title}{war_club_class}, {use_title}{war_club_use}
1: Whip – [@whip_check][when]{MD} < {whip_MD}[do]{MD=={whip_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {whip_PS}[do]{PS==10}[end][@whip_stats] {rank_title} {whip_RK}, {IV_title} {whip_IV}, {SC_title} {whip_SC}%, {damage_title} {whip_damage}, {class_title}{whip_class}, {use_title}{whip_use}{whip_notes}
Table: twohanded_weapon
5: Glaive – [@glaive_check][when]{MD} < {glaive_MD}[do]{MD=={glaive_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {glaive_PS}[do]{PS==16}[end][@glaive_stats] {rank_title} {glaive_RK}, {IV_title} {glaive_IV}, {SC_title} {glaive_SC}%, {damage_title} {glaive_damage}, {class_title}{glaive_class}, {use_title}{glaive_use}
10: Great Axe – [@great_axe_check][when]{MD} < {great_axe_MD}[do]{MD=={great_axe_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {great_axe_PS}[do]{PS==19}[end][@great_axe_stats] {rank_title} {great_axe_RK}, {IV_title} {great_axe_IV}, {SC_title} {great_axe_SC}%, {damage_title} {great_axe_damage}, {class_title}{great_axe_class}, {use_title}{great_axe_use}
1: Halberd – [@halberd_check][when]{MD} < {halberd_MD}[do]{MD=={halberd_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {halberd_PS}[do]{PS==16}[end][@halberd_stats] {rank_title} {halberd_RK}, {IV_title} {halberd_IV}, {SC_title} {halberd_SC}%, {damage_title} {halberd_damage}, {class_title}{halberd_class}, {use_title}{halberd_use}
3: Two Handed Sword – [@two_handed_sword_check][when]{MD} < {two_handed_sword_MD}[do]{MD=={two_handed_sword_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {two_handed_sword_PS}[do]{PS==22}[end][@two_handed_sword_stats] {rank_title} {two_handed_sword_RK}, {IV_title} {two_handed_sword_IV}, {SC_title} {two_handed_sword_SC}%, {damage_title} {two_handed_sword_damage}, {class_title}{two_handed_sword_class}, {use_title}{two_handed_sword_use}
Table: missile_weapon
1: Composite Bow – [@composite_bow_check][when]{MD} < {composite_bow_MD}[do]{MD=={composite_bow_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {composite_bow_PS}[do]{PS==17}[end][@composite_bow_stats] {rank_title} {composite_bow_RK}, {IV_title} {composite_bow_IV}, {SC_title} {composite_bow_SC}%, {damage_title} {composite_bow_damage}, {range_title} {composite_bow_range}, {class_title}{composite_bow_class}, {use_title}{composite_bow_use}
4: Crossbow – [@crossbow_check][when]{MD} < {crossbow_MD}[do]{MD=={crossbow_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {crossbow_PS}[do]{PS==18}[end][@crossbow_stats] {rank_title} {crossbow_RK}, {IV_title} {crossbow_IV}, {SC_title} {crossbow_SC}%, {damage_title} {crossbow_damage}, {range_title} {crossbow_range}, {class_title}{crossbow_class}, {use_title}{crossbow_use}
1: Heavy Crossbow [@heavy_crossbow_check][when]{MD} < {heavy_crossbow_MD}[do]{MD=={heavy_crossbow_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {heavy_crossbow_PS}[do]{PS==20}[end][@heavy_crossbow_stats] {rank_title} {heavy_crossbow_RK}, {IV_title} {heavy_crossbow_IV}, {SC_title} {heavy_crossbow_SC}%, {damage_title} {heavy_crossbow_damage}, {range_title} {heavy_crossbow_range}, {class_title}{heavy_crossbow_class}, {use_title}{heavy_crossbow_use}
3: Long Bow – [@longbow_check][when]{MD} < {longbow_MD}[do]{MD=={longbow_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {longbow_PS}[do]{PS==16}[end][@longbow_stats] {rank_title} {longbow_RK}, {IV_title} {longbow_IV}, {SC_title} {longbow_SC}%, {damage_title} {longbow_damage}, {range_title} {longbow_range}, {class_title}{longbow_class}, {use_title}{longbow_use}
1: Net – [@net_check][when]{MD} < {net_MD}[do]{MD=={net_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {net_PS}[do]{PS==11}[end][@net_stats] {rank_title} {net_RK}, {IV_title} {net_IV}, {SC_title} {net_SC}%, {damage_title} {net_damage}, {range_title} {net_range}, {class_title}{net_class}, {use_title}{net_use}{net_notes}
10: Short Bow – [@shortbow_check][when]{MD} < {shortbow_MD}[do]{MD=={shortbow_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {shortbow_PS}[do]{PS==14}[end][@shortbow_stats] {rank_title} {shortbow_RK}, {IV_title} {shortbow_IV}, {SC_title} {shortbow_SC}%, {damage_title} {shortbow_damage}, {range_title} {shortbow_range}, {class_title}{shortbow_class}, {use_title}{shortbow_use}
Table: close_combat_weapon
10: Dagger – [@dagger_check] [when]{MD} < {dagger_MD}[do]{MD==10}{modMD==MD}[end][when]{PS} < {dagger_PS}[do]{PS==7}[end][@dagger_stats] {rank_title} {dagger_RK}, {IV_title} {dagger_IV}, {SC_title} {dagger_SC}%, {damage_title} {dagger_damage}, {range_title} {dagger_range}, {class_title}{dagger_class}, {use_title}{dagger_use}
6: Hand Axe – [@handaxe_check][when]{MD} < {handaxe_MD}[do]{MD=={handaxe_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {handaxe_PS}[do]{PS==8}[end][@handaxe_stats] {rank_title} {handaxe_RK}, {IV_title} {handaxe_IV}, {SC_title} {handaxe_SC}%, {damage_title} {handaxe_damage}, {range_title} {handaxe_range}, {class_title}{handaxe_class}, {use_title}{handaxe_use}
Table: rogue_weapon
10: Dagger – [@dagger_check] [when]{MD} < {dagger_MD}[do]{MD==10}{modMD==MD}[end][when]{PS} < {dagger_PS}[do]{PS==7}[end][@dagger_stats] {rank_title} {dagger_RK}, {IV_title} {dagger_IV}, {SC_title} {dagger_SC}%, {damage_title} {dagger_damage}, {range_title} {dagger_range}, {class_title}{dagger_class}, {use_title}{dagger_use}
3: Hand Axe – [@handaxe_check][when]{MD} < {handaxe_MD}[do]{MD=={handaxe_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {handaxe_PS}[do]{PS==8}[end][@handaxe_stats] {rank_title} {handaxe_RK}, {IV_title} {handaxe_IV}, {SC_title} {handaxe_SC}%, {damage_title} {handaxe_damage}, {range_title} {handaxe_range}, {class_title}{handaxe_class}, {use_title}{handaxe_use}
1: Garotte – [@garotte_check][when]{MD} < {garotte_MD}[do]{MD=={garotte_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {garotte_PS}[do]{PS==12}[end][@garotte_stats] {rank_title} {garotte_RK}, {IV_title} {garotte_IV}, {SC_title} {garotte_SC}%, {damage_title} {garotte_damage}, {class_title}{garotte_class}, {use_title}{garotte_use}{garotte_notes}
2: Unarmed – [@unarmed_check][when]{MD} < {unarmed_MD}[do]{MD=={unarmed_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {unarmed_PS}[do]{PS==14}[end][@unarmed_stats] {rank_title} {unarmed_RK}, {IV_title} {unarmed_IV}, {SC_title} {unarmed_SC}%, {damage_title} {unarmed_damage}, {class_title}{unarmed_class}, {use_title}{unarmed_use} See 21.0 for Unarmed Combat
2: Cestus – [@cestus_check][when]{MD} < {cestus_MD}[do]{MD=={cestus_MD}}[end]{modMD=={MD}-{shield_MDloss}}[when]{PS} < {cestus_PS}[do]{PS==14}[end][@cestus_stats] {rank_title} {cestus_RK}, {IV_title} {cestus_IV}, {SC_title} {cestus_SC}%, {damage_title} {cestus_damage}, {class_title}{cestus_class}, {use_title}{cestus_use}
Table: shield_check
Set: shield_layout = [@shield]
Table: shield
5: Buckler – [@buckler_stats] {rank_title} {buckler_RK}, {def_title} +{buckler_def}%, {MDmod_title} {buckler_MDloss}{shield_MDloss=={buckler_MDloss}}{shield_def=={buckler_def}}
5: Small Round Shield – [@small_round_stats] {rank_title} {small_round_RK}, {def_title} +{small_round_def}%, {MDmod_title} {small_round_MDloss}{shield_MDloss=={small_round_MDloss}}{shield_def=={small_round_def}}
2: Large Round Shield – [@large_round_stats] {rank_title} {large_round_RK}, {def_title} +{large_round_def}%, {MDmod_title} {large_round_MDloss}{shield_MDloss=={large_round_MDloss}}{shield_def=={large_round_def}}
Table: armour_check
Set: armour_layout = [@armour]
Table: armour
5: None [@noarmour_stats] {armour_AGloss=={noarmour_AGloss}} {armour_stealthMod=={noarmour_stealthMod}}
10: Heavy Furs – [@heavy_furs_stats] {prot_title} {heavy_furs_prot} {AGloss_title} {heavy_furs_AGloss}{armour_AGloss=={heavy_furs_AGloss}} {armour_stealthMod=={heavy_furs_stealthMod}}
15: Leather – [@leather_stats] {prot_title} {leather_prot} {AGloss_title} {leather_AGloss}{armour_AGloss=={leather_AGloss}} {armour_stealthMod=={leather_stealthMod}}
5: Scale – [@scale_stats] {prot_title} {scale_prot} {AGloss_title} {scale_AGloss}{armour_AGloss=={scale_AGloss}} {armour_stealthMod=={scale_stealthMod}}
5: Chainmail – [@chainmail_stats] {prot_title} {chainmail_prot} {AGloss_title}{chainmail_AGloss}{armour_AGloss=={chainmail_AGloss}} {armour_stealthMod=={chainmail_stealthMod}}
2:Partial Plate – [@partial_plate_stats] {prot_title} {partial_plate_prot} {AGloss_title} {partial_plate_AGloss}{armour_AGloss=={partial_plate_AGloss}} {armour_stealthMod=={partial_plate_stealthMod}}
Table: heavy_armour_check
Set: heavy_armour_layout = [@heavy_armour]
Table: heavy_armour
5: Scale – [@scale_stats] {prot_title} {scale_prot} {AGloss_title} {scale_AGloss}{armour_AGloss=={scale_AGloss}} {armour_stealthMod=={scale_stealthMod}}
5: Chainmail – [@chainmail_stats] {prot_title} {chainmail_prot} {AGloss_title} {chainmail_AGloss}{armour_AGloss=={chainmail_AGloss}} {armour_stealthMod=={chainmail_stealthMod}}
1:Partial Plate – [@partial_plate_stats] {prot_title} {partial_plate_prot} {AGloss_title} {partial_plate_AGloss}{armour_AGloss=={partial_plate_AGloss}} {armour_stealthMod=={partial_plate_stealthMod}}
Table: light_armour_check
Set: light_armour_layout = [@light_armour]
Table: light_armour
15: None [@noarmour_stats] {armour_AGloss=={noarmour_AGloss}} {armour_stealthMod=={noarmour_stealthMod}}
8: Heavy Furs – [@heavy_furs_stats] {prot_title} {heavy_furs_prot} {AGloss_title} {heavy_furs_AGloss}{armour_AGloss=={heavy_furs_AGloss}} {armour_stealthMod=={heavy_furs_stealthMod}}
15: Leather – [@leather_stats] {prot_title} {leather_prot} {AGloss_title} {leather_AGloss}{armour_AGloss=={leather_AGloss}} {armour_stealthMod=={leather_stealthMod}}
2: Scale – [@scale_stats] {prot_title} {scale_prot} {AGloss_title} {scale_AGloss}{armour_AGloss=={scale_AGloss}} {armour_stealthMod=={scale_stealthMod}}
3: Chainmail – [@chainmail_stats] {prot_title} {chainmail_prot} {AGloss_title} {chainmail_AGloss}{armour_AGloss=={chainmail_AGloss}} {armour_stealthMod=={chainmail_stealthMod}}
Table: battle_axe_check
Set: battle_axe_PS = 14
Set: battle_axe_MD = {14+{shield_MDloss}}
Table: battle_axe_stats
Set: battle_axe_RK = {8-ceil(sqrt({1d64}))}//0 to 7
Set: battle_axe_IV = {{baseIV}+{battle_axe_RK}+2}
Set: battle_axe_base = 60
Set: battle_axe_SC = {{battle_axe_base}+{modMD}+({battle_axe_RK}*4)}
Set: battle_axe_damage = 4
Set: battle_axe_range = 6
Set: battle_axe_class = B
Set: battle_axe_use = RM
Table: broadsword_check
Set: broadsword_PS = 15
Set: broadsword_MD = {15+{shield_MDloss}}
Table: broadsword_stats
Set: broadsword_RK = {7-ceil(sqrt({1d49}))}
Set: broadsword_IV = {{baseIV}+{broadsword_RK}+2}
Set: broadsword_base = 55
Set: broadsword_SC = {{broadsword_base}+{modMD}+({broadsword_RK}*4)}
Set: broadsword_damage = 4
Set: broadsword_class = B
Set: broadsword_use = M
Table: crude_club_check
Set: crude_club_PS = 16
Set: crude_club_MD = {10+{shield_MDloss}}
Table: crude_club_stats
Set: crude_club_RK = {3-ceil(sqrt({1d9}))}
Set: crude_club_IV = {{baseIV}+{crude_club_RK}+3}
Set: crude_club_base = 45
Set: crude_club_SC = {{crude_club_base}+{modMD}+({crude_club_RK}*4)}
Set: crude_club_damage = 2
Set: crude_club_range = 6
Set: crude_club_class = C
Set: crude_club_use = RM
Table: falchion_check
Set: falchion_PS = 12
Set: falchion_MD = {11+{shield_MDloss}}
Table: falchion_stats
Set: falchion_RK = {9-ceil(sqrt({1d81}))}
Set: falchion_IV = {{baseIV}+{falchion_RK}+3}
Set: falchion_base = 50
Set: falchion_SC = {{falchion_base}+{modMD}+({falchion_RK}*4)}
Set: falchion_damage = 2
Set: falchion_class = B
Set: falchion_use = M
Table: flail_check
Set: flail_PS = 14
Set: flail_MD = {15+{shield_MDloss}}
Table: flail_stats
Set: flail_RK = {6-ceil(sqrt({1d36}))}
Set: flail_IV = {{baseIV}+{flail_RK}+1}
Set: flail_base = 50
Set: flail_SC = {{flail_base}+{modMD}+({flail_RK}*4)}
Set: flail_damage = 2
Set: flail_class = C
Set: flail_use = M
Table: hand_half_check
Set: hand_half_PS = 17
Set: hand_half_MD = {16+{shield_MDloss}}
Table: hand_half_stats
Set: hand_half_RK = {8-ceil(sqrt({1d64}))}
Set: hand_half_IV = {{baseIV}+{hand_half_RK}+1}
Set: hand_half_base = 60
Set: hand_half_SC = {{hand_half_base}+{modMD}+({hand_half_RK}*4)}
Set: hand_half_damage = 5
Set: hand_half_class = B
Set: hand_half_use = M
Table: mace_check
Set: mace_PS = 16
Set: mace_MD = {9+{shield_MDloss}}
Table: mace_stats
Set: mace_RK = {6-ceil(sqrt({1d36}))}
Set: mace_IV = {{baseIV}+{mace_RK}+3}
Set: mace_base = 50
Set: mace_SC = {{mace_base}+{modMD}+({mace_RK}*4)}
Set: mace_damage = 4
Set: mace_range = 5
Set: mace_class = C
Set: mace_use = RM
Table: morningstar_check
Set: morningstar_PS = 18
Set: morningstar_MD = {15+{shield_MDloss}}
Table: morningstar_stats
Set: morningstar_RK = {6-ceil(sqrt({1d36}))}
Set: morningstar_IV = {{baseIV}+{morningstar_RK}+2}
Set: morningstar_base = 60
Set: morningstar_SC = {{morningstar_base}+{modMD}+({morningstar_RK}*4)}
Set: morningstar_damage = 4
Set: morningstar_class = C
Set: morningstar_use = M
Table: sabre_check
Set: sabre_PS = 14
Set: sabre_MD = {15+{shield_MDloss}}
Table: sabre_stats
Set: sabre_RK = {8-ceil(sqrt({1d64}))}
Set: sabre_IV = {{baseIV}+{sabre_RK}+3}
Set: sabre_base = 60
Set: sabre_SC = {{sabre_base}+{modMD}+({sabre_RK}*4)}
Set: sabre_damage = 3
Set: sabre_class = B
Set: sabre_use = M
Table: scimitar_check
Set: scimitar_PS = 11
Set: scimitar_MD = {15+{shield_MDloss}}
Table: scimitar_stats
Set: scimitar_RK = {9-ceil(sqrt({1d81}))}
Set: scimitar_IV = {{baseIV}+{scimitar_RK}+2}
Set: scimitar_base = 50
Set: scimitar_SC = {{scimitar_base}+{modMD}+({scimitar_RK}*4)}
Set: scimitar_damage = 3
Set: scimitar_class = B
Set: scimitar_use = M
Table: short_sword_check
Set: short_sword_PS = 10
Set: short_sword_MD = {12+{shield_MDloss}}
Table: short_sword_stats
Set: short_sword_RK = {7-ceil(sqrt({1d49}))}
Set: short_sword_IV = {{baseIV}+{short_sword_RK}+3}
Set: short_sword_base = 45
Set: short_sword_SC = {{short_sword_base}+{modMD}+({short_sword_RK}*4)}
Set: short_sword_damage = 3
Set: short_sword_class = A
Set: short_sword_use = M
Table: spear_check
Set: spear_PS = 15
Set: spear_MD = {14+{shield_MDloss}}
Table: spear_stats
Set: spear_RK = {6-ceil(sqrt({1d36}))}
Set: spear_IV = {{baseIV}+{spear_RK}+2}
Set: spear_base = 50
Set: spear_SC = {{spear_base}+{modMD}+({spear_RK}*4)}
Set: spear_damage = 3
Set: spear_range = 6
Set: spear_class = A
Set: spear_use = RM
Table: war_club_check
Set: war_club_PS = 14
Set: war_club_MD = {10+{shield_MDloss}}
Table: war_club_stats
Set: war_club_RK = {6-ceil(sqrt({1d36}))}
Set: war_club_IV = {{baseIV}+{war_club_RK}+2}
Set: war_club_base = 50
Set: war_club_SC = {{war_club_base}+{modMD}+({war_club_RK}*4)}
Set: war_club_damage = 2
Set: war_club_range = 7
Set: war_club_class = C
Set: war_club_use = RM
Table: whip_check
Set: whip_PS = 10
Set: whip_MD = {16+{shield_MDloss}}
Table: whip_stats
Set: whip_RK = {11-ceil(sqrt({1d121}))}
Set: whip_IV = {{baseIV}+{whip_RK}+3}
Set: whip_base = 40
Set: whip_SC = {{whip_base}+{modMD}+({whip_RK}*4)}
Set: whip_damage = -3
Set: whip_class = n/a
Set: whip_use = MC
Set: whip_notes =