Verbose Addon - deep analysis in the log :-)

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Verbose Addon - deep analysis in the log :-)

#1 Post by jenx »

After many months of coding and testing, I am pleased to release my Verbose Addon.

Updates:
1.5.5d - improved reporting of OnTakeHit
1.5.5e - improved reporting of defaultPojector (including indenting it) - it will report more now

What does it do? Simply, it changes the log output dramatically, to provide players with MUCH more information about the game mechanics. In this way, it is very useful for studying the game and talent interactions.

So far, however, it is primarily geared towards classes that hit things in melee. I have yet to code the log for archers etc and for pure magic users.

It also, however, records lots of information about talents/runes etc that reduce damage, and this is where it is really helpful too, for a deep understanding of the game (imo).

For melee classes especially, it reveals a world of information. The best way to use it is by starting the game in this mode: "...t-engine4-windows-1.5.5 - Copy\t-engine.exe" --flush-stdout and then using a program like baretail to track the log as it is created. This mode means the log is flushed to log.txt in real time, with no delays.

This addon is probably incompatible with many addons, because it modifies these files: Actor.lua, Combat.lua, damage_types.lua. That said, I've been using it for months with a number of addons.

So, what does the log look like? Glad you asked.... I'll post more in further posts.

The log records the stages melee attacks go through and most (but not all) of the damage mitigation effects of the game. It does this both for the player's attacks and for any NPC attacking the player (but not for anyone else).

The Player's attacks etc start with $ and the NPC's attacking the Player start with ^.

At higher levels, when there are tonnes of on-hit effects etc, the log can get VERY long, but it is still very interesting I believe, and it has helped me become a better player.

I use INDENTS to indicate the flow of the log (but it has limitations) and the numbers indicate the order in which items are processed in the game. Read more about this here: http://forums.te4.org/viewtopic.php?f=38&t=47993.

So, here are some examples:

Level 1 Berserker, hitting a fox

Code: Select all

[LOG]	Ran for 2 turns (stop reason: hostile spotted to the east (fox)).
[LOG]	
$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (iron greatsword), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 18, damage multiplier 1.00. Target has def 5
    $2.5  [attackTargetWith] Player has damage 22.59, apr 1, accuracy 18, damage multiplier 1.00. Target has def 5, armour 1, name: fox
      $ [checkHit] accuracy 18 versus def 5 gives chance to hit of 83 percent
[LOG]	#UID:13382:0##fbd578#Errili#LAST# misses Fox.
    $2.28 [attackTargetWith] of Player now checks for [callbackOnMeleeMiss], which is only Tempo talent
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
fox	16502	dumb ai talents can use	Attack	T_ATTACK
dumb ai uses	T_ATTACK
^1.0  [attackTarget] NPC attempts a new melee attack with one or both weapons...
  ^1.11 [attackTarget] NPC attacking with unarmed/innate combat, and triggers [attackTargetWith]...
    ^2.2  [attackTargetWith] NPC has accuracy 11, damage multiplier 1.00. Target has def 2
    ^2.5  [attackTargetWith] NPC has damage 4.14, apr 3, accuracy 11, damage multiplier 1.00. Target has def 2, armour 6, name: Errili
      ^ [checkHit] accuracy 11 versus def 2 gives chance to hit of 73 percent
    ^2.17 [attackTargetWith] NPC has damage 4.14, apr 3, accuracy 11, damage multiplier 1.00. Player has def 2, armour 6, armour hardiness 0.48
    ^2.18 [attackTargetWith] Armour on Player reduces damage from 4.14 to 2.15
    ^2.19 [attackTargetWith] Range adjusts damage of NPC from 2.15 to 2.00
      ^ [physicalCrit] NPC's initial crit chance: 1.00 adjusted to final crit chance 0.00. Player factors: Crit Reduction of target reduces crit chance by 2.86 / NPC factors: 
    ^2.26 [attackTargetWith] After DamageType Conversion, damage of NPC is 2.00, and calls [projector]...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 2.00 
      ^3.54 [projector] NPC attempts to do 2.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 2.00 ...
    ^2.29 [attackTargetWith] of NPC now calls [attackTargetHitProcs]...
      ^6.20  [attackTargetHitProcs] of NPC calls any available [callbackOnMeleeAttack] functions - to be coded still
fox	16502	dumb ai talents can use	Attack	T_ATTACK
dumb ai uses	T_ATTACK
^1.0  [attackTarget] NPC attempts a new melee attack with one or both weapons...
  ^1.11 [attackTarget] NPC attacking with unarmed/innate combat, and triggers [attackTargetWith]...
    ^2.2  [attackTargetWith] NPC has accuracy 11, damage multiplier 1.00. Target has def 2
    ^2.5  [attackTargetWith] NPC has damage 4.14, apr 3, accuracy 11, damage multiplier 1.00. Target has def 2, armour 6, name: Errili
      ^ [checkHit] accuracy 11 versus def 2 gives chance to hit of 73 percent
    ^2.17 [attackTargetWith] NPC has damage 4.14, apr 3, accuracy 11, damage multiplier 1.00. Player has def 2, armour 6, armour hardiness 0.48
    ^2.18 [attackTargetWith] Armour on Player reduces damage from 4.14 to 2.15
    ^2.19 [attackTargetWith] Range adjusts damage of NPC from 2.15 to 2.00
      ^ [physicalCrit] NPC's initial crit chance: 1.00 adjusted to final crit chance 0.00. Player factors: Crit Reduction of target reduces crit chance by 2.86 / NPC factors: 
    ^2.26 [attackTargetWith] After DamageType Conversion, damage of NPC is 2.00, and calls [projector]...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 2.00 
      ^3.54 [projector] NPC attempts to do 2.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 2.00 ...
    ^2.29 [attackTargetWith] of NPC now calls [attackTargetHitProcs]...
      ^6.20  [attackTargetHitProcs] of NPC calls any available [callbackOnMeleeAttack] functions - to be coded still
Level 1 Mindslayer with Kinetic Aura

Code: Select all

[PSI ATTACK] attacking with	iron greatsword
  $2.2  [attackTargetWith] Player has accuracy 20, damage multiplier 1.00. Target has def 1
  $2.5  [attackTargetWith] Player has damage 10.14, apr 1, accuracy 20, damage multiplier 1.00. Target has def 1, armour 1, name: giant carpenter ant
    $ [checkHit] accuracy 20 versus def 1 gives chance to hit of 98 percent
  $2.17 [attackTargetWith] Player has damage 10.14, apr 1, accuracy 20, damage multiplier 1.00. NPC has def 1, armour 1, armour hardiness 0.30
  $2.19 [attackTargetWith] Range adjusts damage of Player from 10.14 to 10.00
    $ [physicalCrit] Player's initial crit chance: 5.50 adjusted to final crit chance 5.50. NPC factors: Player factors: 
  $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 10.00, and calls [projector]...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type PHYSICAL starts at 10.00 
    $3.54 [projector] Player attempts to do 10.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 10.00 ...
  $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type PHYSICAL starts at 6.79 
    $3.54 [projector] Player attempts to do 6.79 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 6.79 ...
    $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
[LOG]	
[LOG]	Lieen's Beyond the Flesh hits Giant carpenter ant for #aaaaaa#10 physical#LAST#, #aaaaaa#7 physical#LAST# (17 total damage).
$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (iron greatsword), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 20, damage multiplier 1.00. Target has def 1
    $2.5  [attackTargetWith] Player has damage 10.05, apr 1, accuracy 20, damage multiplier 1.00. Target has def 1, armour 1, name: giant carpenter ant
      $ [checkHit] accuracy 20 versus def 1 gives chance to hit of 98 percent
    $2.17 [attackTargetWith] Player has damage 10.05, apr 1, accuracy 20, damage multiplier 1.00. NPC has def 1, armour 1, armour hardiness 0.30
    $2.19 [attackTargetWith] Range adjusts damage of Player from 10.05 to 11.00
      $ [physicalCrit] Player's initial crit chance: 5.50 adjusted to final crit chance 5.50. NPC factors: Player factors: 
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 11.00, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 11.00 
      $3.54 [projector] Player attempts to do 11.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 11.00 ...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 6.79 
      $3.54 [projector] Player attempts to do 6.79 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 6.79 ...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
