[Question] Death's Door Expiry Message

If it doesn't fit anywhere else, it belongs here. Also, come here if you just need to get hammered.

User avatar

Spider Stomper

Posts: 231

Joined: Saturday, 1st October 2011, 18:32

Post Friday, 19th January 2018, 23:10

[Question] Death's Door Expiry Message

How many aut/turns of invulnerability are left when Death's Door returns:
Your time is quickly running out!

I found this in duration-data.h , L270-276:
      LIGHTGREY, "DDoor",
      "death's door", "deaths door",
      "You are standing in death's doorway.", D_EXPIRES,
      {{ "Your life is in your own hands again!", []() {
            you.duration[DUR_DEATHS_DOOR_COOLDOWN] = random_range(10, 30);
      }}, { "Your time is quickly running out!", 5 }}, 10},

It was the only file which had the expiry message, but I am unsure what it exactly means. The time remaining on DDoor after the expiry message is not constant - either related to the duration of DDoor or is semi-random.

Posting here instead of Coding due to higher traffic.
Thank you.
"It's lucky to be smart, but smarter to be lucky."
- sirlaser the Eclecticist (Human Wanderer), worshipper of Ashenzari

Dungeon Master

Posts: 624

Joined: Thursday, 23rd October 2014, 03:08

Post Saturday, 20th January 2018, 04:15

Re: [Question] Death's Door Expiry Message

from what I understand reading the code, the message occurs when the duration has 10 turns left, and the game removes 1d5 turns from the duration when the message is played so you have between 9 and 4 turns left before it expires

Return to Crazy Yiuf's Corner

Who is online

Users browsing this forum: No registered users and 24 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.