(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{234:function(t,s,e){},235:function(t,s,e){"use strict";var i=e(4),n=e(28).find,r=e(65),a=e(20),o=!0,l=a("find");"find"in[]&&Array(1).find((function(){o=!1})),i({target:"Array",proto:!0,forced:o||!l},{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r("find")},236:function(t,s,e){"use strict";var i=e(234);e.n(i).a},237:function(t,s,e){"use strict";e(235),e(15),e(39);var i={name:"Breadcrumb",computed:{bread:function(){var t=this.$page.path.split("/");t[t.length-1].length||t.pop();for(var s="",e=[],i=0;i=0&&(t="+"+t),t}var a={abilities:{for:{label:"Force",abbr:"For"},dex:{label:"Dextérité",abbr:"Dex"},con:{label:"Constitution",abbr:"Con"},int:{label:"Intelligence",abbr:"Int"},sag:{label:"Sagesse",abbr:"Sag"},cha:{label:"Charisme",abbr:"Cha"}},sizes:{tp:{label:"Très petit",abbr:"TP",hitDie:4},p:{label:"Petit",abbr:"P",hitDie:6},m:{label:"Moyen",abbr:"M",hitDie:8},g:{label:"Grand",abbr:"G",hitDie:10},tg:{label:"Très grand",abbr:"TG",hitDie:12},gig:{label:"Gigantesque",abbr:"Gig",hitDie:20}}},o={data:function(){return{}},computed:{monster:function(){return this.$page.frontmatter},proficiencyBonus:function(){return this.getProficiencyBonus()}},methods:{displayAbilityScore:function(t){return(e=n(s=t))>=0&&(e="+"+e),s+" ("+e+")";var s,e},getModifier:function(t){return n(t)},getProficiencyBonus:function(){return t=this.monster.level,Math.ceil(t/4)+1;var t},displaySavingThrowBonus:function(t){var s=a.abilities[t].abbr;return s+=" "+r(n(this.monster.abilityScores[t])+this.proficiencyBonus)},displaySkillBonus:function(t){var s=t.name,e=n(this.monster.abilityScores[t.ability])+this.proficiencyBonus;return t.isExpert&&(e+=this.proficiencyBonus),s+=" "+(e=r(e))},displayHP:function(){if(this.monster.customHP)return this.monster.customHP;if(this.monster.level){var t=8;this.monster.hitDieSize?t=this.monster.hitDieSize:this.monster.size&&(t=a.sizes[this.monster.size].hitDie);var s=1;this.monster.level>1&&(s=Math.floor(this.monster.level/2));var e=this.monster.level*(t/2)+this.monster.level*n(this.monster.abilityScores.con)+s,i="";return 0!=n(this.monster.abilityScores.con)&&(i=r(i=this.monster.level*n(this.monster.abilityScores.con))),e+" ("+this.monster.level+"d"+t+i+")"}return""}},mounted:function(){}},l=e(7),c=Object(l.a)(o,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("main",{staticClass:"page content"},[e("div",{staticClass:"theme-default-content"},[e("h1",[t._v(t._s(t.$page.title))]),t._v(" "),e("div",{staticClass:"monster-hit-points"},[e("strong",[t._v("Points de vie")]),t._v(" "),e("span",[t._v(t._s(t.displayHP()))])]),t._v(" "),e("div",{staticClass:"monster-details"},[e("div",{staticClass:"monster-ability-scores"},[e("div",{staticClass:"ability-str"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.for))+"\n ")]),t._v(" "),e("div",{staticClass:"ability-dex"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.dex))+"\n ")]),t._v(" "),e("div",{staticClass:"ability-con"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.con))+"\n ")]),t._v(" "),e("div",{staticClass:"ability-int"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.int))+"\n ")]),t._v(" "),e("div",{staticClass:"ability-wis"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.sag))+"\n ")]),t._v(" "),e("div",{staticClass:"ability-cha"},[t._v("\n "+t._s(t.displayAbilityScore(t.monster.abilityScores.cha))+"\n ")])]),t._v(" "),e("div",{staticClass:"monster-saving-throws"},[e("strong",[t._v("Jets de sauvegarde")]),t._v(" "),t._l(t.monster.savingThrows,(function(s,i){return e("span",{staticClass:"monster-saving-throw"},[[t._v(t._s(t.displaySavingThrowBonus(s)))],i