0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Fixed for deploy

This commit is contained in:
Scott Tolksdorf
2015-11-23 13:45:39 -05:00
parent f3e0d9fab3
commit 5734b89bc6
2 changed files with 3 additions and 2 deletions

View File

@@ -43,7 +43,8 @@ var Encounter = React.createClass({
},
createEnemy : function(props, type, index){
var stats = props.index[type] || props.monsterManual[type];
var stats = props.unique[type] || props.monsterManual[type];
if(!stats) return;
return _.extend({
id : type + index,
name : type,

View File

@@ -18,7 +18,7 @@ var encounters = [
desc : 'Gross fight',
reward : 'curved horn, goat sac',
enemies : ['demon_goat', 'demon_goat', 'demon_goat'],
index : {
unique : {
demon_goat : {
"hp" : 140,
"ac" : 16,