[1.7.4] Inner Demon + Staff Rogue

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
Baget
Posts: 1
Joined: Sun Jul 04, 2021 10:56 pm

[1.7.4] Inner Demon + Staff Rogue

#1 Post by Baget »

When playing Throwing Knives Rogue, it is pretty common to just wing it with whatever weapon you have in hand, since they only depend on "when equipped" bonuses. I'm currently leveling with an Infernal Ash Starstaff simply because it gives most of what I want.

But anyway, I think the fact that I'm using a staff without knowing the staff category at all is making Inner Demons created after my character go haywire trying to understand the settings they should be using.

Here's the error log (I've removed about 20-30 lines of just throwing knives damage):

Code: Select all

[Actor:move]	40936	Stabs McGee the Third's Inner Demon	(forced) move from	nil	nil	to	18	17
[PARTY] New member, add after	Stabs McGee the Third's Inner Demon	Stabs McGee the Third
Adding entity	40936	after	4996
[LOG]	#F53CBE#Stabs McGee the Third's Inner Demon manifests!

--------Lots of throwing knives calculations---------

ERROR:
Game version: tome-1.7.4
Addons: hz-escorts-1.3.1[X!], items-vault-1.7.0[O], possessors-1.7.4[O], zomnibus_lite-1.7.4[X], ashes-urhrok-1.7.4[O], select-your-escorts-1.7.0[X], better_item_desc-1.7.2[X], orcs-1.7.4[O], cults-1.7.4[O]

Game version (character creation): tome-1.7.3
Lua Error: /mod/class/Object.lua:2690: attempt to perform arithmetic on local 'wt' (a table value)
  At [C]:-1 __mul
  At /mod/class/Object.lua:2690 getStaffPreferredElement
  At /data/talents/misc/objects.lua:162 on_pre_use_ai
  At /mod/ai//improved_tactical.lua:567 
  At /mod/class/interface/ActorAI.lua:73 runAI
  At /mod/ai//improved_tactical.lua:1142 
  At /mod/class/interface/ActorAI.lua:73 
  At /mod/class/interface/ActorAI.lua:73 doAI
  At /mod/class/NPC.lua:75 act
  At /engine/GameEnergyBased.lua:129 tickLevel
  At /engine/GameEnergyBased.lua:64 tick
  At /engine/GameTurnBased.lua:51 tick
  At /mod/class/Game.lua:1582 

The bug causes it to give what almost looks like a forkbomb worth of error notifications, 10+ per turn while the AI tries to somehow understand what's it supposed to do.

Post Reply