Soul Rot damage

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Soul Rot damage

#1 Post by greycat »

I think there's a miscalculation somewhere. A level 4 Corruptor shouldn't be able to do this much, right? Spellpower is just 26.

Code: Select all

[LOG]   Imbuk casts Soul Rot.
USING   table: 0xa70fe38        Soul Rot
[SPELL CRIT %]  15.067937640226
[LOG]   Imbuk's spell looks more powerful!
Adding entity   30559   after   12
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(0.705964) totstat(7.200000) talent_mod(1.000000)
[ATTACK] to     Imbuk    ::     3.3886292430093 3       2       ::      1
checkHit        15      4
=> chance to hit        82.221929473392
[LOG]   Fox misses Imbuk.
[PROJECTOR] starting dam        1641.2609343034
[PROJECTOR] after difficulty dam        1641.2609343034
[PROJECTOR] res 0       1        on dam 1641.2609343034
[PROJECTOR] after resists dam   1641.2609343034
[PROJECTOR] final dam   1641.2609343034
Oh, and just in case it matters, I'm also wearing a random artifact wizard hat that claims to have "critical damage modifier +21%".

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Soul Rot damage

#2 Post by greycat »

Something's definitely failing to divide by 100, to convert a "percent" into an actual fraction.

Code: Select all

[LOG]   Imbuk's spell looks more powerful!
Adding entity   56341   after   2473
[PROJECTOR] starting dam        2895.3353368968
[PROJECTOR] after difficulty dam        2895.3353368968
[PROJECTOR] res 0       1        on dam 2895.3353368968
[PROJECTOR] after resists dam   2895.3353368968
[PROJECTOR] final dam   2895.3353368968
[LOG]   Imbuk hits giant yellow ant for #DARK_GREEN#2895.34 blight damage#LAST#.

Code: Select all

[LOG]   Imbuk's spell looks more powerful!
Adding entity   56343   after   2473
[PROJECTOR] starting dam        2672.2303301245
[PROJECTOR] after difficulty dam        2672.2303301245
[PROJECTOR] res 0       1        on dam 2672.2303301245
[PROJECTOR] after resists dam   2672.2303301245
[PROJECTOR] final dam   2672.2303301245
[LOG]   Imbuk hits treant for #DARK_GREEN#2672.23 blight damage#LAST#.
Every time I get a critical hit, it's doing about 20 times as much damage as it should. This makes the game rather unbalanced. Here's a full char sheet:

