以下是ab forum的adamantine做的modified test:
I did a few tests with willowisp5 in Blood Moor (thus mlvl=67) to check if there was physical damage with the missile, 60 hits averaged (from a single attacker, changed angle/location ~3 times).
Damage | Resist
009 | 95%
406 | -100%
214 | 0%
Corrected
Damage | Resist
190 | 95%
203 | -100%
214 | 0%
The second table is if you multiply the topmost 2 so it's like I had 0 resist there. 95% resist = 5% damage, so multiply by 20, and -100 resist = 200% damage, so multiply by 0,5.
Edit > After tinkering with monstats.txt for awhile, I found where they get their lightning (ie ranged) damage from: El1, the elemental type? Mana drain.
Changing melee or El2 (which is lightning...) does nothing to it.
Changing El1 to 1 min/max though made it do 2 damage with -100 resist, changing it to 100 made it do 192, exactly that on average even after 50 hits.
Now if you look in monlvl at DM(H) and lvl 85 (I changed Blood Moor to WSK mlvl), it says 96. 192/2=96.
The value here is multiplied with the DM value in monstats, then divided by 100.
The mana drain damage value is for hell 200-300, and the lightning one 5-190 (which also says should use the cast animation, while mana drain should use attack animation), so Whisps are more than likely doing 2.5x damage than they should.
If you look at my first test and monlvl.txt it should do 152-228, 190 average. When you count in critical strike (I didn't remove it at first tests) it's pretty close.
As for bosses that's really confusing, when I managed to make them do 0 lightning damage, with a boss this was more than 0 (around 35), so my guess is all elemental damage on the melee attack is added to the lightning bolt (and some is converted?), but not the physical part.
简单地说明一下...
在monstat.txt上,gloams(gloam,black soul,burning soul)的说明如下:
Cast attack missile: willowhisplightningbolt2
Skill used: ChainLightning at sLvl 4, skillmode 'SC' = cast
5% Chance to score crit
A1H / Melee attack damage: 45-115 dmg
A2H / 2nd melee attack: none
E1H / 1st elemental attack: mana drain, attached to A1, drains 200-300
E2H / 2nd elemental attack: lightning, 'SC' = cast attack, 5-190 dmg
而技能willowhisplightningbolt2在missiles.txt上没有对应内容...所以本来willowwhisp的damage应该是"E2H / 2nd elemental attack: lightning, 'SC' = cast attack, 5-190 dmg",这时实际上变成了"E1H / 1st elemental attack: mana drain, attached to A1, drains 200-300"
所以hell的gloam的lightling dam是200-300,在worldstone keep里边,上面的dmg还要经过monlvl.txt调整(monstats damage * DM / 100),最后得到的dam是192-288 ,纯电(比设定值大了2.5倍-_-)
然后,一道lightling全部命中=5 hit,也就是960-1440 dmg
最后,960-1440只是普通gloam普通状态下的dmg,如果是champion/boss/FE/critical strike/conv的话这个数值会大很多的。