giant carpenter ant	25221	dumb ai talents can use	Attack	T_ATTACK
dumb ai uses	T_ATTACK
^1.0  [attackTarget] NPC attempts a new melee attack with one or both weapons...
  ^1.11 [attackTarget] NPC attacking with unarmed/innate combat, and triggers [attackTargetWith]...
    ^2.2  [attackTargetWith] NPC has accuracy 20, damage multiplier 1.00. Target has def 0
    ^2.5  [attackTargetWith] NPC has damage 7.36, apr 7, accuracy 20, damage multiplier 1.00. Target has def 0, armour 0, name: Lieen
      ^ [checkHit] accuracy 20 versus def 0 gives chance to hit of 100 percent
    ^2.17 [attackTargetWith] NPC has damage 7.36, apr 7, accuracy 20, damage multiplier 1.00. Player has def 0, armour 0, armour hardiness 0.30
    ^2.19 [attackTargetWith] Range adjusts damage of NPC from 7.36 to 7.00
      ^ [physicalCrit] NPC's initial crit chance: 1.00 adjusted to final crit chance 1.00. Player factors: NPC factors: 
    ^2.26 [attackTargetWith] After DamageType Conversion, damage of NPC is 7.00, and calls [projector]...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 7.00 
      ^3.37 [projector] Kinetic Shield of Player reduces damage from 7.00 to 4.27
      ^3.54 [projector] NPC attempts to do 4.27 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 4.27 ...
    ^2.29 [attackTargetWith] of NPC now calls [attackTargetHitProcs]...
      ^6.20  [attackTargetHitProcs] of NPC calls any available [callbackOnMeleeAttack] functions - to be coded still
[LOG]	#UID:13901:0##fbd578#Lieen#LAST# hits Giant carpenter ant for #aaaaaa#11 physical#LAST#, #aaaaaa#7 physical#LAST# (18 total damage).
[LOG]	#UID:25221:0#Giant carpenter ant hits #fbd578#Lieen#LAST# for #aaaaaa#(3 to psi shield)#LAST#, #aaaaaa#4 physical#LAST# (4 total damage).
[PSI ATTACK] attacking with	iron greatsword
  $2.2  [attackTargetWith] Player has accuracy 20, damage multiplier 1.00. Target has def 1
  $2.5  [attackTargetWith] Player has damage 10.14, apr 1, accuracy 20, damage multiplier 1.00. Target has def 1, armour 1, name: giant carpenter ant
    $ [checkHit] accuracy 20 versus def 1 gives chance to hit of 98 percent
  $2.17 [attackTargetWith] Player has damage 10.14, apr 1, accuracy 20, damage multiplier 1.00. NPC has def 1, armour 1, armour hardiness 0.30
  $2.19 [attackTargetWith] Range adjusts damage of Player from 10.14 to 14.00
    $ [physicalCrit] Player's initial crit chance: 5.50 adjusted to final crit chance 5.50. NPC factors: Player factors: 
  $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 14.00, and calls [projector]...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type PHYSICAL starts at 14.00 
    $3.54 [projector] Player attempts to do 14.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 14.00 ...
  $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
    $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
Level 6 Mindslayer, with Kinetic Aura turned to shield

Code: Select all

[PSI ATTACK] attacking with	iron greatsword
  $2.2  [attackTargetWith] Player has accuracy 28, damage multiplier 1.00. Target has def 4
  $2.5  [attackTargetWith] Player has damage 14.09, apr 1, accuracy 28, damage multiplier 1.00. Target has def 4, armour 1, name: white ooze
    $ [checkHit] accuracy 28 versus def 4 gives chance to hit of 100 percent
  $2.17 [attackTargetWith] Player has damage 14.09, apr 1, accuracy 28, damage multiplier 1.00. NPC has def 4, armour 1, armour hardiness 0.30
  $2.18 [attackTargetWith] Armour on NPC reduces damage from 14.09 to 14.09
  $2.19 [attackTargetWith] Range adjusts damage of Player from 14.09 to 22.00
    $ [physicalCrit] Player's initial crit chance: 8.20 adjusted to final crit chance 8.20. NPC factors: Player factors: 
  $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 22.00, and calls [projector]...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type PHYSICAL starts at 22.00 
    $3.54 [projector] Player attempts to do 22.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 22.00 ...
[LOG]	White ooze splits in two!
      $5.34 [onTakeHit] concludes, Player's damage was reduced from 22.00 to 11.00
  $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type PHYSICAL starts at 9.82 
    $3.54 [projector] Player attempts to do 9.82 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 9.82 ...
    ---------------------------------------------------------
    $3.1  [projector] Player's damage of type FIRE starts at 7.24 
    $3.54 [projector] Player attempts to do 7.24 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $5.0  [onTakeHit] Player commences with initial damage = 7.24 ...
    $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
AI took for target	25579	cutpurse	::	13901	Lieen	9	<	100
^1.0  [attackTarget] NPC attempts a new melee attack with one or both weapons...
  ^1.11 [attackTarget] NPC attacking with unarmed/innate combat, and triggers [attackTargetWith]...
    ^2.2  [attackTargetWith] NPC has accuracy 20, damage multiplier 1.00. Target has def 4
    ^2.5  [attackTargetWith] NPC has damage 10.96, apr 4, accuracy 20, damage multiplier 1.00. Target has def 4, armour 6, name: Lieen
      ^ [checkHit] accuracy 20 versus def 4 gives chance to hit of 90 percent
    ^2.17 [attackTargetWith] NPC has damage 10.96, apr 4, accuracy 20, damage multiplier 1.00. Player has def 4, armour 6, armour hardiness 0.44
    ^2.18 [attackTargetWith] Armour on Player reduces damage from 10.96 to 8.46
    ^2.19 [attackTargetWith] Range adjusts damage of NPC from 8.46 to 8.00
      ^ [physicalCrit] NPC's initial crit chance: 1.00 adjusted to final crit chance 0.00. Player factors: Crit Reduction of target reduces crit chance by 1.50 / NPC factors: 
    ^2.26 [attackTargetWith] After DamageType Conversion, damage of NPC is 8.00, and calls [projector]...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 8.00 
      ^3.54 [projector] NPC attempts to do 8.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 8.00 ...
        ^5.15 [onTakeHit] Damage Shield of Player reduces damage from 8.00 to 0.00
    ^2.29 [attackTargetWith] of NPC now calls [attackTargetHitProcs]...
      ^6.20  [attackTargetHitProcs] of NPC calls any available [callbackOnMeleeAttack] functions - to be coded still
[LOG]	Lieen's Beyond the Flesh hits White ooze for #aaaaaa#11 physical#LAST#, #aaaaaa#10 physical#LAST#, #LIGHT_RED#7 fire#LAST# (28 total damage).
[LOG]	#UID:25609:0#Dire wolf hits #fbd578#Lieen#LAST# for #SLATE#(8 absorbed)#LAST#, #aaaaaa#0 physical#LAST# (0 total damage).
white ooze	25631	dumb ai talents can use	Attack	T_ATTACK
dumb ai uses	T_ATTACK
^1.0  [attackTarget] NPC attempts a new melee attack with one or both weapons...
  ^1.11 [attackTarget] NPC attacking with unarmed/innate combat, and triggers [attackTargetWith]...
    ^2.2  [attackTargetWith] NPC has accuracy 14, damage multiplier 1.00. Target has def 4
    ^2.5  [attackTargetWith] NPC has damage 9.55, apr 5, accuracy 14, damage multiplier 1.00. Target has def 4, armour 6, name: Lieen
      ^ [checkHit] accuracy 14 versus def 4 gives chance to hit of 75 percent
    ^2.17 [attackTargetWith] NPC has damage 9.55, apr 5, accuracy 14, damage multiplier 1.00. Player has def 4, armour 6, armour hardiness 0.44
    ^2.18 [attackTargetWith] Armour on Player reduces damage from 9.55 to 8.05
    ^2.19 [attackTargetWith] Range adjusts damage of NPC from 8.05 to 8.00
      ^ [physicalCrit] NPC's initial crit chance: 1.00 adjusted to final crit chance 0.00. Player factors: Crit Reduction of target reduces crit chance by 1.50 / NPC factors: 
    ^2.26 [attackTargetWith] After DamageType Conversion, damage of NPC is 8.00, and calls [projector]...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 8.00 
      ^3.54 [projector] NPC attempts to do 8.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 8.00 ...
        ^5.15 [onTakeHit] Damage Shield of Player reduces damage from 8.00 to 0.00
    ^2.29 [attackTargetWith] of NPC now calls [attackTargetHitProcs]...
      ^6.20  [attackTargetHitProcs] of NPC calls any available [callbackOnMeleeAttack] functions - to be coded still
Last edited by jenx on Tue Oct 03, 2017 9:46 am, edited 2 times in total.
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#2 Post by jenx »

Here is the log for a Cornac Adventurer with lots of damage mitigation talents, a type of sawbutcher.

Note the effects of Armour, Numbed, Abyssal Shield, Tempest of Metal, Reality Smearing, Deflection, etc

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (iron steamsaw of massacre), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 31, damage multiplier 1.00. Target has def 7
    $2.5  [attackTargetWith] Player has damage 36.00, apr 0, accuracy 31, damage multiplier 1.00. Target has def 7, armour 1, name: fire wyrmic
      $ [checkHit] accuracy 31 versus def 7 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 36.00, apr 0, accuracy 31, damage multiplier 1.00. NPC has def 7, armour 1, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 36.00 to 35.00
    $2.19 [attackTargetWith] Range adjusts damage of Player from 35.00 to 51.00
      $ [physicalCrit] Player's initial crit chance: 12.41 adjusted to final crit chance 17.21. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.80 / 
    $2.20 [attackTargetWith] Crit. adjusts damage from 51.00 to 85.12
