Skip to content

Commit

Permalink
Merge pull request #12159 from Jiboux/EDv315b-patch
Browse files Browse the repository at this point in the history
Earthdawn FASA Official - v315b - patch
  • Loading branch information
NorWhal authored Sep 18, 2023
2 parents a6c01c2 + ac341ee commit d993d7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Earthdawn (FASA Official)/Earthdawn.html
Original file line number Diff line number Diff line change
Expand Up @@ -17162,19 +17162,19 @@
'use strict';
for( i = 0; i < tarray.length; i++ ) {
pre = buildPre( "T", tarray[ i ]);
getV = _.union( getV, [ pre + "Mod-Type", pre + "Special" , pre+"Attribute", pre+"Defensive", pre+"Special"]);
getV = _.union( getV, [ pre+"Name", pre + "Mod-Type", pre + "Special" , pre+"Attribute", pre+"Defensive", pre+"Special"]);
}
getSectionIDs("repeating_knacks", function gsUpdateCharacterSheetIdKnacks(karray) {
'use strict';
for( i = 0; i < karray.length; i++ ) {
pre = buildPre( "NAC", karray[ i ]);
getV = _.union( getV, [ pre + "Mod-Type", pre + "Special", pre+"Attribute",pre+"Defensive", pre+"Special"]);
getV = _.union( getV, [ pre+"Name", pre + "Mod-Type", pre + "Special", pre+"Attribute",pre+"Defensive", pre+"Special"]);
}
getSectionIDs("repeating_skills", function gsUpdateCharacterSheetIdSkills(skarray) {
'use strict';
for( i = 0; i < skarray.length; i++ ) {
pre = buildPre( "SK", skarray[ i ]);
getV = _.union( getV, [ pre + "Mod-Type", pre + "Special", pre+"Attribute",pre+"Defensive", pre+"Special"]);
getV = _.union( getV, [ pre+"Name", pre + "Mod-Type", pre + "Special", pre+"Attribute",pre+"Defensive", pre+"Special"]);
}


Expand All @@ -17194,7 +17194,7 @@
vals[pre+"Attribute"]="Initiative";
}
if(values[pre+"Special"]=="Knockdown") vals[pre+"Mod-Type"]="Effect";
switch(values[pre+"Name"].trim()){
switch(safeString(values[pre+"Name"]).trim()){
case "Trick Riding":
case "Avoid Blow" : vals[pre+"Defensive"]="1"; break;
case "Steel Thought, Absorb Spell" :
Expand Down

0 comments on commit d993d7d

Please sign in to comment.