浏览代码

More gameover lines for Selicia. Fixed being able to use reversal on ungrapplable foe

tags/v0.2.8
Fen Dweller 7 年前
父节点
当前提交
803dfb1e23
共有 3 个文件被更改,包括 27 次插入2 次删除
  1. +3
    -0
      combat.js
  2. +23
    -1
      customs.js
  3. +1
    -1
      feast.js

+ 3
- 0
combat.js 查看文件

@@ -308,6 +308,9 @@ function grappledReverse(attacker) {
return ["Your prey tries to grab at you, but you keep them under control."];
}
},
conditions: [
function(attacker, defender) { return defender.flags.grapple; }
],
requirements: [
function(attacker, defender) { return isGrappled(attacker) && isNormalSize(attacker) && isNormal(defender); },
function(attacker, defender) { return attacker.flags.grappled; }


+ 23
- 1
customs.js 查看文件

@@ -966,8 +966,11 @@ function Selicia() {
this.attacks.push(seliciaGrabSwallow(this));
this.attacks.push(seliciaGrabUnbirth(this));

this.attacks.push(grappledReverse(this));

this.attacks.push(seliciaPin(this));
this.attacks.push(seliciaPinUnbirth(this));
this.attacks.push(seliciaPinGrind(this));

this.digests = [];

@@ -1047,7 +1050,8 @@ function seliciaTailCrush(attacker) {
function(attacker, defender) { return attacker.flags.voreType == "tail"; }
],
priority: 1,
weight: function(attacker, defender) { return 1; }
weight: function(attacker, defender) { return 1; },
gameover: function() { return "Constricted by Selicia's tail"; }
};
}

@@ -1203,6 +1207,24 @@ function seliciaPinUnbirth(attacker) {
};
}

function seliciaPinGrind(attacker) {
return {
attackPlayer: function(defender) {
attack(attacker, defender, attacker.str*2);
attacker.changeStamina(-10);
defender.changeStamina(-25);
return ["Selicia grinds over your pinned body, smearing you in her scent and wearing you out and dealing " + attack(attacker, defender, attacker.str*2) + "damage."];
}, requirements: [
function(attacker, defender) { return isNormal(attacker) && isGrappled(defender); },
function(attacker, defender) { return attacker.flags.voreType == "unbirth"; }
],
priority: 1,
weight: function(attacker, defender) { return 1; },
gameover: function() { return "Snuffed out by Selicia's lust"; }
};
}


function seliciaUnbirthPull(predator) {
return {
digest: function(player) {


+ 1
- 1
feast.js 查看文件

@@ -666,7 +666,7 @@ function status() {
update(lines);
}

let toSave = ["str","dex","con","name","species"];
let toSave = ["str","dex","con","name","species","health","stamina"];

function saveGame() {
let save = {};


正在加载...
取消
保存