[LOG]	#{bold}##UID:13382:0##fbd578#Silny#LAST# performs a melee critical strike against Fire wyrmic!#{normal}#
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 85.12, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 85.12 
      $3.9  [projector] Numbed Player reduces damage from 85.12 to 72.35
      $3.15 [projector] Player's damage adjusts by modifier 6.30 percent, from 72.35 to 76.91
      $3.54 [projector] Player attempts to do 76.91 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 76.91 ...
      ^3.55 [projector] Martyrdom of Player damages Player...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 3.41 
      ^3.40 [projector] Abyssal Shield of Player reduces damage from 3.41 to 1.71
      ^3.54 [projector] NPC attempts to do 1.71 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 1.71 ...
        ^5.3  [onTakeHit] Tempest of Metal (with 9.75% chance) of Player reduces damage from 1.71 to 0.00
[LOG]	Fire wyrmic starts to bleed.
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        ^ [checkHit] accuracy 12 versus def 46 gives chance to hit of 0 percent
[LOG]	Fire wyrmic is disabled.
        $6.1   [Tempest of Metal] triggers, and calls $1 [attackTarget] ...
        $1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
          $1.9  [attackTarget] Player attacking FIRST with mainhand (iron steamsaw of massacre), and triggers [attackTargetWith]...
            $2.2  [attackTargetWith] Player has accuracy 31, damage multiplier 0.30. Target has def 7
            $2.5  [attackTargetWith] Player has damage 36.00, apr 0, accuracy 31, damage multiplier 0.30. Target has def 7, armour 1, name: fire wyrmic
              $ [checkHit] accuracy 31 versus def 7 gives chance to hit of 100 percent
            $2.17 [attackTargetWith] Player has damage 36.00, apr 0, accuracy 31, damage multiplier 0.30. NPC has def 7, armour 1, armour hardiness 0.30
            $2.18 [attackTargetWith] Armour on NPC reduces damage from 36.00 to 35.00
            $2.19 [attackTargetWith] Range adjusts damage of Player from 35.00 to 50.00
              $ [physicalCrit] Player's initial crit chance: 12.41 adjusted to final crit chance 17.21. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.80 / 
            $2.21 [attackTargetWith] Mult. adjusts damage from 50.00 to 15.00
            $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 15.00, and calls [projector]...
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type PHYSICAL starts at 15.00 
              $3.9  [projector] Numbed Player reduces damage from 15.00 to 12.75
              $3.15 [projector] Player's damage adjusts by modifier 6.30 percent, from 12.75 to 13.55
              $3.54 [projector] Player attempts to do 13.55 damage to NPC and calls [takeHit] which calls [onTakeHit]...
                $5.0  [onTakeHit] Player commences with initial damage = 13.55 ...
              ^3.55 [projector] Martyrdom of Player damages Player...
              ---------------------------------------------------------
              ^3.1  [projector] NPC's damage of type PHYSICAL starts at 0.60 
              ^3.9  [projector] Numbed NPC reduces damage from 0.60 to 0.51
              ^3.40 [projector] Abyssal Shield of Player reduces damage from 0.51 to 0.26
              ^3.54 [projector] NPC attempts to do 0.26 damage to Player and calls [takeHit] which calls [onTakeHit]...
                ^5.0  [onTakeHit] NPC commences with initial damage = 0.26 ...
                ^5.29 [onTakeHit] Flat Damage Cap reduces damage from 0.26 to 0.26
                ^5.32 [onTakeHit] triggered [callbackOnHit] which reduced damage from 0.26 to 0.20
                ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 0.26 to 0.20
            $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
              $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
          $1.10 [attackTarget] Player attacking SECOND with offhand (iron steamsaw), and triggers [attackTargetWith]...
            $2.2  [attackTargetWith] Player has accuracy 31, damage multiplier 0.15. Target has def 7
            $2.5  [attackTargetWith] Player has damage 32.34, apr 0, accuracy 31, damage multiplier 0.15. Target has def 7, armour 1, name: fire wyrmic
              $ [checkHit] accuracy 31 versus def 7 gives chance to hit of 100 percent
            $2.17 [attackTargetWith] Player has damage 32.34, apr 0, accuracy 31, damage multiplier 0.15. NPC has def 7, armour 1, armour hardiness 0.30
            $2.18 [attackTargetWith] Armour on NPC reduces damage from 32.34 to 31.34
            $2.19 [attackTargetWith] Range adjusts damage of Player from 31.34 to 39.00
              $ [physicalCrit] Player's initial crit chance: 12.41 adjusted to final crit chance 17.21. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.80 / 
            $2.21 [attackTargetWith] Mult. adjusts damage from 39.00 to 5.85
            $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 5.85, and calls [projector]...
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type PHYSICAL starts at 5.85 
              $3.9  [projector] Numbed Player reduces damage from 5.85 to 4.97
              $3.15 [projector] Player's damage adjusts by modifier 6.30 percent, from 4.97 to 5.29
              $3.54 [projector] Player attempts to do 5.29 damage to NPC and calls [takeHit] which calls [onTakeHit]...
                $5.0  [onTakeHit] Player commences with initial damage = 5.29 ...
              ^3.55 [projector] Martyrdom of Player damages Player...
              ---------------------------------------------------------
              ^3.1  [projector] NPC's damage of type PHYSICAL starts at 0.23 
              ^3.9  [projector] Numbed NPC reduces damage from 0.23 to 0.20
              ^3.40 [projector] Abyssal Shield of Player reduces damage from 0.20 to 0.10
              ^3.54 [projector] NPC attempts to do 0.10 damage to Player and calls [takeHit] which calls [onTakeHit]...
                ^5.0  [onTakeHit] NPC commences with initial damage = 0.10 ...
                ^5.29 [onTakeHit] Flat Damage Cap reduces damage from 0.10 to 0.10
                ^5.32 [onTakeHit] triggered [callbackOnHit] which reduced damage from 0.10 to 0.08
                ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 0.10 to 0.08
            $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
              $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.10 [attackTarget] Player attacking SECOND with offhand (iron steamsaw), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 31, damage multiplier 0.50. Target has def 7
    $2.5  [attackTargetWith] Player has damage 32.34, apr 0, accuracy 31, damage multiplier 0.50. Target has def 7, armour 1, name: fire wyrmic
      $ [checkHit] accuracy 31 versus def 7 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 32.34, apr 0, accuracy 31, damage multiplier 0.50. NPC has def 7, armour 1, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 32.34 to 31.34
    $2.19 [attackTargetWith] Range adjusts damage of Player from 31.34 to 35.00
      $ [physicalCrit] Player's initial crit chance: 12.41 adjusted to final crit chance 17.21. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.80 / 
    $2.20 [attackTargetWith] Crit. adjusts damage from 35.00 to 58.41
    $2.21 [attackTargetWith] Mult. adjusts damage from 58.41 to 29.21
[LOG]	#{bold}##UID:13382:0##fbd578#Silny#LAST# performs a melee critical strike against Fire wyrmic!#{normal}#
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 29.21, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 29.21 
      $3.9  [projector] Numbed Player reduces damage from 29.21 to 24.83
      $3.15 [projector] Player's damage adjusts by modifier 6.30 percent, from 24.83 to 26.39
      $3.54 [projector] Player attempts to do 26.39 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 26.39 ...
[LOG]	#LIGHT_GREEN#Your score multiplier increases by #WHITE#0.3#LIGHT_GREEN#!
[ActorObjectUse] useObjectDisable: 	schematic: Frost Salve	inven/slot	1	3	tid	nil
      ^3.55 [projector] Martyrdom of Player damages Player...
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 1.17 
      ^3.9  [projector] Numbed NPC reduces damage from 1.17 to 1.00
      ^3.40 [projector] Abyssal Shield of Player reduces damage from 1.00 to 0.50
      ^3.54 [projector] NPC attempts to do 0.50 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 0.50 ...
        ^5.29 [onTakeHit] Flat Damage Cap reduces damage from 0.50 to 0.50
        ^5.32 [onTakeHit] triggered [callbackOnHit] which reduced damage from 0.50 to 0.40
        ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 0.50 to 0.40
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        ^ [checkHit] accuracy 12 versus def 46 gives chance to hit of 0 percent
...
---------------------------------------------------------
^3.1  [projector] NPC's damage of type PHYSICAL starts at 20.00 
^3.29 [projector] Resistance penetration of NPC is 12.78
^3.40 [projector] Abyssal Shield of Player reduces damage from 20.00 to 10.00
^3.54 [projector] NPC attempts to do 10.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
  ^5.0  [onTakeHit] NPC commences with initial damage = 10.00 ...
    ^5.32 [Deflection] of Player reduces damage from 10.00 to 5.00
