Superloading new poison effects

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Razakai
Uruivellas
Posts: 889
Joined: Tue May 14, 2013 3:45 pm

Superloading new poison effects

#1 Post by Razakai »

I'm trying to load a new type of poison to be used by Vile Poisons. While most of the talents work fine, the new poison types fail with the following error when they attempt to apply:

Code: Select all

stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:248: in function </engine/interface/ActorTalents.lua:232>
Lua Error: /engine/interface/ActorTalents.lua:271: /engine/interface/ActorTalents.lua:248: /engine/interface/ActorTalents.lua:148: /mod/class/interface/Combat.lua:861: attempt to call a nil value
stack traceback:
	/mod/class/interface/Combat.lua:861: in function 'attackTargetWith'
	/mod/class/interface/Combat.lua:190: in function 'attackTarget'
	/data/talents/misc/misc.lua:75: in function </data/talents/misc/misc.lua:54>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:145: in function </engine/interface/ActorTalents.lua:138>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:271 bumpInto
	At /mod/class/Actor.lua:3342 attack
	At /engine/interface/ActorLife.lua:41 check
	At [string "return function(self, x, y, what, ...) local ..."]:1 checkAllEntities
	At /engine/Actor.lua:198 move
	At /mod/class/Actor.lua:1260 move
	At /mod/class/Player.lua:296 move
	At /engine/interface/PlayerMouse.lua:61 mouseMove
	At /engine/interface/PlayerMouse.lua:133 mouseHandleDefault
	At /mod/class/Game.lua:2151 fct
	At /engine/Mouse.lua:56 
I've included my Poisons.lua superload file below:

http://pastebin.com/qTcx8HLE

Razakai
Uruivellas
Posts: 889
Joined: Tue May 14, 2013 3:45 pm

Re: Superloading new poison effects

#2 Post by Razakai »

Ignore this! Thanks to DarkGod it's been sorted.

Post Reply