diff --git a/Star Wars Saga Edition/StarWarsSagaEdition.html b/Star Wars Saga Edition/StarWarsSagaEdition.html index 0839f62ab8..24fd154c3a 100644 --- a/Star Wars Saga Edition/StarWarsSagaEdition.html +++ b/Star Wars Saga Edition/StarWarsSagaEdition.html @@ -5,43 +5,43 @@

- Character Record Sheet
+ Character Record Sheet
- +
- + - +
- + - +
- + - +
@@ -51,39 +51,39 @@
-
Attributes
+
Attributes
- + - + - + - + - + - + @@ -92,50 +92,50 @@
STR
Strength
STR
Strength
DEX
Dexterity
DEX
Dexterity
CON
Constitution
CON
Constitution
INT
Intelligence
INT
Intelligence
WIS
Wisdom
WIS
Wisdom
CHA
Charisma
CHA
Charisma
- + - + + Helpless - - + +
Hit Points
Hit Points
Condition
Condition
Current Total - Normal
+ Normal
-1
-2
-5
-10
- Helpless
 / 
Threshold
Total Defense Misc
Threshold
Total Defense Misc
 = 
-

Ignore CT?

+

Ignore CT?

- +
- + /
- + @@ -146,8 +146,8 @@
- - + + - - - + + + @@ -170,8 +170,8 @@
- - + +
@@ -180,27 +180,27 @@
- Dex Score as Decimal + Dex Score as Decimal
Force Points
Destiny Pts
Force Points
Destiny Pts
@@ -156,9 +156,9 @@
BAB
Speed
Dark Side Pts
BAB
Speed
Dark Side Pts
- + - + - + @@ -213,38 +213,38 @@
Grapple
Grapple
ModMod MiscMisc
 =   + 
-
Defenses
+
Defenses
- + - - - - + + + + - + - + - + - - + - + - + - - - + - + - -
TotalTotal Level /
Armor
ClassModMisc Level /
Armor
ClassModMisc
ReflexReflex  = 10 + 
Flatfooted
Flatfooted/div>
@@ -252,50 +252,39 @@
- -
FortitudeFortitude  = 10 + 
- -
WillWill  = 10 + 
- -

@@ -348,23 +337,27 @@
- + -
+           +
-
+
+
- - Total - - Mod - - Misc -
-
+ + + Total + + Mod + + Misc +
+ +
Attack @@ -372,9 +365,9 @@  |   +  @@ -393,24 +386,24 @@
-
+
Damage - +  +   |   +  @@ -429,7 +422,7 @@
-
+
@@ -486,12 +479,12 @@  =  @@ -530,11 +523,11 @@  =  @@ -572,12 +565,12 @@  =  @@ -615,12 +608,12 @@  =  @@ -658,12 +651,12 @@  =  @@ -701,12 +694,12 @@  =  @@ -745,11 +738,11 @@  =  @@ -789,12 +782,12 @@  =  @@ -833,12 +826,12 @@  =  @@ -877,12 +870,12 @@  =  @@ -921,12 +914,12 @@  =  @@ -965,12 +958,12 @@  =  @@ -1009,12 +1002,12 @@  =  @@ -1053,12 +1046,12 @@  =  @@ -1097,12 +1090,12 @@  =  @@ -1140,12 +1133,12 @@  =  @@ -1183,12 +1176,12 @@  =  @@ -1226,12 +1219,12 @@  =  @@ -1269,12 +1262,12 @@  =  @@ -1312,12 +1305,12 @@  =  @@ -1356,12 +1349,12 @@  =  @@ -1400,11 +1393,11 @@  =  @@ -1442,12 +1435,12 @@  =  @@ -1485,12 +1478,12 @@  =  @@ -1528,12 +1521,12 @@  =  @@ -1700,7 +1693,8 @@
- + +

