Chaosforge Forum

DoomRL => Bug Reports => Topic started by: Blahness on May 13, 2011, 18:07

Title: [0.9.9.3]Subtle armor bug
Post by: Blahness on May 13, 2011, 18:07
Either that, or the wiki's wrong.

--------------------------------------------------------------
 DoomRL (v.0.9.9.3) roguelike post-mortem character dump
--------------------------------------------------------------

 Blah, level 2 Demon Sergeant Major, smitten by a cacodemon
 on level 2 of the Phobos base.
 He survived 7189 turns and scored 5829 points.
 He played for 4 minutes and 5 seconds.
 He wasn't afraid to be hurt plenty.

 He killed 31 out of 35 hellspawn. (88%)


-- Special levels --------------------------------------------

  Levels generated : 11
  Levels visited   : 1
  Levels completed : 0

-- Awards ----------------------------------------------------

  None

-- Graveyard -------------------------------------------------

  ###########################################################
  #########.............................#####################
  ...............................................%..#########
  .........................................................##
  .....................................####..####............
  ......c........####..................####..####............
  .......####..}.####..................####..####.%..........
  .......####....####........................................
  ...c...####...................X.............%..............
  ##............................................####.........
  ##..................................####......####...%.....
  ##...........####.........O.........####......####.........
  .............####...................####...................
  .............####........%.................................
  ........................................%.####.............
  ..........................%...............####.............
  ..........................................####...........##
  ..................................................#########
  #########.............................#####################
  ###########################################################

-- Statistics ------------------------------------------------

  Health 0/50   Experience 1472/2
  ToHit Ranged +0  ToHit Melee +0  ToDmg Ranged +0  ToDmg Melee +0

-- Traits ----------------------------------------------------

    Tough as nails   (Level 2)

  TaN->TaN->

-- Equipment -------------------------------------------------

    [a] [ Armor      ]   nothing
    [b] [ Weapon     ]   combat shotgun (7d3) [2/5]
    [c] [ Boots      ]   nothing
    [d] [ Prepared   ]   combat shotgun (7d3) [5/5]

-- Inventory -------------------------------------------------

    [a] pistol (2d4) [4/6]
    [b] shotgun (8d3) [1/1]
    [c] green armor [1/1] (72%)
    [d] 10mm ammo (x100)
    [e] 10mm ammo (x37)
    [f] shotgun shell (x31)
    [g] small med-pack
    [h] small med-pack
    [i] small med-pack

-- Kills -----------------------------------------------------

    8 former humans
    2 former sergeants
    2 former captains
    10 imps
    3 demons
    2 lost souls
    4 cacodemons

-- History ---------------------------------------------------

  He started his journey on the surface of Phobos.
  On level 2 he entered Hell's Arena.
  On level 2 he finally was killed by a cacodemon.

-- Messages --------------------------------------------------

 You load a shell into the combat shotgun.
 You load a shell into the combat shotgun.
 You load a shell into the combat shotgun.
 You load a shell into the combat shotgun.
 Your combat shotgun is already loaded.
 You dodge!
 Fire -- Choose target...
 You see : a cacodemon (unhurt) [m]ore | blood
 You pump a shell into the shotgun chamber.
 Fire -- Choose target...
 You see : a cacodemon (lightly wounded) [m]ore | floor
 You pump a shell into the shotgun chamber.
 Fire -- Choose target...
 You see : a cacodemon (wounded) [m]ore | floor
 The cacodemon fires! You are hit! Your green armor is completely
 destroyed! You die!... Press <Enter>...

-- General ---------------------------------------------------

 Before him 73 brave souls have ventured into Phobos:
 62 of those were killed.
 2 of those were killed by something unknown.

 And 5 couldn't handle the stress and committed a stupid suicide.

 Some rumours though, say that the Cyberdemon was killed already!
 Is he immortal? 4 souls claim to have killed him...
 1 sacrificed itself for the good of mankind.
 3 killed the bastard and survived.

--------------------------------------------------------------

I was at 12 HP exactly.  What this means is that either Caco damage isn't 2d6 damage, or that TaN doesn't apply for the round in which armor is destroyed.

Which is true?
Title: Re: [0.9.9.3]Subtle armor bug
Post by: Gargulec on May 13, 2011, 18:11
Cacos do plasma damage, which halves armor.
Title: Re: [0.9.9.3]Subtle armor bug
Post by: Blahness on May 13, 2011, 18:26
Cacos do plasma damage, which halves armor.

Irrelevant, unless the halving armor calculation is seriously broken.
Title: Re: [0.9.9.3]Subtle armor bug
Post by: Deathwind on May 13, 2011, 19:28
Were you at 12 hp or 12%?
Title: Re: [0.9.9.3]Subtle armor bug
Post by: Blahness on May 13, 2011, 22:30
Were you at 12 hp or 12%?

24%, 12 HP.  Straight to 0.
Title: Re: [0.9.9.3]Subtle armor bug
Post by: raekuul on May 13, 2011, 23:25
This is where the Negative HP In Mortem from 0.9.8.10 would have been very helpful. Seeing just how far into the negative Blah had been pushed would help us figure out exactly what happened.

In the meantime, I'd just go with "Wiki's wrong, most likely out of date."
Title: Re: [0.9.9.3]Subtle armor bug
Post by: yaflhdztioxo on May 14, 2011, 07:09
Wiki is not wrong, cacos do 2d6 plasma damage.
Title: Re: [0.9.9.3]Subtle armor bug
Post by: UnderAPaleGreySky on May 14, 2011, 11:31
Unless I'm mistaken, the issue is that there should still be one point of armour, preventing the death. Perhaps there is a bug of sorts regarding TaN and armour being destroyed?
Title: Re: [0.9.9.3]Subtle armor bug
Post by: yaflhdztioxo on May 14, 2011, 12:25
I took a look; armor damage/destruction is handled AFTER its damage reduction value is pulled (and added to a being's innate armor), so destroyed armor still protects you that turn.

I also didn't see anything in those procs that would increase damage done ever.  So as of right now I don't know.