Code: Select all

  [Tome 4.00 @ http://www.te4.org Character Dump]

Sex              : Male         STR:  16
Race             : Cornac       DEX:  15
Class            : Corruptor    MAG:  37
Level            : 12           WIL:  13
Exp              : 99%          CUN:  11
Gold             : 53.65        CON:  13

Attack(Main Hand):   5          Life             :     275/275  Encumbrance      : 34/68
Damage(Main Hand):  16                                          Difficulty       : Normal
APR   (Main Hand):   2          
Crit  (Main Hand):   2%         
Speed (Main Hand): 1.00         
                                Vim              :     124/124
                                

Fatigue          : 1%           Spellpower       : 38
Armor            : 2            Spell Crit       : 6.4752000465878%
Defense          : 5.75         Spell Speed      : 1
Ranged Defense   : 5.75         

Lightning damage : 8%
Nature damage    : 6%

Physical Save    : 7.25
Spell Save       : 12.5
Mental Save      : 6

All Resists:   0%
Cold Resist(cap):  12%( 70%)
Nature Resist(cap):   6%( 70%)
Confusion Resistance:  30%
Blind Resistance:  80%
Stun Resistance:  30%

Number of NPC killed: 380
Most killed NPC: white worm mass (36)

  [Talents Chart]

 - Technique / Combat training        (mastery 1.00)
    Heavy Armour Training (generic)   0/5
    Massive Armour Training (generic) 0/5
    Health (generic)                  0/5
    Weapon Combat (generic)           0/10
    Weapons Mastery (generic)         0/10
    Knife Mastery (generic)           0/10
 - Corruption / Sanguisuge            (mastery 1.30)
    Blood Sacrifice (generic)         3/5
    Drain (generic)                   5/5
    Absorb Life (generic)             0/5
    Life Tap (generic)                0/5
 - Corruption / Vim                   (mastery 1.30)
    Soul Rot (generic)                4/5
    Vimsense (generic)                0/5
    Leech (generic)                   0/5
    Dark Portal (generic)             0/5
 - Corruption / Bone                  (mastery 1.30)
    Bone Spear (class)                2/5
    Bone Grab (class)                 0/5
    Bone Nova (class)                 0/5
    Bone Shield (class)               0/5
 - Corruption / Hexes                 (mastery 1.30)
    Pacification Hex (class)          1/5
    Burning Hex (class)               0/5
    Empathic Hex (class)              0/5
    Domination Hex (class)            0/5
 - Corruption / Curses                (mastery 1.30)
    Curse of Defenselessness (class)  1/5
    Curse of Impotence (class)        0/5
    Curse of Death (class)            0/5
    Curse of Vulnerability (class)    0/5
 - Corruption / Plage                 (mastery 1.30)
    Virulent Disease (class)          4/5
    Cyst Burst (class)                3/5
    Catalepsy (class)                 0/5
    Epidemic (class)                  0/5
 - Corruption / Blood                 (mastery 1.30)
    Blood Spray (class)               1/5
    Blood Grasp (class)               1/5
    Blood Boil (class)                2/5
    Blood Fury (class)                0/5
 - Corruption / Blight                (mastery 1.30)
    Dark Ritual (class)               2/5
    Corrupted Negation (class)        0/5
    Corrosive Worm (class)            0/5
    Poison Storm (class)              0/5

  [Current Effects]

- Hymn of Perseverance
- Dark Ritual

  [Completed Quests]

 -- Escort: lost anorithil (level 2 of Trollshaws)
You successfully escorted the lost anorithil to the recall portal on level 2 of Trollshaws.
As a reward you improved talent Hymn of Perseverance (+1 level(s)).
 -- Trapped!
You heard a plea for help and decided to investigate...
Only to find yourself trapped inside an unknown tunnel complex.
 -- The beast within
You met an half mad lumberjack fleeing a small village, rambling about untold horrors lurking there, slaughtering people.
7 lumberjacks have died.
 -- Of trolls and damp caves
Explore the caves below the ruins of Kor'Pul and the Trollshaws in search of treasure and glory!

   * You have explored the ruins of Kor'Pul and vanquished the Shade.   
   * You have explored the Trollshaws and vanquished the Bill the Stone Troll.   
 -- Scrying for dummies
You have found an object that seems to be unique, it looks like it has hidden powers within.
Go to the town of Derth, to the south of the Trollshaws, and talk to the local scryer, maybe she can be of help.

  [Active Quests]

 -- Storming the city
As you came to Derth you saw a huge dark cloud over the small town.
When you entered you were greeted by an army of air elementals slaughtering the population.
 * You have dispatched the elementals but the cloud lingers still. You must find a powerful ally to remove it. There are rumours of a secret town in the blue mountains, to the south west.
 -- An apprentice task
You met a novice mage who was tasked to collect many staves or jewelry.
He asked for your help should you collect some that you do not use.
   * 2/10   
 -- Into the darkness
It is time to explore some new places dark, forgotten and dangerous ones.
The Old Forest is just south-east of the town of Derth.
The Maze is west of Derth.
The Sandworm Lair is to the far west of Derth, near the sea.
The Daikara is to the eastern borders of the Thaloren forest.
   * You must explore the Old Forest and find out what lurks there and what treasures are to be gained!   
   * You must explore the Maze and find out what lurks there and what treasures are to be gained!   
   * You must explore the Sandworm Lair and find out what lurks there and what treasures are to be gained!   
   * You must explore the Daikara and find out what lurks there and what treasures are to be gained!   

  [Character Equipment]

 In main hand
a) crackling elm staff of might (3.5-4.2 power, 2 apr, light damage)
   Type: weapon / staff
3 Power [Range 1.20] (+100% Magic), 0 Attack, 2 Armor Penetration, Crit 2%
Damage type: light
When wielded/worn:
Increases damage type: 8% lightning.
Spellpower 1, Spell Crit 6%

   Dropped by Bill the Stone Troll
 In off hand
 On fingers
b) copper ring
   Type: jewelry / ring

c) steel ring of nature's blessing (+6%)
   Type: jewelry / ring
When wielded/worn:
Increases damage type: 6% nature.

 Around neck
 Light source
d) bright brass lantern of clear sight
   Type: lite / lite
When wielded/worn:
Increases blindness immunity: 50%.
Light radius 3

   Dropped by The Shade
 Main armor
e) woollen robe of cold resistance (0 def, 0 armor)
   Type: armor / cloth
When wielded/worn:
Increases resistances: 12% cold.

 Cloak
f) elven-silk cloak (3 def, 0 armor)
   Type: armor / cloak
When wielded/worn:
Armor 0, Defense 3, Ranged Defense 0

 On head
g) Willownail the linen wizard hat (1 def, 0 armor)
   Type: armor / head
When wielded/worn:
Armor 0, Defense 1, Ranged Defense 0
Increases resistances: 6% nature.
Increases critical damage modifier: +21%.

 Around waist
 On hands
h) rough leather gloves (0 def, 1 armor)
   Type: armor / hands
When wielded/worn:
Armor 1, Defense 0, Ranged Defense 0

 On feet
i) pair of rough leather boots (0 def, 1 armor)
   Type: armor / feet
When wielded/worn:
Armor 1, Defense 0, Ranged Defense 0
Fatigue 1%

   Dropped by forest troll
 Tool
 Quiver

  [Player Achievements]

