ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Dec 11, 2019 5:00 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: stunning kills
PostPosted: Tue Jun 08, 2010 5:17 am 
Offline
Thalore

Joined: Thu Aug 20, 2009 3:26 pm
Posts: 120
I've been running some berserkers and when I use some stunning attack and then kill them, both Bill and the Shade of Angmar do not drop anything.

Quote:
[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#112.00 physical damage#LAST#.
[LOG] Mr T uses Gnaw.
USING table: 0B5215A8 Gnaw
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 0.29166666666667
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 122
[PHYS CRIT %] 3.1
[ATTACK] after crit 122
[ATTACK] after mult 35.583333333333
[PROJECTOR] starting dam 35.583333333333
[PROJECTOR] after difficulty dam 35.583333333333
[PROJECTOR] res 0 1 on dam 35.583333333333
[PROJECTOR] final dam 35.583333333333
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#35.58 physical damage#LAST#.
checkHit 42 20
=> chance to hit 95
[LOG] Bill the Stone Troll is stunned!
addTmpVal stunned 1 :=: 1 1
Effect duration reduction < 5
Effect duration reduction > 4
[LOG] Mr T uses Stunning Blow.
USING table: 08B53760 Stunning Blow
86 ticks in 11.333 seconds = 7.58846 TPS
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1.33
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 119
[PHYS CRIT %] 3.1
[ATTACK] after crit 119
[ATTACK] after mult 158.27
[PROJECTOR] starting dam 158.27
[PROJECTOR] after difficulty dam 158.27
[PROJECTOR] res 0 1 on dam 158.27
[PROJECTOR] final dam 158.27
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#158.27 physical damage#LAST#.
checkHit 65 20
=> chance to hit 95
removeTempVal stunned 1 :=: 1
delTmpVal stunned 1
[LOG] Bill the Stone Troll is stunned!
addTmpVal stunned 1 :=: 0 2
Effect duration reduction < 3.3
Effect duration reduction > 2.3
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 148
[PHYS CRIT %] 3.1
[ATTACK] after crit 148
[ATTACK] after mult 148
[PROJECTOR] starting dam 148
[PROJECTOR] after difficulty dam 148
[PROJECTOR] res 0 1 on dam 148
[PROJECTOR] final dam 148
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#148.00 physical damage#LAST#.
334 frames in 10.026 seconds = 33.3134 FPS
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 122
[PHYS CRIT %] 3.1
[ATTACK] after crit 122
[ATTACK] after mult 122
[PROJECTOR] starting dam 122
[PROJECTOR] after difficulty dam 122
[PROJECTOR] res 0 1 on dam 122
[PROJECTOR] final dam 122
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#122.00 physical damage#LAST#.
[LOG] Bill the Stone Troll is not stunned anymore.
removeTempVal stunned 1 :=: 2
delTmpVal stunned 1
[PATH STRING] for Bill the Stone Troll :=: return {can_pass={}}
[ATTACK] attacking with Bill's Tree Trunk
[ATTACK] to Mr T :: 75.5 7 14.3 :: 1
checkHit 33 4.7
=> chance to hit 95
[ATTACK] raw dam 75.5 versus 14.3 with APR 7
[ATTACK] after range 95
[PHYS CRIT %] 0.9
[ATTACK] after crit 95
[ATTACK] after mult 95
[PROJECTOR] starting dam 95
[PROJECTOR] after difficulty dam 95
[PROJECTOR] res 0 1 on dam 95
[PROJECTOR] final dam 95
[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#95.00 physical damage#LAST#.
[PATH STRING] for Bill the Stone Troll :=: return {can_pass={}}
[ATTACK] attacking with Bill's Tree Trunk
[ATTACK] to Mr T :: 75.5 7 14.3 :: 1
checkHit 33 4.7
=> chance to hit 95
[ATTACK] raw dam 75.5 versus 14.3 with APR 7
[ATTACK] after range 90
[PHYS CRIT %] 0.9
[ATTACK] after crit 90
[ATTACK] after mult 90
[PROJECTOR] starting dam 90
[PROJECTOR] after difficulty dam 90
[PROJECTOR] res 0 1 on dam 90
[PROJECTOR] final dam 90
[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#90.00 physical damage#LAST#.
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 121
[PHYS CRIT %] 3.1
[ATTACK] after crit 121
[ATTACK] after mult 121
[PROJECTOR] starting dam 121
[PROJECTOR] after difficulty dam 121
[PROJECTOR] res 0 1 on dam 121
[PROJECTOR] final dam 121
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#121.00 physical damage#LAST#.
[LOG] Mr T killed Bill the Stone Troll!
Lua Error: /data/zones/trollshaws/npcs.lua:58: attempt to index field 'Quest' (a nil value)
At [C]:-1
At /data/zones/trollshaws/npcs.lua:58 check
At /engine/interface/ActorLife.lua:77 die
At /mod/class/Actor.lua:495 takeHit
At /data/damage_types.lua:59 projector
At /mod/class/interface/Combat.lua:287 attackTargetWith
At /mod/class/interface/Combat.lua:89 bumpInto
At /mod/class/Actor.lua:594 attack
At /engine/interface/ActorLife.lua:40 check
At /engine/Map.lua:526 checkAllEntities
At /engine/Actor.lua:96 move
At /mod/class/Actor.lua:208 move
At /mod/class/Player.lua:88 moveDir
At /mod/class/Game.lua:542 ?
At /engine/KeyBind.lua:177
[LOG] #00ff00#Talent Stunning Blow is ready to use.


Just a small part of my current char's huge file. I hope that this contains the error (which it does mention a lua error).

_________________
-The Bigfoot

I really do exist.


Top
 Profile  
 
 Post subject: Re: stunning kills
PostPosted: Tue Jun 08, 2010 5:37 am 
Offline
Sher'Tul

Joined: Mon Nov 24, 2003 2:31 pm
Posts: 1252
Location: South Africa
LOL@ Mr T for a beserker... Soz, can't help much with the lua/logfile...

My guess is that you've come to the trollshaws a bit later? Ie. You've completed some other quests? I dunno but maybe if you've completed the second "Go search the XX to see what lurks there and what treasures you can gain".


Top
 Profile  
 
 Post subject: Re: stunning kills
PostPosted: Tue Jun 08, 2010 7:43 am 
Offline
Sher'Tul

Joined: Mon Nov 24, 2003 2:31 pm
Posts: 1252
Location: South Africa
I am pretty certain the code to "unconstrict" all constricted victems of a constrictor should go in Actor.lua -> function _M:die(src)

But the problem is, in death there is a src, but not sure if there is a constriction victems... Ie. If the constrictor is constricting my summoned unit, and I kill it, I think it's easy to remove constrictions from myself, but removing it from the constrictee... might prove difficult.

You'll have to remember the target when you are constricting the guy (in timed_effects.lua)... Hmmm... tricksy... :-)

I wanted to supply a patch, but I'm not comfortable with the code (engine) yet. ;-) But I'll learn as I go along.

EDIT: Oops ... this is the wrong thread!


Last edited by Canderel on Tue Jun 08, 2010 11:09 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: stunning kills
PostPosted: Tue Jun 08, 2010 9:11 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
I see why it borked, fixed.

About constriction I've fixed it already

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group