Page 1 of 1

[b38] game:logSeen() not sure if this is a bug...

Posted: Sun Apr 22, 2012 10:34 am
by jenx
Twice in the code there appears game:logSeen(), rather than game.logSeen().

Is this is a bug or not?

It is in mental.lua and fears.lua.

Eg, in mental.lua:

Code: Select all

if not target:canBe("fear") then
	game.logSeen(target, "#F53CBE#%s ignores the fear!", target.name:capitalize())
elseif not target:checkHit(eff.mindpower, target:combatMentalResist()) then
	game:logSeen(target, "%s resists the fear!", target.name:capitalize())