'Curse Lifter' was achieved for Killed Ben Cruthdar the Cursed. At 2010-11-24 18:32:21
'Level 10' was achieved for Got a character to level 10. At 2010-11-24 18:20:39
'Size matters' was achieved for Do over 600 damage in one attack At 2010-11-23 23:08:06

  [Character Inventory]

a) Orb of Scrying
   Type: jewelry / orb
When carried:
It can be used to use the orb, costing 1 power out of 1/1.
b) iron helm of strength (+3) (0 def, 3 armor)
   Type: armor / head
When wielded/worn:
Armor 3, Defense 0, Ranged Defense 0
Fatigue 5%
Increases stats: 3 Strength.

c) shaloran iron helm of dexterity (+1) (0 def, 3 armor)
   Type: armor / head
When wielded/worn:
Armor 3, Defense 0, Ranged Defense 0
Fatigue 5%
Increases stats: 1 Willpower,2 Dexterity.
Increases stun immunity: 20%.

   Dropped by Bill the Stone Troll
d) rough leather armour of lightning resistance (1 def, 2 armor)
   Type: armor / light
When wielded/worn:
Armor 2, Defense 1, Ranged Defense 0
Fatigue 6%
Increases resistances: 12% lightning.

   Dropped by bandit
e) agate
   Type: gem / black
When used to imbue an object:
Increases stats: 1 Constitution,1 Dexterity,1 Magic,1 Strength,1 Willpower,1 Cunning.

f) onyx
   Type: gem / black
When used to imbue an object:
Increases stats: 3 Strength,3 Dexterity,3 Magic,3 Willpower,3 Cunning,3 Constitution.

g) jade
   Type: gem / green
When used to imbue an object:
Increases resistances: 8% all.

h) 2 spinel
   Type: gem / green
When used to imbue an object:
Armor 0, Defense 2, Ranged Defense 0

i) bloodstone
   Type: gem / red
When used to imbue an object:
Increases stun immunity: 60%.

j) solid elm wand of illumination (6/7)
   Type: wand / wand
It can be used to light the area, with 6 charges out of 7.
   Dropped by Bill the Stone Troll
k) 2 diamond
   Type: gem / white
When used to imbue an object:
Increases stats: 5 Strength,5 Dexterity,5 Magic,5 Willpower,5 Cunning,5 Constitution.

l) quartz
   Type: gem / white
When used to imbue an object:
Increases stun immunity: 30%.

m) 2 ametrine
   Type: gem / yellow
When used to imbue an object:
Increases damage type: 2% all.


  [Last Messages]

Talent Soul Rot is ready to use.
A poisonous vine strikes at Imbuk!
Something hits Imbuk for 2.35 nature damage.
Ran for 5 turns (stop reason: taken damage).
Imbuk is poisoned!
Something hits Imbuk for 2.35 nature damage.
Something hits Imbuk for 2.35 nature damage.
Something hits Imbuk for 2.35 nature damage.
Something hits Imbuk for 2.35 nature damage.
Imbuk uses Infusion: Wild.
Imbuk stops being poisoned.
Imbuk is cured!
Imbuk lessen the pain.
Imbuk feels pain.
Imbuk casts Drain.
Imbuk hits giant venus flytrap for 113.51 blight damage.
Imbuk killed giant venus flytrap!
Talent Infusion: Wild is ready to use.
Talent Drain is ready to use.
Imbuk casts Virulent Disease.
Treant is afflicted by a weakness disease!
Imbuk hits treant for 18.76 blight damage.
Imbuk hits treant for 18.76 blight damage.
Imbuk hits treant for 18.76 blight damage.
Talent Virulent Disease is ready to use.
Imbuk hits treant for 18.76 blight damage.
Imbuk casts Virulent Disease.
Giant venus flytrap is afflicted by a decrepitude disease!
Imbuk hits giant venus flytrap for 17.57 blight damage.
Imbuk hits giant venus flytrap for 17.57 blight damage.
Treant is free from the weakness disease.
Imbuk casts Drain.
Imbuk's spell looks more powerful!
Imbuk hits treant for 2672.23 blight damage.
Imbuk killed treant!
Talent Virulent Disease is ready to use.
Imbuk hits giant venus flytrap for 17.57 blight damage.
Talent Drain is ready to use.
Imbuk casts Drain.
Imbuk hits large brown snake for 99.06 blight damage.

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: Soul Rot damage

#3 Post by Grey »

Better start pumping your crit rate then :)
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Soul Rot damage

#4 Post by darkgod »

Fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Soul Rot damage

#5 Post by greycat »

From IRC (edge and Final Master), apparently the code in question is game/modules/tome/class/interface/Combat.lua line 589:

Code: Select all

                dam = dam * (1.5 + (self:getTalentLevel(self.T_PERFECT_AIM) / 10 or 0)+(self.combat_critical_power or 0))
should be

Code: Select all

                dam = dam * (1.5 + (self:getTalentLevel(self.T_PERFECT_AIM) / 10 or 0)+(self.combat_critical_power or 0) / 100)
And it's only spells that were affected, not combat criticals.

Post Reply