ソースを参照

Male wyvern can instantly ingest the player at 0 stamina/health

tags/v0.2.8
Fen Dweller 7年前
コミット
df937c46f7
1個のファイルの変更22行の追加1行の削除
  1. +22
    -1
      mountain.js

+ 22
- 1
mountain.js ファイルの表示

@@ -62,6 +62,7 @@ function MountainWyrm() {

this.attacks.push(wyrmCockSwallow(this));
this.attacks.push(wyrmCockCrush(this));
this.attacks.push(wyrmCockIngest(this));

this.attacks.push(wyrmBallsDigest(this));

@@ -177,7 +178,7 @@ function wyrmPounce(attacker) {
],
priority: 1,
weight: function(attacker, defender) {
return 2.5 - 2 * defender.healthPercentage();
return 2.5 - 1.25 * defender.healthPercentage();
}
};
}
@@ -304,6 +305,26 @@ function wyrmCockSwallow(attacker) {
};
}

function wyrmCockIngest(attacker) {
return {
attackPlayer: function(defender) {
attacker.flags.cockDepth = 5;
attacker.flags.state = "balls";
return ["Exhausted and weak, you can do little to resist as a long, smooth swallow sucks you all the way into the wyrm's swollen balls."];
},
requirements: [
function(attacker, defender) {
return attacker.flags.state == "cock";
},
function(attacker, defender) {
return defender.health <= 0 || defender.stamina <= 0;
}
],
priority: 2,
weight: function(attacker, defender) { return 1; }
};
}

function wyrmCockCrush(attacker) {
return {
attackPlayer: function(defender) {


読み込み中…
キャンセル
保存