[LOG]	You have deflected 5 incoming damage!
  ^5.19 [onTakeHit] Deflection of Player reduces damage from 10.00 to 5.00
  ^5.29 [onTakeHit] Flat Damage Cap reduces damage from 5.00 to 5.00
    ^5.32 [Reality Smearing] of Player reduces damage from 3.87 to 2.71
  ^5.32 [onTakeHit] triggered [callbackOnHit] which reduced damage from 5.00 to 2.71
  ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 10.00 to 2.71
  ^5.32 [Deflection] of Player reduces damage from 2.71 to 1.71
[LOG]	You have deflected 1 incoming damage!
  ^5.32 [Reality Smearing] of Player reduces damage from 1.32 to 0.92
---------------------------------------------------------
^3.1  [projector] NPC's damage of type COLD starts at 9.00 
^3.29 [projector] Resistance penetration of NPC is 20.78
^3.33 [projector] Resistance of Player adjusts from 6.00 to 4.75 by NPC's penetration of 20.78
^3.34 [projector] Resistance of Player = 4.75 and adjusts NPC's damage from 9.00 to 8.57
^3.40 [projector] Abyssal Shield of Player reduces damage from 8.57 to 4.29
^3.54 [projector] NPC attempts to do 4.29 damage to Player and calls [takeHit] which calls [onTakeHit]...
  ^5.0  [onTakeHit] NPC commences with initial damage = 4.29 ...
    ^5.32 [Deflection] of Player reduces damage from 4.29 to 2.29
[LOG]	You have deflected 2 incoming damage!
  ^5.19 [onTakeHit] Deflection of Player reduces damage from 4.29 to 2.29
  ^5.29 [onTakeHit] Flat Damage Cap reduces damage from 2.29 to 2.29
    ^5.32 [Reality Smearing] of Player reduces damage from 1.77 to 1.24
  ^5.32 [onTakeHit] triggered [callbackOnHit] which reduced damage from 2.29 to 1.24
  ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 4.29 to 1.24
  ^5.32 [Reality Smearing] of Player reduces damage from 0.96 to 0.67
same adventurer at level 49, with Flexible Combat prodigy:

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (chilling dwarven-steel steamsaw of amnesia), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 43, damage multiplier 1.00. Target has def 21
    $2.5  [attackTargetWith] Player has damage 109.56, apr 14, accuracy 43, damage multiplier 1.00. Target has def 21, armour 0, name: alchemist
      $ [checkHit] accuracy 43 versus def 21 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 109.56, apr 14, accuracy 43, damage multiplier 1.00. NPC has def 21, armour 0, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 109.56 to 109.56
    $2.19 [attackTargetWith] Range adjusts damage of Player from 109.56 to 111.00
      $ [physicalCrit] Player's initial crit chance: 29.56 adjusted to final crit chance 33.96. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.40 / 
    $2.20 [attackTargetWith] Crit. adjusts damage from 111.00 to 187.59
[LOG]	#{bold}##UID:14568:0##fbd578#Silny#LAST# performs a melee critical strike against Alchemist!#{normal}#
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 187.59, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 187.59 
      $3.15 [projector] Player's damage adjusts by modifier 27.76 percent, from 187.59 to 239.66
      $3.54 [projector] Player attempts to do 239.66 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 239.66 ...
[LOG]	#LIGHT_GREEN#Your score multiplier increases by #WHITE#0.2#LIGHT_GREEN#!
[ActorObjectUse] useObjectDisable: 	striking dragonbone wand of trap destruction	inven/slot	1	3	tid	nil
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type BLIGHT starts at 12.33 
      $3.15 [projector] Player's damage adjusts by modifier 27.76 percent, from 12.33 to 15.75
      $3.54 [projector] Player attempts to do 15.75 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 15.75 ...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        ^ [checkHit] accuracy 12 versus def 86 gives chance to hit of 0 percent
  $1.10 [attackTarget] Player attacking SECOND with offhand (voratun steamsaw), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 43, damage multiplier 0.50. Target has def 21
    $2.5  [attackTargetWith] Player has damage 127.10, apr 25, accuracy 43, damage multiplier 0.50. Target has def 21, armour 0, name: alchemist
      $ [checkHit] accuracy 43 versus def 21 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 127.10, apr 25, accuracy 43, damage multiplier 0.50. NPC has def 21, armour 0, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 127.10 to 127.10
    $2.19 [attackTargetWith] Range adjusts damage of Player from 127.10 to 176.00
      $ [physicalCrit] Player's initial crit chance: 31.56 adjusted to final crit chance 35.96. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.40 / 
    $2.20 [attackTargetWith] Crit. adjusts damage from 176.00 to 297.44
    $2.21 [attackTargetWith] Mult. adjusts damage from 297.44 to 148.72
[LOG]	#{bold}##UID:14568:0##fbd578#Silny#LAST# performs a melee critical strike against Alchemist!#{normal}#
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 148.72, and calls [projector]...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        ^ [checkHit] accuracy 12 versus def 86 gives chance to hit of 0 percent
  $1.13 [attackTarget] Flexible Combat of Player triggers new attack and calls [attackTarget] ...
  $1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
    $1.11 [attackTarget] Player attacking with unarmed/innate combat, and triggers [attackTargetWith]...
      $2.2  [attackTargetWith] Player has accuracy 41, damage multiplier 1.00. Target has def 21
      $2.5  [attackTargetWith] Player has damage 47.45, apr 1, accuracy 41, damage multiplier 1.00. Target has def 21, armour 0, name: alchemist
        $ [checkHit] accuracy 41 versus def 21 gives chance to hit of 100 percent
      $2.17 [attackTargetWith] Player has damage 47.45, apr 1, accuracy 41, damage multiplier 1.00. NPC has def 21, armour 0, armour hardiness 0.30
      $2.19 [attackTargetWith] Range adjusts damage of Player from 47.45 to 50.00
        $ [physicalCrit] Player's initial crit chance: 27.56 adjusted to final crit chance 31.56. NPC factors: Player factors: Axe accuracy bonus increases crit chance by 4.00 / 
      $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 50.00, and calls [projector]...
      $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
        $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#3 Post by jenx »

Cornac Cursed, with Predator and Stalk

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (balanced iron longsword), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 27, damage multiplier 1.00. Target has def 10
    $2.3  [attackTargetWith] Stalk of Player adjusts attack accuracy to 30, damage multipler to 1.06
    $2.4  [attackTargetWith] Predator of Player adjusts attack accuracy to 30, damage multipler to 1.06
    $2.5  [attackTargetWith] Player has damage 29.17, apr 2, accuracy 30, damage multiplier 1.06. Target has def 10, armour 2, name: homeless fighter
      $ [checkHit] accuracy 30 versus def 10 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 29.17, apr 2, accuracy 30, damage multiplier 1.06. NPC has def 10, armour 2, armour hardiness 0.30
    $2.19 [attackTargetWith] Range adjusts damage of Player from 29.17 to 32.00
      $ [physicalCrit] Player's initial crit chance: 2.50 adjusted to final crit chance 2.50. NPC factors: Player factors: 
    $2.21 [attackTargetWith] Mult. adjusts damage from 32.00 to 34.04
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 34.04, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 34.04 
      $3.54 [projector] Player attempts to do 34.04 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 34.04 ...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC does damage 10.00 of type PHYSICAL, reduced by Player's flat armour by 0.00
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 10.00 
      ^3.54 [projector] NPC attempts to do 10.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 10.00 ...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
