Browse Source

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

tags/v0.2.8
Fen Dweller 7 years ago
parent
commit
df937c46f7
1 changed files with 22 additions and 1 deletions
  1. +22
    -1
      mountain.js

+ 22
- 1
mountain.js View File

@@ -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) {


Loading…
Cancel
Save