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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user