same character at level 10, with Rampage (note how it reduces some damage, when the NPC I hit has on melee hit retaliation):

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (steel mace of vileness), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 32, damage multiplier 1.00. Target has def 12
    $2.4  [attackTargetWith] Predator of Player adjusts attack accuracy to 37, damage multipler to 1.09
    $2.5  [attackTargetWith] Player has damage 43.53, apr 3, accuracy 37, damage multiplier 1.09. Target has def 12, armour 7, name: cutpurse
      $ [checkHit] accuracy 37 versus def 12 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 43.53, apr 3, accuracy 37, damage multiplier 1.09. NPC has def 12, armour 7, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 43.53 to 39.53
    $2.19 [attackTargetWith] Range adjusts damage of Player from 39.53 to 44.00
      $ [physicalCrit] Player's initial crit chance: 1.60 adjusted to final crit chance 1.60. NPC factors: Player factors: 
    $2.21 [attackTargetWith] Mult. adjusts damage from 44.00 to 47.89
    $2.22 [attackTargetWith] Mace Accuracy damage bonus multiplier of Player is 1.02, taking damage from 47.89 to 49.08
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 49.08, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 49.08 
      $3.15 [projector] Player's damage adjusts by modifier 12.00 percent, from 49.08 to 54.97
      $3.54 [projector] Player attempts to do 54.97 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 54.97 ...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.4  [attackTargetHitProcs] Weapon Melee projection of Player calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type BLIGHT starts at 5.00 
      $3.54 [projector] Player attempts to do 5.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 5.00 ...
      $6.4  [attackTargetHitProcs] Weapon Melee projection of Player calls [projector]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
        ^ [checkHit] accuracy 20 versus def 14 gives chance to hit of 65 percent
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type MIND starts at 5.00 
      $3.15 [projector] Player's damage adjusts by modifier 5.00 percent, from 5.00 to 5.25
      $3.54 [projector] Player attempts to do 5.25 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 5.25 ...
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC does damage 11.00 of type PHYSICAL, reduced by Player's flat armour by 0.00
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 11.00 
      ^3.54 [projector] NPC attempts to do 11.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 11.00 ...
        ^5.20 [onTakeHit] Rampage of Player reduces damage from 11.00 to 0.00
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.10 [attackTarget] Player attacking SECOND with offhand (iron dagger of massacre), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 32, damage multiplier 0.50. Target has def 12
    $2.4  [attackTargetWith] Predator of Player adjusts attack accuracy to 37, damage multipler to 0.59
    $2.5  [attackTargetWith] Player has damage 17.44, apr 5, accuracy 37, damage multiplier 0.59. Target has def 12, armour 7, name: cutpurse
      $ [checkHit] accuracy 37 versus def 12 gives chance to hit of 100 percent
    $2.16 [attackTargetWith] Dagger Accuracy APR bonus multiplier for Player 1.12, increasing APR from 5 to 6
    $2.17 [attackTargetWith] Player has damage 17.44, apr 6, accuracy 37, damage multiplier 0.59. NPC has def 12, armour 7, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 17.44 to 16.05
    $2.19 [attackTargetWith] Range adjusts damage of Player from 16.05 to 19.00
      $ [physicalCrit] Player's initial crit chance: 4.60 adjusted to final crit chance 4.60. NPC factors: Player factors: 
    $2.21 [attackTargetWith] Mult. adjusts damage from 19.00 to 11.18
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 11.18, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 11.18 
      $3.15 [projector] Player's damage adjusts by modifier 12.00 percent, from 11.18 to 12.52
      $3.54 [projector] Player attempts to do 12.52 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 12.52 ...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
        ^ [checkHit] accuracy 20 versus def 14 gives chance to hit of 65 percent
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type MIND starts at 5.00 
      $3.15 [projector] Player's damage adjusts by modifier 5.00 percent, from 5.00 to 5.25
      $3.54 [projector] Player attempts to do 5.25 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.0  [onTakeHit] Player commences with initial damage = 5.25 ...
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC does damage 11.00 of type PHYSICAL, reduced by Player's flat armour by 0.00
      ---------------------------------------------------------
      ^3.1  [projector] NPC's damage of type PHYSICAL starts at 11.00 
      ^3.54 [projector] NPC attempts to do 11.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
        ^5.0  [onTakeHit] NPC commences with initial damage = 11.00 ...
        ^5.20 [onTakeHit] Rampage of Player reduces damage from 11.00 to 4.43
        ^5.34 [onTakeHit] concludes, NPC's damage was reduced from 11.00 to 4.43
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
Level 35 Cornac Cursed, with 5/5 stalk and predator. Note the accuracy bonus, taking accuracy from 63 to 88 (scaled!). Also note after $2.19 that axu accuracy adds 10% to crit chance.

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (arcing dwarven-steel waraxe of projection), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 63, damage multiplier 1.00. Target has def 27
    $2.3  [attackTargetWith] Stalk of Player adjusts attack accuracy to 85, damage multipler to 1.22
    $2.4  [attackTargetWith] Predator of Player adjusts attack accuracy to 88, damage multipler to 1.33
    $2.5  [attackTargetWith] Player has damage 89.88, apr 25, accuracy 88, damage multiplier 1.33. Target has def 27, armour 48, name: star crusader
      [checkEvasion]	11.947479424148	35	35
    ..[checkEvasion] => evasion chance	11.947479424148
      $ [checkHit] accuracy 88 versus def 27 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 89.88, apr 25, accuracy 88, damage multiplier 1.33. NPC has def 27, armour 48, armour hardiness 1.00
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 89.88 to 66.88
    $2.19 [attackTargetWith] Range adjusts damage of Player from 66.88 to 87.00
      $ [physicalCrit] Player's initial crit chance: 21.50 adjusted to final crit chance 13.50. NPC factors: Crit Reduction of target reduces crit chance by 18.00 / Player factors: Axe accuracy bonus increases crit chance by 10.00 / 
    $2.21 [attackTargetWith] Mult. adjusts damage from 87.00 to 115.81
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 115.81, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 115.81 
      $3.15 [projector] Player's damage adjusts by modifier 9.80 percent, from 115.81 to 127.16
      $3.34 [projector] Resistance of NPC = 56.15 and adjusts Player's damage from 127.16 to 55.77
      $3.54 [projector] Player attempts to do 55.77 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.34 [onTakeHit] concludes, Player's damage was reduced from 55.77 to 55.77
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.4  [attackTargetHitProcs] Weapon Melee projection of Player calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type LIGHTNING starts at 6.00 
      $3.15 [projector] Player's damage adjusts by modifier 9.80 percent, from 6.00 to 6.59
      $3.34 [projector] Resistance of NPC = 39.27 and adjusts Player's damage from 6.59 to 4.00
      $3.54 [projector] Player attempts to do 4.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.34 [onTakeHit] concludes, Player's damage was reduced from 4.00 to 4.00
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC does damage 18.00 of type ITEM_LIGHTNING_DAZE, reduced by Player's flat armour by 0.00
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.10 [attackTarget] Player attacking SECOND with offhand (stralite dagger of vileness), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 63, damage multiplier 0.50. Target has def 27
    $2.3  [attackTargetWith] Stalk of Player adjusts attack accuracy to 85, damage multipler to 0.61
    $2.4  [attackTargetWith] Predator of Player adjusts attack accuracy to 88, damage multipler to 0.72
    $2.5  [attackTargetWith] Player has damage 85.88, apr 30, accuracy 88, damage multiplier 0.72. Target has def 27, armour 48, name: star crusader
      [checkEvasion]	11.947479424148	35	35
    ..[checkEvasion] => evasion chance	11.947479424148
      $ [checkHit] accuracy 88 versus def 27 gives chance to hit of 100 percent
    $2.16 [attackTargetWith] Dagger Accuracy APR bonus multiplier for Player 1.25, increasing APR from 30 to 38
    $2.17 [attackTargetWith] Player has damage 85.88, apr 38, accuracy 88, damage multiplier 0.72. NPC has def 27, armour 48, armour hardiness 1.00
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 85.88 to 75.38
    $2.19 [attackTargetWith] Range adjusts damage of Player from 75.38 to 80.00
      $ [physicalCrit] Player's initial crit chance: 25.00 adjusted to final crit chance 7.00. NPC factors: Crit Reduction of target reduces crit chance by 18.00 / Player factors: 
    $2.20 [attackTargetWith] Crit. adjusts damage from 80.00 to 128.80
    $2.21 [attackTargetWith] Mult. adjusts damage from 128.80 to 92.98
[LOG]	#{bold}##UID:14826:0##fbd578#player#LAST# performs a melee critical strike against Star crusader!#{normal}#
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 92.98, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 92.98 
      $3.15 [projector] Player's damage adjusts by modifier 9.80 percent, from 92.98 to 102.09
      $3.34 [projector] Resistance of NPC = 56.15 and adjusts Player's damage from 102.09 to 44.77
      $3.54 [projector] Player attempts to do 44.77 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.34 [onTakeHit] concludes, Player's damage was reduced from 44.77 to 44.77
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.4  [attackTargetHitProcs] Weapon Melee projection of Player calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type BLIGHT starts at 8.00 
      $3.15 [projector] Player's damage adjusts by modifier 16.80 percent, from 8.00 to 9.34
      $3.34 [projector] Resistance of NPC = 27.70 and adjusts Player's damage from 9.34 to 6.76
      $3.54 [projector] Player attempts to do 6.76 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        $5.34 [onTakeHit] concludes, Player's damage was reduced from 6.76 to 6.76
      $6.4  [attackTargetHitProcs] Weapon Melee projection of Player calls [projector]...
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC does damage 18.00 of type ITEM_LIGHTNING_DAZE, reduced by Player's flat armour by 0.00
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.12 [attackTarget] Cleave of Player has chance to trigger another attack. If so, it calls [attackTarget] ...
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#4 Post by jenx »

Level 12 Temporal Warden, hitting with two weapons, the dagger has projection, so triggers another attack. The main weapon is a one handed staff, so one can also see the multiplying effect on the temporal damage proc of Weapon Folding, both for the main attack and the projoection attack.

