diff --git a/5eShaped/5eShaped.html b/5eShaped/5eShaped.html index fe1fe57583..89042ebbbe 100644 --- a/5eShaped/5eShaped.html +++ b/5eShaped/5eShaped.html @@ -60,7 +60,7 @@ 'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.Modifiers=undefined;var _createClass=function(){function defineProperties(target,props){for(var i=0;itokenProps.light_radius){tokenProps.light_radius=format.round(senseRange*1.166666666666);}else if(senseRange0){tokenProps.width=tokenWidth;}if(tokenHeight>0){tokenProps.height=tokenHeight;}}_constants.SENSES.forEach(function(sense){if((0,_utilities.exists)(data.senses)){var senseRegex=new RegExp(sense+'\\s(\\d+)','gi');var senseResult=data.senses.match(senseRegex);if(senseResult){_this6.processSense(tokenProps,sense,senseResult[1]);}}else if(data[sense]){_this6.processSense(tokenProps,sense,parseFloat(data[sense]));}});setDefaultToken(tokenProps);}});}},{key:'turnOnSlotsIfItsNotSet',value:function turnOnSlotsIfItsNotSet(){server.getSetItems('npc.turnOnSlotsIfItsNotSet',{collectionArray:['spellcasting','spell_slots_toggle'],process:function process(data){if((0,_utilities.exists)(data.spellcasting)){data.spell_slots_toggle=1;}}});}},{key:'setup',value:function setup(){var _this7=this;on('change:type',function(){_this7.updateType();});on('change:size',function(){_this7.updateSize();});on('change:ac_srd',function(){_this7.updateAC();});on('change:is_npc',function(){_this7.switchTo();});on('change:challenge',function(){_this7.updateChallenge();});on('change:hp_srd',function(){_this7.updateHPFromSRD();});on('change:hit_dice change:hit_die change:hp_extra change:constitution change:ability_score_modifier',function(){_this7.updateHP();});on('change:content_srd',function(){_this7.updateContent();});on('change:languages',function(){_this7.updateLanguages();});on('change:ac_note',function(){_this7.updateACNote();});on('change:spellcaster_level',function(){_this7.updateCasterLevel();});on('change:spellcasting',function(){_this7.turnOnSlotsIfItsNotSet();});on('sheet:compendium-drop',function(){_this7.npcDroppedOnTabletop();});}}]);return Npc;}(); +'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.Npc=undefined;var _createClass=function(){function defineProperties(target,props){for(var i=0;itokenProps.light_radius){tokenProps.light_radius=format.round(senseRange*1.166666666666);}else if(senseRange0){tokenProps.width=tokenWidth;}if(tokenHeight>0){tokenProps.height=tokenHeight;}}_constants.SENSES.forEach(function(sense){if((0,_utilities.exists)(data.senses)){var senseRegex=new RegExp(sense+'\\s(\\d+)','gi');var senseResult=data.senses.match(senseRegex);if(senseResult){_this6.processSense(tokenProps,sense,senseResult[1]);}}else if(data[sense]){_this6.processSense(tokenProps,sense,parseFloat(data[sense]));}});setDefaultToken(tokenProps);}});}},{key:'turnOnSlotsIfItsNotSet',value:function turnOnSlotsIfItsNotSet(){server.getSetItems('npc.turnOnSlotsIfItsNotSet',{collectionArray:['spellcasting','spell_slots_toggle'],process:function process(data){if((0,_utilities.exists)(data.spellcasting)){data.spell_slots_toggle=1;}}});}},{key:'setup',value:function setup(){var _this7=this;on('change:type',function(){_this7.updateType();});on('change:size',function(){_this7.updateSize();});on('change:ac_srd',function(){_this7.updateAC();});on('change:is_npc',function(){_this7.switchTo();});on('change:challenge',function(){_this7.updateChallenge();});on('change:hp_srd',function(){_this7.updateHPFromSRD();});on('change:hit_dice change:hit_die change:hp_extra change:constitution change:ability_score_modifier',function(){_this7.updateHP();});on('change:content_srd',function(){_this7.updateContent();});on('change:languages',function(){_this7.updateLanguages();});on('change:ac_note',function(){_this7.updateACNote();});on('change:spellcaster_level',function(){_this7.updateCasterLevel();});on('change:spellcasting',function(){_this7.turnOnSlotsIfItsNotSet();});on('sheet:compendium-drop',function(){_this7.npcDroppedOnTabletop();});}}]);return Npc;}(); },{"../abilities/AbilitiesUtil":2,"../actions/Actions":9,"../hitDice/HitDice":18,"../proficiencyBonus/ProficiencyBonus":23,"../scripts/Format":29,"../scripts/Server":33,"../scripts/constants":35,"../scripts/utilities":37,"../spells/Spells":41}],22:[function(require,module,exports){ 'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.Processing=undefined;var _createClass=function(){function defineProperties(target,props){for(var i=0;i=3){levels[1]=4;}else if(casterLevel===2){levels[1]=3;}else if(casterLevel===1){levels[1]=2;}if(casterLevel>=4){levels[2]=3;}else if(casterLevel===3){levels[2]=2;}if(casterLevel>=6){levels[3]=3;}else if(casterLevel===5){levels[3]=2;}if(casterLevel>=9){levels[4]=3;}else if(casterLevel===8){levels[4]=2;}else if(casterLevel===7){levels[4]=1;}if(casterLevel>=18){levels[5]=3;}else if(casterLevel>=10){levels[5]=2;}else if(casterLevel===9){levels[5]=1;}if(casterLevel>=19){levels[6]=2;}else if(casterLevel>=11){levels[6]=1;}if(casterLevel>=20){levels[7]=2;}else if(casterLevel>=13){levels[7]=1;}if(casterLevel>=15){levels[8]=1;}if(casterLevel>=17){levels[9]=1;}}if(casterType==='half'){if(casterLevel>=5){levels[1]=4;}else if(casterLevel>=3){levels[1]=3;}else if(casterLevel===2){levels[1]=2;}if(casterLevel>=7){levels[2]=3;}else if(casterLevel>=5){levels[2]=2;}if(casterLevel>=11){levels[3]=3;}else if(casterLevel>=9){levels[3]=2;}if(casterLevel>=17){levels[4]=3;}else if(casterLevel>=15){levels[4]=2;}else if(casterLevel>=13){levels[4]=1;}if(casterLevel>=19){levels[5]=2;}else if(casterLevel>=17){levels[5]=1;}}if(casterType==='third'){if(casterLevel>=7){levels[1]=4;}else if(casterLevel>=4){levels[1]=3;}else if(casterLevel===3){levels[1]=2;}if(casterLevel>=10){levels[2]=3;}else if(casterLevel>=7){levels[2]=2;}if(casterLevel>=16){levels[3]=3;}else if(casterLevel>=13){levels[3]=2;}if(casterLevel>=19){levels[4]=1;}}Object.keys(levels).forEach(function(level){if(levels[level]>0||(0,_utilities.exists)(data['spell_slots_l'+level+'_calc'])){data['spell_slots_l'+level+'_calc']=levels[level];}else if((0,_utilities.exists)(data['spell_slots_l'+level+'_calc'])){data['spell_slots_l'+level+'_calc']='';}var spellSlotMax=levels[level]+(0,_utilities.getIntValue)(data['spell_slots_l'+level+'_bonus']);if(spellSlotMax>0){data['spell_slots_l'+level+'_max']=spellSlotMax;if((0,_utilities.isUndefinedOrEmpty)(data['spell_slots_l'+level])){data['spell_slots_l'+level]=spellSlotMax;}data['spell_level_filter_'+level]=1;}else{if((0,_utilities.exists)(data['spell_slots_l'+level])){data['spell_slots_l'+level]='';}if((0,_utilities.exists)(data['spell_slots_l'+level+'_max'])){data['spell_slots_l'+level+'_max']=0;}if((0,_utilities.exists)(data['spell_level_filter_'+level])){data['spell_level_filter_'+level]=0;}}});},callback:function callback(){_this3.generateHigherLevelQueries();}});}},{key:'updateWarlockSlots',value:function updateWarlockSlots(){server.getSetItems('spells.updateWarlockSlots',{collectionArray:['warlock_spell_slots','warlock_spell_slots_calc','warlock_spell_slots_bonus','warlock_spell_slots_max'],process:function process(data){var warlockSlots=(0,_utilities.getIntValue)(data.warlock_spell_slots_calc)+(0,_utilities.getIntValue)(data.warlock_spell_slots_bonus);data.warlock_spell_slots=warlockSlots;data.warlock_spell_slots_max=warlockSlots;}});}},{key:'updateChatMacro',value:function updateChatMacro(levelsToUpdate){if(!levelsToUpdate){levelsToUpdate=_constants.SPELL_LEVELS;}var chatMacro={};levelsToUpdate.forEach(function(spellLevel){chatMacro[spellLevel]=[];});server.getSetItems('spells.updateChatMacro',{collectionArray:levelsToUpdate.map(function(level){return'spells_level_'+level+'_macro_var';}),repeatingSections:levelsToUpdate.map(function(spellLevel){return{name:'repeating_spell'+spellLevel,collectionArrayAddItems:['name','is_prepared'].concat(_constants.REPEATING_FIELDS.uses)};}),process:function process(data,repStrings){repStrings.forEach(function(repString){if((0,_utilities.isUndefinedOrEmpty)(data[repString+'_name'])){removeRepeatingRow(repString);}else{var level=(0,_utilities.getLevelOfRepeatingString)(repString);var classes=['spell-wrapper'];if(data[repString+'_is_prepared']==='Yes'){classes.push('prepared');}classes=classes.map(function(className){return'sheet-'+className;}).join(' ');var action={name:data[repString+'_name']};actionComponents.updateUsesForChatMacro(data,repString,action);chatMacro[level].push('['+action.name+'](~'+repString+'_spell)');}});levelsToUpdate.forEach(function(level){data['spells_level_'+level+'_macro_var']=chatMacro[level].join(', ');if(level===0||data['spells_level_'+level+'_macro_var']&&data['spells_level_'+level+'_macro_var'].length>0){data['spell_level_filter_'+level]=1;}});}});}},{key:'count',value:function count(){server.getSetItems('spells.count',{collectionArray:['spells_known','spells_prepared'],repeatingSections:_constants.SPELL_LEVELS.map(function(spellLevel){return{name:'repeating_spell'+spellLevel,collectionArrayAddItems:['name','is_prepared']};}),process:function process(data,repStrings){data.spells_known=0;data.spells_prepared=0;repStrings.forEach(function(repString){if((0,_utilities.isUndefinedOrEmpty)(data[repString+'_name'])){removeRepeatingRow(repString);}else{var level=(0,_utilities.getLevelOfRepeatingString)(repString);if(level>0){data.spells_known+=1;if((0,_utilities.exists)(data[repString+'_is_prepared'])){data.spells_prepared+=1;}}}});}});}},{key:'generateHigherLevelQueries',value:function generateHigherLevelQueries(){var collectionArray=['automatic_higher_level_queries','warlock_slots_toggle','warlock_spells_max_level'];for(var level=1;level<=8;level+=1){collectionArray.push('cast_as_level_'+level);collectionArray.push('higher_level_query_'+level);}for(var _level=1;_level<=9;_level+=1){collectionArray.push('spell_slots_l'+_level);}server.getSetItems('spells.generateHigherLevelQueries',{collectionArray:collectionArray,process:function process(data){for(var _level2=1;_level2<=8;_level2+=1){var levels=[];var warlockSpellsMaxLevel=(0,_utilities.getIntValue)(data.warlock_spells_max_level);for(var j=_level2;j<=9;j+=1){if(!(0,_utilities.exists)(data.automatic_higher_level_queries)||(0,_utilities.getIntValue)(data['spell_slots_l'+j])||j===warlockSpellsMaxLevel){levels.push(j);}}if(levels&&levels.length>1||levels.length===1&&levels[0]!==_level2&&!(0,_utilities.exists)(data.warlock_slots_toggle)){data['higher_level_query_'+_level2]='?{Spell Level|'+levels.join('|')+'}';}else if(levels&&levels.length===1){data['higher_level_query_'+_level2]=levels[0];}else{data['higher_level_query_'+_level2]='?{Spell Level|'+_level2+'}';}if(levels&&levels.includes(_level2)){data['cast_as_level_'+_level2]=_level2;}else{data['cast_as_level_'+_level2]=data['higher_level_query_'+_level2];}}}});}},{key:'updateHasSpellSlots',value:function updateHasSpellSlots(){server.getSetItems('spells.updateHasSpellSlots',{collectionArray:['spell_slots_toggle','has_spell_slots'],process:function process(data){if((0,_utilities.exists)(data.spell_slots_toggle)){data.has_spell_slots=true;}else{data.has_spell_slots='';}}});}},{key:'updateHasWarlockSlots',value:function updateHasWarlockSlots(){server.getSetItems('spells.updateHasWarlockSlots',{collectionArray:['warlock_slots_toggle','has_warlock_slots'],process:function process(data){if((0,_utilities.exists)(data.warlock_slots_toggle)){data.has_warlock_slots=true;}else{data.has_warlock_slots='';}}});}},{key:'updateHasSpellPoints',value:function updateHasSpellPoints(){server.getSetItems('spells.updateHasSpellPoints',{collectionArray:['spell_points_toggle','has_spell_points'],process:function process(data){if((0,_utilities.exists)(data.spell_points_toggle)){data.has_spell_points=true;}else{data.has_spell_points='';}}});}},{key:'parseSpellcastingAbilityFromTraits',value:function parseSpellcastingAbilityFromTraits(data,repString){var spellcastingAbilityRegex=/spellcasting ability is (\w+)/i;var spellcastingAbilityRegexSecond=/uses (\w+) as (her|his|its) spellcasting ability/i;var spellcastingSearch=spellcastingAbilityRegex.exec(data[repString+'_content']);if(spellcastingSearch&&spellcastingSearch[1]){data.spell_ability=spellcastingSearch[1].toUpperCase();}else{var spellcastingSearchSecond=spellcastingAbilityRegexSecond.exec(data[repString+'_content']);if(spellcastingSearchSecond&&spellcastingSearchSecond[1]){data.spell_ability=spellcastingSearchSecond[1].toUpperCase();}}}},{key:'parseSpellsPerLevel',value:function parseSpellsPerLevel(data,repStrings,spellsToParseObj){var listOfSpells=repStrings.map(function(repString){return data[repString+'_name'].toLowerCase();});Object.keys(spellsToParseObj).forEach(function(level){if(spellsToParseObj[level].bonusSlots){data['spell_slots_l'+level+'_bonus']=spellsToParseObj[level].bonusSlots;}spellsToParseObj[level].spells.split(',').forEach(function(spell){spell=spell.trim();if(listOfSpells&&!listOfSpells.includes(spell)){var repStringNew='repeating_spell'+level+'_'+generateRowID();data[repStringNew+'_name']=spell;data[repStringNew+'_spell_level']=format.ordinalSpellLevel(level);}});});}},{key:'parseSpellcastingFromTraits',value:function parseSpellcastingFromTraits(data,repStrings,traitContent){data.spell_slots_toggle=1;data.spellcasting=1;var cantripsRegex=/Cantrips.*:\s(.*)/gi;var spellcastingRegex=/(\d+)\w+\slevel\s\((\d+)\s?slot(?:s)?\):?\s?(.*)/gi;var spellcastingLevelRegex=/(\d+)(?:st|dn|rd|th)-level spellcaster/i;var spellcastingClassRegex=/following (\w+) spells prepared/i;var spellcastingClassRegexSecond=/following spells prepared from the (\w+) spell list/i;var spellsToParseObj={};var cantripsSearch=cantripsRegex.exec(traitContent);if(cantripsSearch&&cantripsSearch[1]){spellsToParseObj[0]={spells:cantripsSearch[1]};}var match=void 0;while((match=spellcastingRegex.exec(traitContent))!==null){if(match&&match[1]&&match[2]&&match[3]){spellsToParseObj[match[1]]={bonusSlots:match[2],spells:match[3]};}}if((0,_utilities.objIsNotEmpty)(spellsToParseObj)){this.parseSpellsPerLevel(data,repStrings,spellsToParseObj);}var spellcastingLevelSearch=spellcastingLevelRegex.exec(traitContent);if(spellcastingLevelSearch&&spellcastingLevelSearch[1]){data.caster_level=spellcastingLevelSearch[1];data.spellcaster_level=format.ordinalSpellLevel(spellcastingLevelSearch[1]);}var spellcastingClassSearch=spellcastingClassRegex.exec(traitContent);if(spellcastingClassSearch&&spellcastingClassSearch[1]){data.spellcasting_class=spellcastingClassSearch[1].toUpperCase();}else{var spellcastingClassSearchSecond=spellcastingClassRegexSecond.exec(traitContent);if(spellcastingClassSearchSecond&&spellcastingClassSearchSecond[1]){data.spellcasting_class=spellcastingClassSearchSecond[1].toUpperCase();}}}},{key:'parseInnateSpellcastingFromTraits',value:function parseInnateSpellcastingFromTraits(data,repStrings,traitContent){data.innate_spellcasting=1;var innateSpellsRegex=/(?:At will|each):\s(.*)/gi;var innateSpellcastingComponentRegex=/(.*requiring no material components:)/i;var innateSpellcastingComponentRegexSecond=/(.*requiring only verbal components:)/i;var spellsToParseObj={0:{spells:''},1:{spells:''},2:{spells:''},3:{spells:''},4:{spells:''},5:{spells:''},6:{spells:''},7:{spells:''},8:{spells:''},9:{spells:''}};var match=void 0;while((match=innateSpellsRegex.exec(traitContent))!==null){if(match&&match[1]){spellsToParseObj[0].spells+=', '+match[1];}}if((0,_utilities.objIsNotEmpty)(spellsToParseObj)){this.parseSpellsPerLevel(data,repStrings,spellsToParseObj);}var innateSpellcastingComponentSearch=innateSpellcastingComponentRegex.exec(traitContent);if(innateSpellcastingComponentSearch){data.innate_spellcasting_components='INNATE_SPELLCASTING_NO_MATERIAL';if(innateSpellcastingComponentSearch[1]){data.innate_spellcasting_blurb=traitContent.replace(innateSpellcastingComponentSearch[1],'').trim();}}else{var innateSpellcastingComponentSearchSecond=innateSpellcastingComponentRegexSecond.exec(traitContent);if(innateSpellcastingComponentSearchSecond){data.innate_spellcasting_components='INNATE_SPELLCASTING_ONLY_VERBAL';if(innateSpellcastingComponentSearchSecond[1]){data.innate_spellcasting_blurb=traitContent.replace(innateSpellcastingComponentSearchSecond[1],'').trim();}}}}},{key:'parseSpellcasting',value:function parseSpellcasting(type,traitContent){var _this4=this;server.getSetItems('spells.parseSpellcasting',{collectionArray:['level','challenge','spellcasting_class','innate_spellcasting','spellcasting'].concat(_constants.SPELL_LEVELS.map(function(spellLevel){return'spell_slots_l'+spellLevel+'_bonus';})),repeatingSections:_constants.SPELL_LEVELS.map(function(spellLevel){return{name:'repeating_spell'+spellLevel,collectionArrayAddItems:['name','spell_level']};}),process:function process(data,repStrings){if(type==='innate'){_this4.parseInnateSpellcastingFromTraits(data,repStrings,traitContent);}else{_this4.parseSpellcastingFromTraits(data,repStrings,traitContent);}},callback:function callback(){_this4.updateSpellAbility();_this4.updateDCAndAttack();_this4.updateSlots();_this4.updateChatMacro();_this4.updateHasSpellSlots();_this4.updateHasWarlockSlots();_this4.updateHasSpellPoints();}});}},{key:'findSpellcasting',value:function findSpellcasting(repeatingInfo){var _this5=this;var deleteItem=false;server.getSetItems('spells.findSpellcasting',{collectionArray:['is_npc','spell_ability','show_spells'],repeatingSections:[{name:'repeating_trait',collectionArrayAddItems:['name','content'].concat(_constants.REPEATING_FIELDS.attack),repeatingInfo:repeatingInfo}],process:function process(data,repStrings){if((0,_utilities.exists)(data.is_npc)){repStrings.forEach(function(repString){if((0,_utilities.isUndefinedOrEmpty)(data[repString+'_name'])){deleteItem=true;removeRepeatingRow(repString);}else if(data[repString+'_name']&&data[repString+'_name'].includes('Spellcasting')){data.show_spells=1;_this5.parseSpellcastingAbilityFromTraits(data,repString);if(data[repString+'_name'].includes('Innate')){_this5.parseSpellcasting('innate',data[repString+'_content']);deleteItem=true;removeRepeatingRow(repString);}else{_this5.parseSpellcasting('normal',data[repString+'_content']);if(!data[repString+'_name'].includes('Shared')){deleteItem=true;removeRepeatingRow(repString);}}}});}},callback:function callback(){if(!deleteItem){actions.update(['trait'],repeatingInfo);}}});}},{key:'filtersToggleAll',value:function filtersToggleAll(){var _this6=this;server.getSetItems('spells.filtersToggleAll',{collectionArray:['spell_level_filter_all'].concat(_constants.SPELL_LEVELS.map(function(spellLevel){return'spell_level_filter_'+spellLevel;})),process:function process(data){var onOrOff=0;if((0,_utilities.exists)(data.spell_level_filter_all)){onOrOff=1;}_constants.SPELL_LEVELS.forEach(function(spellLevel){data['spell_level_filter_'+spellLevel]=onOrOff;});},callback:function callback(){_this6.filtersMacroOutput();}});}},{key:'filtersMacroOutput',value:function filtersMacroOutput(){server.getSetItems('spells.filtersToggleAll',{collectionArray:['spells_filter_var'].concat(_constants.SPELL_LEVELS.map(function(spellLevel){return'spell_level_filter_'+spellLevel;})),process:function process(data){data.spells_filter_var='';_constants.SPELL_LEVELS.forEach(function(spellLevel){if((0,_utilities.exists)(data['spell_level_filter_'+spellLevel])){data.spells_filter_var+=' {{spells_level_'+spellLevel+'_show=1}}';}});}});}},{key:'setup',value:function setup(){var _this7=this;var _loop=function _loop(level){on('change:repeating_spell'+level,function(eventInfo){var repeatingInfo=(0,_utilities.getRepeatingInfo)('repeating_spell'+level,eventInfo);if(repeatingInfo&&repeatingInfo.field==='spell_level'){_this7.changeLevel(level,repeatingInfo);}else if(repeatingInfo&&repeatingInfo.field!=='toggle_details'){_this7.update(level,repeatingInfo);_this7.updateChatMacro([level]);_this7.count();}});on('change:_reporder_repeating_spell'+level+' remove:repeating_spell'+level,function(){_this7.updateChatMacro([level]);_this7.count();});};for(var level=0;level<=9;level+=1){_loop(level);}on('change:distance_system',function(){_this7.update();});on('change:spell_slots_toggle change:spell_points_toggle',function(){_this7.updateChatMacro();});on('change:spell_ability',function(){_this7.updateSpellAbility();});on('change:spell_slots_l1_bonus change:spell_slots_l2_bonus change:spell_slots_l3_bonus change:spell_slots_l4_bonus change:spell_slots_l5_bonus change:spell_slots_l6_bonus change:spell_slots_l7_bonus change:spell_slots_l8_bonus change:spell_slots_l9_bonus',function(){_this7.updateSlots();});on('change:warlock_spell_slots_calc change:warlock_spell_slots_bonus',function(){_this7.updateWarlockSlots();});on('change:spell_slots_toggle',function(){_this7.updateHasSpellSlots();});on('change:warlock_slots_toggle',function(){_this7.updateHasWarlockSlots();});on('change:spell_points_toggle',function(){_this7.updateHasSpellPoints();});on('change:automatic_higher_level_queries change:warlock_spell_slots change:warlock_spells_max_level change:spell_slots_l1 change:spell_slots_l2 change:spell_slots_l3 change:spell_slots_l4 change:spell_slots_l5 change:spell_slots_l6 change:spell_slots_l7 change:spell_slots_l8 change:spell_slots_l9',function(){_this7.generateHigherLevelQueries();});on('change:spell_ability change:base_dc',function(){_this7.updateDCAndAttack();});on('change:spell_level_filter_all',function(){_this7.filtersToggleAll();});var filters=_constants.SPELL_LEVELS.map(function(spellLevel){return'spell_level_filter_'+spellLevel;});on(filters.map(function(field){return'change:'+field;}).join(' '),function(){_this7.filtersMacroOutput();});on('change:repeating_trait:content',function(eventInfo){var repeatingInfo=(0,_utilities.getRepeatingInfo)('repeating_trait',eventInfo);_this7.findSpellcasting(repeatingInfo);});}}]);return Spells;}(); },{"../abilities/AbilitiesUtil":2,"../actionComponents/ActionComponents":4,"../actionComponents/Attack":5,"../actionComponents/Heal":7,"../actionComponents/SavingThrow":8,"../actions/Actions":9,"../scripts/Distance":28,"../scripts/Format":29,"../scripts/Server":33,"../scripts/constants":35,"../scripts/utilities":37}],42:[function(require,module,exports){ -'use strict';Object.defineProperty(exports,"__esModule",{value:true});var currentVersion='15.7.2';exports.currentVersion=currentVersion; +'use strict';Object.defineProperty(exports,"__esModule",{value:true});var currentVersion='15.7.4';exports.currentVersion=currentVersion; },{}]},{},[36]); \ No newline at end of file diff --git a/5eShaped/changelog.md b/5eShaped/changelog.md index be3583b9d2..aa71de9cfa 100644 --- a/5eShaped/changelog.md +++ b/5eShaped/changelog.md @@ -11,6 +11,16 @@ Bugs fall into the patch category. The sheet will always upgrade itself unless I specify otherwise, though some things like roll template fields changing will require users who have added custom macros to fix. +## 15.7.4 + +### Bug Fixes +* Fix parsing of single quotes that I broke as part of 15.7.3 + +## 15.7.3 + +### Bug Fixes +* [#652: Tome of Beasts characters have errors on import](https://bitbucket.org/mlenser/5eshaped/issues/652/tome-of-beasts-characters-have-errors-on). Tome of Beast format variations parsed away to the expected format. + ## 15.7.2 ### Bug Fixes