mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 12:17:02 +00:00
Fixed for deploy
This commit is contained in:
1 parent
f3e0d9fab3
commit
5734b89bc6
2 files changed
+3
-2
No files matched your search
@@ -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