One can also see the 30% projection penalty (which though does not apply to the Weapon Folding proc :-)). In other words, get good on hits and projection weapons and bombs away :-)

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (Gloomedge), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 42, damage multiplier 1.00. Target has def 4
    $2.5  [attackTargetWith] Player has damage 17.62, apr 2, accuracy 42, damage multiplier 1.00. Target has def 4, armour 7, name: brown bear
      $ [checkHit] accuracy 42 versus def 4 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 17.62, apr 2, accuracy 42, damage multiplier 1.00. NPC has def 4, armour 7, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 17.62 to 12.62
    $2.19 [attackTargetWith] Range adjusts damage of Player from 12.62 to 13.00
      $ [physicalCrit] Player's initial crit chance: 3.70 adjusted to final crit chance 3.70. NPC factors: Player factors: 
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 13.00, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 13.00 
      $3.54 [projector] Player attempts to do 13.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.1  [attackTargetHitProcs] Player's Staff Accuracy accuracy mult = 1.48
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type COLD starts at 6.00 
      $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 6.00 to 8.85
      $3.15 [projector] Player's damage adjusts by modifier 4.00 percent, from 8.85 to 9.20
      $3.34 [projector] Resistance of NPC = 20.00 and adjusts Player's damage from 9.20 to 7.36
      $3.54 [projector] Player attempts to do 7.36 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
        ^ [checkHit] accuracy 24 versus def 8 gives chance to hit of 90 percent
[LOG]	Brown bear resists the mind attack!
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type MIND starts at 2.50 
      $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 2.50 to 3.69
      $3.54 [projector] Player attempts to do 3.69 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
      $6.8 [attackTargetHitProcs] Weapon Folding of Player calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type TEMPORAL starts at 18.42 
      $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 18.42 to 27.17
      $3.15 [projector] Player's damage adjusts by modifier 17.00 percent, from 27.17 to 31.79
      $3.34 [projector] Resistance of NPC = 9.11 and adjusts Player's damage from 31.79 to 28.89
      $3.54 [projector] Player attempts to do 28.89 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.10 [attackTarget] Player attacking SECOND with offhand (iron dagger of projection), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 42, damage multiplier 0.50. Target has def 4
    $2.5  [attackTargetWith] Player has damage 32.93, apr 5, accuracy 42, damage multiplier 0.50. Target has def 4, armour 7, name: brown bear
      $ [checkHit] accuracy 42 versus def 4 gives chance to hit of 100 percent
    $2.16 [attackTargetWith] Dagger Accuracy APR bonus multiplier for Player 1.19, increasing APR from 5 to 6
    $2.17 [attackTargetWith] Player has damage 32.93, apr 6, accuracy 42, damage multiplier 0.50. NPC has def 4, armour 7, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 32.93 to 31.88
    $2.19 [attackTargetWith] Range adjusts damage of Player from 31.88 to 33.00
      $ [physicalCrit] Player's initial crit chance: 5.20 adjusted to final crit chance 5.20. NPC factors: Player factors: 
    $2.21 [attackTargetWith] Mult. adjusts damage from 33.00 to 16.50
    $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 16.50, and calls [projector]...
      ---------------------------------------------------------
      $3.1  [projector] Player's damage of type PHYSICAL starts at 16.50 
      $3.54 [projector] Player attempts to do 16.50 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[LOG]	You collect a new ingredient: #LIGHT_GREEN##UID:17:0#bear paw (1)#WHITE#.
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
        $1.9  [attackTarget] Player attacking FIRST with mainhand (Gloomedge), and triggers [attackTargetWith]...
          $2.2  [attackTargetWith] Player has accuracy 42, damage multiplier 0.30. Target has def 2
          $2.5  [attackTargetWith] Player has damage 17.62, apr 2, accuracy 42, damage multiplier 0.30. Target has def 2, armour 8, name: black bear
            $ [checkHit] accuracy 42 versus def 2 gives chance to hit of 100 percent
          $2.17 [attackTargetWith] Player has damage 17.62, apr 2, accuracy 42, damage multiplier 0.30. NPC has def 2, armour 8, armour hardiness 0.30
          $2.18 [attackTargetWith] Armour on NPC reduces damage from 17.62 to 12.33
          $2.19 [attackTargetWith] Range adjusts damage of Player from 12.33 to 14.00
            $ [physicalCrit] Player's initial crit chance: 3.70 adjusted to final crit chance 3.70. NPC factors: Player factors: 
          $2.21 [attackTargetWith] Mult. adjusts damage from 14.00 to 4.20
          $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 4.20, and calls [projector]...
              ^ [checkHit] accuracy 24 versus def 3 gives chance to hit of 95 percent
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type MIND starts at 4.20 
            $3.54 [projector] Player attempts to do 4.20 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[LOG]	Black bear is not dazed anymore.
          $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
            $6.1  [attackTargetHitProcs] Player's Staff Accuracy accuracy mult = 1.50
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type COLD starts at 6.00 
            $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 6.00 to 9.00
            $3.15 [projector] Player's damage adjusts by modifier 4.00 percent, from 9.00 to 9.36
            $3.34 [projector] Resistance of NPC = 20.00 and adjusts Player's damage from 9.36 to 7.49
            $3.54 [projector] Player attempts to do 7.49 damage to NPC and calls [takeHit] which calls [onTakeHit]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
              ^ [checkHit] accuracy 24 versus def 7 gives chance to hit of 93 percent
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type MIND starts at 5.00 
            $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 5.00 to 7.50
            $3.54 [projector] Player attempts to do 7.50 damage to NPC and calls [takeHit] which calls [onTakeHit]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.8 [attackTargetHitProcs] Weapon Folding of Player calls [projector]...
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type TEMPORAL starts at 18.42 
            $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 18.42 to 27.63
            $3.15 [projector] Player's damage adjusts by modifier 17.00 percent, from 27.63 to 32.33
            $3.54 [projector] Player attempts to do 32.33 damage to NPC and calls [takeHit] which calls [onTakeHit]...
            $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        $1.10 [attackTarget] Player attacking SECOND with offhand (iron dagger of projection), and triggers [attackTargetWith]...
          $2.2  [attackTargetWith] Player has accuracy 42, damage multiplier 0.15. Target has def 4
          $2.5  [attackTargetWith] Player has damage 32.93, apr 5, accuracy 42, damage multiplier 0.15. Target has def 4, armour 8, name: black bear
            $ [checkHit] accuracy 42 versus def 4 gives chance to hit of 100 percent
          $2.16 [attackTargetWith] Dagger Accuracy APR bonus multiplier for Player 1.19, increasing APR from 5 to 6
          $2.17 [attackTargetWith] Player has damage 32.93, apr 6, accuracy 42, damage multiplier 0.15. NPC has def 4, armour 8, armour hardiness 0.30
          $2.18 [attackTargetWith] Armour on NPC reduces damage from 32.93 to 30.88
          $2.19 [attackTargetWith] Range adjusts damage of Player from 30.88 to 33.00
            $ [physicalCrit] Player's initial crit chance: 5.20 adjusted to final crit chance 5.20. NPC factors: Player factors: 
          $2.21 [attackTargetWith] Mult. adjusts damage from 33.00 to 4.95
          $2.26 [attackTargetWith] After DamageType Conversion, damage of Player is 4.95, and calls [projector]...
              ^ [checkHit] accuracy 24 versus def 7 gives chance to hit of 93 percent
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type MIND starts at 4.95 
            $3.54 [projector] Player attempts to do 4.95 damage to NPC and calls [takeHit] which calls [onTakeHit]...
          $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type COLD starts at 6.00 
            $3.15 [projector] Player's damage adjusts by modifier 4.00 percent, from 6.00 to 6.24
            $3.34 [projector] Resistance of NPC = 20.00 and adjusts Player's damage from 6.24 to 4.99
            $3.54 [projector] Player attempts to do 4.99 damage to NPC and calls [takeHit] which calls [onTakeHit]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
              ^ [checkHit] accuracy 24 versus def 7 gives chance to hit of 93 percent
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type MIND starts at 5.00 
            $3.54 [projector] Player attempts to do 5.00 damage to NPC and calls [takeHit] which calls [onTakeHit]...
            $6.5  [attackTargetHitProcs] Self Melee projection of Player calls [projector]...
            $6.8 [attackTargetHitProcs] Weapon Folding of Player calls [projector]...
            ---------------------------------------------------------
            $3.1  [projector] Player's damage of type TEMPORAL starts at 18.42 
            $3.15 [projector] Player's damage adjusts by modifier 17.00 percent, from 18.42 to 21.55
            $3.54 [projector] Player attempts to do 21.55 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[LOG]	You collect a new ingredient: #LIGHT_GREEN##UID:17:0#bear paw (1)#WHITE#.
            $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still

MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#5 Post by jenx »

