Page 1 of 1

Radiant Fear bug

Posted: Mon Oct 11, 2010 7:47 am
by yufra
I believe this error is related to me casting radiant fear on a bee swarm in the Old Forest:

Code: Select all

Lua Error: /engine/interface/ActorProject.lua:77: bad argument #1 to 'calc_circle' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 calc_circle
	At /engine/interface/ActorProject.lua:77 project
	At /data/timed_effects.lua:1471 on_timeout
	At /engine/interface/ActorTemporaryEffects.lua:72 timedEffects
	At /mod/class/Actor.lua:201 act
	At /mod/class/NPC.lua:35 act
	At /engine/GameEnergyBased.lua:73 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:433 

Re: Radiant Fear bug

Posted: Mon Oct 11, 2010 8:20 pm
by Rakshasa
The same calc_circle error affects other skill like taunt from summoned turtles.

Re: Radiant Fear bug

Posted: Mon Oct 11, 2010 8:35 pm
by yufra
Actually, I think this may be a bug that my target refactor introduced. I will post again after looking at it myself.

Re: Radiant Fear bug

Posted: Mon Oct 11, 2010 10:04 pm
by yufra
Ok, this should be fixed but won't be committed into the SVN until DG looks over it.