diff --git a/Open Legend Basic by Great Moustache/Open Legend.html b/Open Legend Basic by Great Moustache/Open Legend.html index 3c0cf228c0..33934d7ac8 100644 --- a/Open Legend Basic by Great Moustache/Open Legend.html +++ b/Open Legend Basic by Great Moustache/Open Legend.html @@ -1357,7 +1357,7 @@ repeating_items getSectionIDs("repeating_actions", function(actionsArray) { if(actionsArray.length > 0) { _.each(actionsArray, function(currentID, i) { - getAttrs(["repeating_actions_" + currentID + "_action_attribute", "repeating_actions_" + currentID + "_dice_d20", "repeating_actions_" + currentID + "_use_power_level", "repeating_actions_" + currentID + "_power_level", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(v) { + getAttrs(["repeating_actions_" + currentID + "_action_attribute", "repeating_actions_" + currentID + "_dice_d20", "repeating_actions_" + currentID + "_dice_modifier", "repeating_actions_" + currentID + "_use_power_level", "repeating_actions_" + currentID + "_power_level", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(v) { var update = {}; var score = 0; if(v["repeating_actions_" + currentID + "_action_attribute"] === "Agility") { @@ -1397,6 +1397,7 @@ repeating_items } else if(v["repeating_actions_" + currentID + "_action_attribute"] === "Protection") { score = v.protection_score*1 + v.protection_dice_modifier*1; } + score = score*1 + v["repeating_actions_" + currentID + "_dice_modifier"]*1; var number = calcAttributeDiceNumber(score); var type = calcAttributeDiceType(score); var roll = ""; @@ -1426,7 +1427,7 @@ repeating_items getSectionIDs("repeating_otheractions", function(actionsArray) { if(actionsArray.length > 0) { _.each(actionsArray, function(currentID, i) { - getAttrs(["repeating_otheractions_" + currentID + "_action_attribute", "repeating_otheractions_" + currentID + "_dice_d20", "repeating_otheractions_" + currentID + "_use_power_level", "repeating_otheractions_" + currentID + "_power_level", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(v) { + getAttrs(["repeating_otheractions_" + currentID + "_action_attribute", "repeating_otheractions_" + currentID + "_dice_d20", "repeating_otheractions_" + currentID + "_dice_modifier", "repeating_otheractions_" + currentID + "_use_power_level", "repeating_otheractions_" + currentID + "_power_level", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(v) { var updateother = {}; var score = 0; if(v["repeating_otheractions_" + currentID + "_action_attribute"] === "Agility") { @@ -1466,6 +1467,7 @@ repeating_items } else if(v["repeating_otheractions_" + currentID + "_action_attribute"] === "Protection") { score = v.protection_score*1 + v.protection_dice_modifier*1; } + score = score*1 + v["repeating_otheractions_" + currentID + "_dice_modifier"]*1; var number = calcAttributeDiceNumber(score); var type = calcAttributeDiceType(score); var roll = ""; @@ -1522,8 +1524,8 @@ repeating_items }); }); // On Change for calculating rolls for Actions - on("change:repeating_actions:action_attribute change:repeating_actions:dice_d20", function() { - getAttrs(["repeating_actions_action_attribute", "repeating_actions_dice_d20", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(values) { + on("change:repeating_actions:action_attribute change:repeating_actions:dice_d20 change:repeating_actions:dice_modifier", function() { + getAttrs(["repeating_actions_action_attribute", "repeating_actions_dice_d20", "repeating_actions_dice_modifier", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(values) { var score = 0; if(values.repeating_actions_action_attribute === "Agility") { score = values.agility_score*1 + values.agility_dice_modifier*1; @@ -1562,6 +1564,7 @@ repeating_items } else if(values.repeating_actions_action_attribute === "Protection") { score = values.protection_score*1 + values.protection_dice_modifier*1; } + score = score*1 + values.repeating_actions_dice_modifier*1; var number = calcAttributeDiceNumber(score); var type = calcAttributeDiceType(score); var roll = ""; @@ -1576,8 +1579,8 @@ repeating_items }); }); // On Change for calculating rolls for Actions - on("change:repeating_otheractions:action_attribute change:repeating_otheractions:dice_d20", function() { - getAttrs(["repeating_otheractions_action_attribute", "repeating_otheractions_dice_d20", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(values) { + on("change:repeating_otheractions:action_attribute change:repeating_otheractions:dice_d20 change:repeating_otheractions:dice_modifier", function() { + getAttrs(["repeating_otheractions_action_attribute", "repeating_otheractions_dice_d20", "repeating_otheractions_dice_modifier", "agility_score", "agility_dice_modifier", "fortitude_score", "fortitude_dice_modifier", "might_score", "might_dice_modifier", "learning_score", "learning_dice_modifier", "logic_score", "logic_dice_modifier", "perception_score", "perception_dice_modifier", "will_score", "will_dice_modifier", "deception_score", "deception_dice_modifier", "persuasion_score", "persuasion_dice_modifier", "presence_score", "presence_dice_modifier", "alteration_score", "alteration_dice_modifier", "creation_score", "creation_dice_modifier", "energy_score", "energy_dice_modifier", "entropy_score", "entropy_dice_modifier", "influence_score", "influence_dice_modifier", "movement_score", "movement_dice_modifier", "prescience_score", "prescience_dice_modifier", "protection_score", "protection_dice_modifier"], function(values) { var score = 0; if(values.repeating_otheractions_action_attribute === "Agility") { score = values.agility_score*1 + values.agility_dice_modifier*1; @@ -1616,6 +1619,7 @@ repeating_items } else if(values.repeating_otheractions_action_attribute === "Protection") { score = values.protection_score*1 + values.protection_dice_modifier*1; } + score = score*1 + values.repeating_otheractions_dice_modifier*1; var number = calcAttributeDiceNumber(score); var type = calcAttributeDiceType(score); var roll = ""; @@ -2289,7 +2293,7 @@ var TAS = TAS || (function(){
-
2016.12.15 Version 1.7.1 y
+
2016.12.23 Version 1.7.3 y
Character Info
@@ -2780,8 +2784,8 @@ var TAS = TAS || (function(){
- -
SUPERNATURAL
+ +
EXTRAORDINARY
Click name to Roll
@@ -3023,7 +3027,7 @@ var TAS = TAS || (function(){
- +
@@ -3212,6 +3216,8 @@ var TAS = TAS || (function(){
+
Increase/Decrease dice size:
+
d20 for this action is:
@@ -3296,6 +3302,8 @@ var TAS = TAS || (function(){
+
Increase/Decrease dice size:
+
d20 for this action is:
diff --git a/Open Legend Basic by Great Moustache/ReadMe.md b/Open Legend Basic by Great Moustache/ReadMe.md index f8fa20c1b6..f232a31f9a 100644 --- a/Open Legend Basic by Great Moustache/ReadMe.md +++ b/Open Legend Basic by Great Moustache/ReadMe.md @@ -5,6 +5,13 @@ ### Changelog +### 1.7.3 on 2016 December 23rd +* Added an option under "Favored Actions" and "Other Actions" to allow modification of dice size for rolling + - This is mainly for the "Martial Focus" feat, or anyothers that may come along (maybe even items). + +### 1.7.2 ON 2016 December 23rd +* Changed refrences from Supernatural to Extraordinary where applicable + ### 1.7.1 on 2016 December 15th * Modified power level to have a min and max value to input - Success message in chat output based on min value, but tells you for both.