Cornac Reaver - level 15 (1.5.5e - with improved reporting for projector)

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (caustic iron longsword of projection), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 47, damage multiplier 1.00. Target has def 2
    $2.5  [attackTargetWith] Player has damage 35.92, apr 7, accuracy 47, damage multiplier 1.00. Target has def 2, armour 12, name: drem
      $ [checkHit] accuracy 47 versus def 2 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 35.92, apr 7, accuracy 47, damage multiplier 1.00. NPC has def 2, armour 12, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 35.92 to 30.92
    $2.19 [attackTargetWith] Range adjusts damage of Player from 30.92 to 31.00
      $ [physicalCrit] Player's initial crit chance: 9.50 adjusted to final crit chance 9.50. NPC factors: Player factors: 
    $2.26 [attackTargetWith] of Player calls [projector] for damage type PHYSICAL with damage 31.00...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 31.00 
        $3.15 [projector] Player's damage adjusts by modifier 6.00 percent, from 31.00 to 32.86
        $3.54 [projector] Player attempts to do 32.86 damage to NPC and calls [takeHit] which calls [onTakeHit]...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.4  [attackTargetHitProcs] weapon on-melee-hit projection of Player calls [projector] for damage type ITEM_ACID_CORRODE with damage 6.00...
      $6.5  [attackTargetHitProcs] equipment on-melee-hit of Player calls [projector] for damage type ITEM_BLIGHT_DISEASE with damage 10.00...
      $6.5  [attackTargetHitProcs] equipment on-melee-hit of Player calls [projector] for damage type ITEM_DARKNESS_NUMBING with damage 30.00...
      $6.7  [attackTargetHitProcs] Ruin of Player calls [projector] for damage type DRAINLIFE with damage 18.82...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type BLIGHT starts at 18.82 
        $3.15 [projector] Player's damage adjusts by modifier 9.00 percent, from 18.82 to 20.51
        $3.54 [projector] Player attempts to do 20.51 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[LOG]	#UID:15187:0##fbd578#Caitlile#LAST# drains life from Drem!
      ^6.9  [attackTargetHitProcs] on_melee_hit of NPC does damage 12.03 of type BLEED, reduced by Player's flat armour by 0.00
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC calls [projector] for damage type BLEED with damage 12.03...
        ---------------------------------------------------------
        ^3.1  [projector] NPC's damage of type PHYSICAL starts at 2.01 
        ^3.9  [projector] Numbed NPC reduces damage from 2.01 to 1.70
        ^3.54 [projector] NPC attempts to do 1.70 damage to Player and calls [takeHit] which calls [onTakeHit]...
      $1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
        $1.9  [attackTarget] Player attacking FIRST with mainhand (caustic iron longsword of projection), and triggers [attackTargetWith]...
          $2.2  [attackTargetWith] Player has accuracy 47, damage multiplier 0.30. Target has def 6
          $2.5  [attackTargetWith] Player has damage 35.92, apr 7, accuracy 47, damage multiplier 0.30. Target has def 6, armour 1, name: white jelly
            $ [checkHit] accuracy 47 versus def 6 gives chance to hit of 100 percent
          $2.17 [attackTargetWith] Player has damage 35.92, apr 7, accuracy 47, damage multiplier 0.30. NPC has def 6, armour 1, armour hardiness 0.30
          $2.18 [attackTargetWith] Armour on NPC reduces damage from 35.92 to 35.92
          $2.19 [attackTargetWith] Range adjusts damage of Player from 35.92 to 44.00
            $ [physicalCrit] Player's initial crit chance: 9.50 adjusted to final crit chance 9.50. NPC factors: Player factors: 
          $2.20 [attackTargetWith] Crit. adjusts damage from 44.00 to 77.18
          $2.21 [attackTargetWith] Mult. adjusts damage from 77.18 to 23.15
[LOG]	#{bold}##UID:15187:0##fbd578#Caitlile#LAST# performs a melee critical strike against White jelly!#{normal}#
          $2.26 [attackTargetWith] of Player calls [projector] for damage type MIND with damage 23.15...
              ^ [checkHit] accuracy 14 versus def 8 gives chance to hit of 65 percent
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type MIND starts at 23.15 
              $3.15 [projector] Player's damage adjusts by modifier 9.00 percent, from 23.15 to 25.24
              $3.54 [projector] Player attempts to do 25.24 damage to NPC and calls [takeHit] which calls [onTakeHit]...
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type BLIGHT starts at 0.64 
              $3.15 [projector] Player's damage adjusts by modifier 9.00 percent, from 0.64 to 0.70
              $3.34 [projector] Resistance of NPC = 26.80 and adjusts Player's damage from 0.70 to 0.51
              $3.54 [projector] Player attempts to do 0.51 damage to NPC and calls [takeHit] which calls [onTakeHit]...
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type BLIGHT starts at 0.64 
              $3.15 [projector] Player's damage adjusts by modifier 9.00 percent, from 0.64 to 0.70
              $3.54 [projector] Player attempts to do 0.70 damage to NPC and calls [takeHit] which calls [onTakeHit]...
              ---------------------------------------------------------
              $3.1  [projector] Player's damage of type BLIGHT starts at 0.64 
              $3.15 [projector] Player's damage adjusts by modifier 9.00 percent, from 0.64 to 0.70
              $3.54 [projector] Player attempts to do 0.70 damage to NPC and calls [takeHit] which calls [onTakeHit]...
          $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
            $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
        $1.10 [attackTarget] Player attacking SECOND with offhand (hateful steel longsword of erosion), and triggers [attackTargetWith]...
          $2.2  [attackTargetWith] Player has accuracy 47, damage multiplier 0.20. Target has def 6
          $2.5  [attackTargetWith] Player has damage 37.92, apr 8, accuracy 47, damage multiplier 0.20. Target has def 6, armour 1, name: white jelly
            $ [checkHit] accuracy 47 versus def 6 gives chance to hit of 100 percent
          $2.17 [attackTargetWith] Player has damage 37.92, apr 8, accuracy 47, damage multiplier 0.20. NPC has def 6, armour 1, armour hardiness 0.30
          $2.19 [attackTargetWith] Range adjusts damage of Player from 37.92 to 53.00
            $ [physicalCrit] Player's initial crit chance: 10.00 adjusted to final crit chance 10.00. NPC factors: Player factors: 
          $2.21 [attackTargetWith] Mult. adjusts damage from 53.00 to 10.46
          $2.24 [attackTargetWith] Damage Conversion of Player adjusts damage from 10.46 to 11.19
          $2.26 [attackTargetWith] of Player calls [projector] for damage type MIND with damage 11.19...
          $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
            $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
  $1.10 [attackTarget] Player attacking SECOND with offhand (hateful steel longsword of erosion), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 47, damage multiplier 0.66. Target has def 2
    $2.5  [attackTargetWith] Player has damage 37.92, apr 8, accuracy 47, damage multiplier 0.66. Target has def 2, armour 11, name: drem
      $ [checkHit] accuracy 47 versus def 2 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 37.92, apr 8, accuracy 47, damage multiplier 0.66. NPC has def 2, armour 11, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 37.92 to 34.92
    $2.19 [attackTargetWith] Range adjusts damage of Player from 34.92 to 41.00
      $ [physicalCrit] Player's initial crit chance: 10.00 adjusted to final crit chance 10.00. NPC factors: Player factors: 
    $2.21 [attackTargetWith] Mult. adjusts damage from 41.00 to 26.98
    $2.24 [attackTargetWith] Damage Conversion of Player adjusts damage from 26.98 to 28.87
    $2.26 [attackTargetWith] of Player calls [projector] for damage type PHYSICAL with damage 28.87...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 28.87 
        $3.15 [projector] Player's damage adjusts by modifier 6.00 percent, from 28.87 to 30.60
        $3.54 [projector] Player attempts to do 30.60 damage to NPC and calls [takeHit] which calls [onTakeHit]...
Loading tile from tileset	/data/gfx/shockbolt/object/2hmace_iron.png
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      ^6.9  [attackTargetHitProcs] on_melee_hit of NPC does damage 12.03 of type BLEED, reduced by Player's flat armour by 0.00
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC calls [projector] for damage type BLEED with damage 12.03...
        ---------------------------------------------------------
        ^3.1  [projector] NPC's damage of type PHYSICAL starts at 2.01 
        ^3.9  [projector] Numbed NPC reduces damage from 2.01 to 1.70
        ^3.54 [projector] NPC attempts to do 1.70 damage to Player and calls [takeHit] which calls [onTakeHit]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still

MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#6 Post by jenx »

Level 7 Cornac Arcane Blade, wielding staff, to get proc damage bonus for Arcane Combat. Note the damge I'm doing, just at level 7 - almost 300 from Pulverising Augur at 4/5
1.5.5e format

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (elm starstaff of might), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 37, damage multiplier 1.00. Target has def 2
    $2.5  [attackTargetWith] Player has damage 12.70, apr 2, accuracy 37, damage multiplier 1.00. Target has def 2, armour 1, name: poison ivy
      $ [checkHit] accuracy 37 versus def 2 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 12.70, apr 2, accuracy 37, damage multiplier 1.00. NPC has def 2, armour 1, armour hardiness 0.30
    $2.19 [attackTargetWith] Range adjusts damage of Player from 12.70 to 12.00
      $ [physicalCrit] Player's initial crit chance: 8.24 adjusted to final crit chance 8.24. NPC factors: Player factors: 
    $2.26 [attackTargetWith] of Player calls [projector] for damage type PHYSICAL with damage 12.00...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 12.00 
        $3.15 [projector] Player's damage adjusts by modifier 10.00 percent, from 12.00 to 13.20
        $3.34 [projector] Resistance of NPC = 3.60 and adjusts Player's damage from 13.20 to 12.72
        $3.54 [projector] Player attempts to do 12.72 damage to NPC and calls [takeHit] which calls [onTakeHit]...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.1  [attackTargetHitProcs] Player's Staff Accuracy accuracy mult = 1.88
      $6.5  [attackTargetHitProcs] equipment on-melee-hit of Player calls [projector] for damage type FIRE with damage 6.19...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type FIRE starts at 6.19 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 6.19 to 11.61
        $3.15 [projector] Player's damage adjusts by modifier 2.08 percent, from 11.61 to 11.85
        $3.54 [projector] Player attempts to do 11.85 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[ARCANE COMBAT] autocast 	Pulverizing Auger
