diff --git a/customs.js b/customs.js index 62ffb26..a153c0b 100644 --- a/customs.js +++ b/customs.js @@ -59,8 +59,8 @@ function getaGrab(attacker) { return attacker.description() + " leans down and snatches you up, stuffing you into his maw."; }, conditions: [ - function(prefs) { - return prefs.prey; + function(attacker, defender) { + return defender.prefs.prey; } ], requirements: [ @@ -167,6 +167,11 @@ function getaStompFinish(attacker) { return defender.stamina <= 0; } ], + conditions: [ + function(attacker, defender) { + return defender.prefs.gore; + } + ], priority: 3, }; } diff --git a/feast.html b/feast.html index e7e2e5a..278697b 100644 --- a/feast.html +++ b/feast.html @@ -25,7 +25,7 @@