SVN Wild Growth Description bug

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

SVN Wild Growth Description bug

#1 Post by edge2054 »

Looking over the latest commit I believe the Wild Growth description will throw an error.

The formatting on the string is still calling (regen, dur) even though regen no longer exists. It's also calling regen first so it will look for regen for the string.

From the git diff

Code: Select all

+               Any regeneration effect active on you will have its duration increased by +%d turns.]]):
                format(regen, dur)
I haven't booted up the game (I'm in the middle of a patch anyway and don't feel like committing it to pull) but I predict this will throw an error attempt to index regen a nil value.

PureQuestion
Master Artificer
Posts: 726
Joined: Fri Feb 03, 2012 3:53 am

Re: SVN Wild Growth Description bug

#2 Post by PureQuestion »

Yeah this seems fairly certain; it's pulling a non existence variable, and even if the variable was still there it would be pulling the wrong one, so...

Post Reply