@@ -1749,9 +1743,9 @@
Reveal Sections
-          -          -          +                  +                  +                 
@@ -1870,7 +1864,7 @@
Threshold
Total Defense Misc - +  =  +  =   +  @@ -1959,13 +1953,13 @@ Reflex - +
Flatfooted
- + Fortitude @@ -2042,7 +2036,7 @@ Template Formula
- +
@@ -2081,12 +2075,12 @@  =  @@ -2109,7 +2103,7 @@ Skill Modifier Total Formula
- + Template Formula
@@ -2124,12 +2118,12 @@  =  @@ -2167,12 +2161,12 @@  =  @@ -2202,6 +2196,49 @@
+
+
+ Stealth + + + +  =  + + + + +
+
+
+ +
+
+ + + + Formula          +
+
+ +
+
+ + + Skill Modifier Total Formula
+ + Template Formula
+ +
+
+
+
@@ -2210,12 +2247,12 @@  =  @@ -2355,9 +2392,9 @@
Reveal Sections
-          -          -          +                  +                  +                 
@@ -2479,7 +2516,7 @@  +  - +
@@ -2669,7 +2706,7 @@ Pilot - +  =  @@ -2784,7 +2821,7 @@
For Help, please see the wiki page.
-Last updated12/28/2015 +Last updatedOct 3, 2016
@@ -2795,17 +2832,17 @@ For Help, please see the wiki page. {{type}}{{/type}} {{#attack}}Attack: {{attack}}{{/attack}} - {{#damage}} - - Damage: {{damage}} - {{#dmgcrit}} - {{#rollWasCrit() attack}} - | Crit: {{dmgcrit}} - {{/rollWasCrit() attack}} - {{/dmgcrit}} - - {{/damage}} + {{#damage}} + {{#^rollWasCrit() attack}} + Damage: {{damage}} + {{/^rollWasCrit() attack}} + {{#rollWasCrit() attack}} + {{^dmgcrit}} Damage: {{damage}} {{/dmgcrit}} + {{#dmgcrit}} Crit Damage: {{dmgcrit}} {{/dmgcrit}} + {{/rollWasCrit() attack}} + {{/damage}} + {{#allprops() header type atkeffect attack damage dmgcrit}} {{key}} {{value}} {{/allprops() header type atkeffect attack damage dmgcrit}} @@ -3543,8 +3580,8 @@ on("change:vehicle-size", function() { on("change:repeating_equipment remove:repeating_equipment",function(){ //TAS.repeatingSimpleSum('equipment','equipmentwt','equipmentrunningtotal'); TAS.repeating('equipment') - .attrs('equipmentwtrunningtotal','equipmentcostrunningtotal') - .fields('equipmentqty','equipmentwt','equipmenttotalwt','equipmentcost','equipmenttotalcost',"equipmentcarry") + .attrs('equipmentwtrunningtotal','equipmentcostrunningtotal', "inventoryrunningsummary") + .fields('equipmentqty','equipmentwt','equipmenttotalwt','equipmentcost','equipmenttotalcost',"equipmentcarry", "equipmentitem", "equipmentnotes") .reduce(function(m,r){ m.weightTotal=(r.F.equipmentwt*r.I.equipmentqty) m.costTotal=(r.I.equipmentcost*r.I.equipmentqty) @@ -3553,11 +3590,14 @@ on("change:repeating_equipment remove:repeating_equipment",function(){ m.cost+=m.costTotal; r.D[0].equipmenttotalcost=m.costTotal; // console.log("== Equipment Row Check ==" + '\n' +"equipmentqty = " + r.I.equipmentqty + '\n' +"carryCheck = " + r.equipmentcarry + '\n' +"Weight (base | total) = " + r.equipmentwt + " | " +m.weightTotal + '\n' +"Cost (base | total) = " + r.equipmentcost+ ' | ' + m.costTotal); + m.desc.push(r.equipmentitem+(r.I.equipmentqty>1 ? ' (x'+r.S.equipmentqty+')' : '')+(r.equipmentnotes ? ' ['+r.equipmentnotes+']' : '') ); return m; - },{weight:0,cost:0},function(m,r,a){ + },{weight:0,cost:0, desc: []},function(m,r,a){ + a.inventoryrunningsummary = m.desc.join(', '); console.log("===== Equipment Running Totals =====" + '\n' +"EquipmentWtRunningTotal = " + m.weight + '\n' +"EquipmentCostRunningTotal = " + m.cost); a.D[1].equipmentwtrunningtotal=m.weight; a.I.equipmentcostrunningtotal=m.cost; + }) .execute(); }); @@ -3577,11 +3617,28 @@ on("change:equipmentwtrunningtotal change:armorwt change:armorcarry change:str", }); on("change:equipmentcostrunningtotal change:armortotalcost",function(){ getAttrs(["EquipmentCostRunningTotal", "ArmorTotalCost"], function(v) { - TotalCost = parseInt(v["EquipmentCostRunningTotal"]) + parseInt(v["ArmorTotalCost"]); + if(v["ArmorTotalCost"]){ArmorCost = parseInt(v["ArmorTotalCost"])} else {ArmorCost = 0} + TotalCost = parseInt(v["EquipmentCostRunningTotal"]) + ArmorCost; console.log("===== Equipment Worth Totals =====" + '\n' +"EquipmentCostRunningTotal = " + v["EquipmentCostRunningTotal"] + '\n' +"TotalCost = " + TotalCost); - setAttrs({"TotalEquipmentWorth": TotalCost}); ; + setAttrs({"TotalEquipmentWorth": TotalCost}); }); }); +on("change:inventoryrunningsummary change:ArmorWorn",function(){ + getAttrs(["inventoryrunningsummary", "ArmorWorn", "ArmorNotes", "ArmorRef", "ArmorFort"], function(v) { + armorAttr = " ("+v["ArmorRef"] +" armor, +"+ v["ArmorFort"] +" equipment)" + if(v["ArmorWorn"] && v["ArmorNotes"] ) {armorDesc = v["ArmorWorn"] + armorAttr + " ["+ v["ArmorNotes"] +"]"} + else if(v["ArmorWorn"]) {armorDesc = v["ArmorWorn"] + armorAttr} + else {armorDesc = ""} + + if (v["inventoryrunningsummary"].length > 0 && armorDesc.length > 0) {summary = armorDesc +", " + v["inventoryrunningsummary"]} + else if(v["inventoryrunningsummary"].length == 0 && armorDesc.length > 0) {summary = armorDesc} + else if(v["inventoryrunningsummary"].length > 0 && armorDesc.length == 0) {summary = v["inventoryrunningsummary"]} + else {summary = ""} + console.log("===== Equipment Summary =====" + '\n' + summary); + setAttrs({"inventory": summary}); + }); +}); + // ====== Functions ====== \\ var ArmorPerception = function() {