mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 22:32:41 +00:00
Fixed for deploy
This commit is contained in:
@@ -43,7 +43,8 @@ var Encounter = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
createEnemy : function(props, type, index){
|
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({
|
return _.extend({
|
||||||
id : type + index,
|
id : type + index,
|
||||||
name : type,
|
name : type,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ var encounters = [
|
|||||||
desc : 'Gross fight',
|
desc : 'Gross fight',
|
||||||
reward : 'curved horn, goat sac',
|
reward : 'curved horn, goat sac',
|
||||||
enemies : ['demon_goat', 'demon_goat', 'demon_goat'],
|
enemies : ['demon_goat', 'demon_goat', 'demon_goat'],
|
||||||
index : {
|
unique : {
|
||||||
demon_goat : {
|
demon_goat : {
|
||||||
"hp" : 140,
|
"hp" : 140,
|
||||||
"ac" : 16,
|
"ac" : 16,
|
||||||
|
|||||||
Reference in New Issue
Block a user