[LOG]	Nirnaci casts Pulverizing Auger.
[LOG]	Snowy tree turns into rocky ground.
[SPELL CRIT %]	9.9
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 145.43 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 145.43 to 272.69
        $3.15 [projector] Player's damage adjusts by modifier 10.00 percent, from 272.69 to 299.96
        $3.34 [projector] Resistance of NPC = 3.60 and adjusts Player's damage from 299.96 to 289.16
        $3.54 [projector] Player attempts to do 289.16 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      ^6.9  [attackTargetHitProcs] on_melee_hit of NPC does damage 10.00 of type POISON, reduced by Player's flat armour by 0.00
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC calls [projector] for damage type POISON with damage 10.00...
        ---------------------------------------------------------
        ^3.1  [projector] NPC's damage of type NATURE starts at 1.67 
        ^3.15 [projector] NPC's damage adjusts by modifier -30.00 percent, from 1.67 to 1.17
        ^3.34 [projector] Resistance of Player = 20.00 and adjusts NPC's damage from 1.17 to 0.93
        ^3.54 [projector] NPC attempts to do 0.93 damage to Player and calls [takeHit] which calls [onTakeHit]...
        $ [checkHit] accuracy 18 versus def 22 gives chance to hit of 40 percent
[LOG]	Nirnaci is poisoned!
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
[LOG]	#UID:59240:0#Poison ivy hits #fbd578#Nirnaci#LAST# for #LIGHT_GREEN#1 nature#LAST# damage.
[LOG]	#UID:14326:0##fbd578#Nirnaci#LAST# hits Poison ivy for #aaaaaa#13 physical#LAST#, #LIGHT_RED#12 fire#LAST#, #aaaaaa#289 physical#LAST# (314 total damage).
[LOG]	#{bold}##UID:14326:0##fbd578#Nirnaci#LAST# killed Poison ivy!#{normal}#
  ---------------------------------------------------------
  ^3.1  [projector] NPC's damage of type NATURE starts at 1.67 
  ^3.15 [projector] NPC's damage adjusts by modifier -30.00 percent, from 1.67 to 1.17
  ^3.34 [projector] Resistance of Player = 20.00 and adjusts NPC's damage from 1.17 to 0.93
  ^3.54 [projector] NPC attempts to do 0.93 damage to Player and calls [takeHit] which calls [onTakeHit]...
[LOG]	Poison from Poison ivy hits #fbd578#Nirnaci#LAST# for #LIGHT_GREEN#1 nature#LAST# damage.

And now at level 8, with Perfect Strike and Precise Strikes, and 15% physical damage staff :-). 358 damage against 3 storm drake hatchlings

Code: Select all

$1.0  [attackTarget] Player attempts a new melee attack with one or both weapons...
  $1.9  [attackTarget] Player attacking FIRST with mainhand (shimmering ash starstaff of power), and triggers [attackTargetWith]...
    $2.2  [attackTargetWith] Player has accuracy 45, damage multiplier 1.00. Target has def 4
    $2.5  [attackTargetWith] Player has damage 14.58, apr 3, accuracy 45, damage multiplier 1.00. Target has def 4, armour 5, name: storm drake hatchling
      $ [checkHit] accuracy 45 versus def 4 gives chance to hit of 100 percent
    $2.17 [attackTargetWith] Player has damage 14.58, apr 3, accuracy 45, damage multiplier 1.00. NPC has def 4, armour 5, armour hardiness 0.30
    $2.18 [attackTargetWith] Armour on NPC reduces damage from 14.58 to 12.58
    $2.19 [attackTargetWith] Range adjusts damage of Player from 12.58 to 14.00
      $ [physicalCrit] Player's initial crit chance: 12.03 adjusted to final crit chance 12.03. NPC factors: Player factors: 
    $2.26 [attackTargetWith] of Player calls [projector] for damage type PHYSICAL with damage 14.00...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 14.00 
        $3.15 [projector] Player's damage adjusts by modifier 15.00 percent, from 14.00 to 16.10
        $3.54 [projector] Player attempts to do 16.10 damage to NPC and calls [takeHit] which calls [onTakeHit]...
    $2.29 [attackTargetWith] of Player now calls [attackTargetHitProcs]...
      $6.1  [attackTargetHitProcs] Player's Staff Accuracy accuracy mult = 2.03
      $6.5  [attackTargetHitProcs] equipment/talents on-melee-hit of Player calls [projector] for damage type FIRE with damage 5.73...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type FIRE starts at 5.73 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 5.73 to 11.61
        $3.15 [projector] Player's damage adjusts by modifier 1.92 percent, from 11.61 to 11.83
        $3.54 [projector] Player attempts to do 11.83 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[ARCANE COMBAT] autocast 	Pulverizing Auger
[LOG]	Nirnaci casts Pulverizing Auger.
[LOG]	Door turns into open door.
[SPELL CRIT %]	7.1886998444723
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 154.01 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 154.01 to 311.86
        $3.15 [projector] Player's damage adjusts by modifier 15.00 percent, from 311.86 to 358.64
        $3.54 [projector] Player attempts to do 358.64 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 154.01 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 154.01 to 311.86
        $3.15 [projector] Player's damage adjusts by modifier 15.00 percent, from 311.86 to 358.64
        $3.54 [projector] Player attempts to do 358.64 damage to NPC and calls [takeHit] which calls [onTakeHit]...
        ---------------------------------------------------------
        $3.1  [projector] Player's damage of type PHYSICAL starts at 154.01 
        $3.5  [projector] Players' Staff accuracy damage bonus increases damage from 154.01 to 311.86
        $3.15 [projector] Player's damage adjusts by modifier 15.00 percent, from 311.86 to 358.64
        $3.54 [projector] Player attempts to do 358.64 damage to NPC and calls [takeHit] which calls [onTakeHit]...
      ^6.9  [attackTargetHitProcs] on_melee_hit of NPC does damage 2.00 of type LIGHTNING, reduced by Player's flat armour by 0.00
      ^6.10 [attackTargetHitProcs] on_melee_hit of NPC calls [projector] for damage type LIGHTNING with damage 2.00...
        ---------------------------------------------------------
        ^3.1  [projector] NPC's damage of type LIGHTNING starts at 2.00 
        ^3.54 [projector] NPC attempts to do 2.00 damage to Player and calls [takeHit] which calls [onTakeHit]...
      $6.20  [attackTargetHitProcs] of Player calls any available [callbackOnMeleeAttack] functions - to be coded still
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Verbose Addon - deep analysis in the log :-)

#7 Post by jenx »

with addons Everything is Unique and Multiclass Challenge, with Adventurer + Mindslayer, lvl 200:

Code: Select all

$2.2  [attackTargetWith] Player has accuracy 201, damage multiplier 3.94. Target has def 7
$2.5  [attackTargetWith] Player has damage 1037.11, apr 296, accuracy 201, damage multiplier 3.94. Target has def 7, armour 0, name: orc necromancer
     $ [checkHit] accuracy 201 versus def 7 gives chance to hit of 100 percent
$2.17 [attackTargetWith] Player has damage 1037.11, apr 296, accuracy 201, damage multiplier 3.94. NPC has def 7, armour 0, armour hardiness 0.30
$2.19 [attackTargetWith] Range adjusts damage of Player from 1037.11 to 1061.00
     $ [physicalCrit] Player's initial crit chance: 569.92 adjusted to final crit chance 100.00. NPC factors: Player factors: 
$2.20 [attackTargetWith] Crit. adjusts damage from 1061.00 to 13131.82
$2.21 [attackTargetWith] Mult. adjusts damage from 13131.82 to 51803.37
[LOG]	#{bold}##UID:19330:0##fbd578#Realliin#LAST# performs a melee critical strike against Orc necromancer!#{normal}#
$2.26 [attackTargetWith] of Player calls [projector] for damage type PHYSICAL with damage 51803.37...
---------------------------------------------------------
$3.1  [projector] Player's damage of type PHYSICAL starts at 51803.37 
$3.9  [projector] Numbed Player reduces damage from 51803.37 to 51803.37
$3.15 [projector] Player's damage adjusts by modifier 534.73 percent, from 51803.37 to 328812.18
$3.29 [projector] Resistance penetration of Player is 196.52
$3.54 [projector] Player attempts to do 328812.18 damage to NPC and calls [takeHit] which calls [onTakeHit]...
[LOG]	#F53CBE#You have taken the life of an experienced foe! (+27 hate)
MADNESS rocks

Post Reply