The World of Layonara  Forums

Author Topic: Light Sensitivity  (Read 457 times)

osxmallard

Light Sensitivity
« on: August 27, 2011, 03:02:28 pm »
Light Sensitivity gives my deep gnome a -2 penalty to attack and all saving throws.  According to lore, it should give a -1 penalty to attack.
 

Dorganath

Re: Light Sensitivity
« Reply #1 on: August 27, 2011, 04:21:43 pm »
LORE is apparently incorrect in this case. The code shows a -2 Attack penalty and a -2 penalty to all saves.
 

osxmallard

Re: Light Sensitivity
« Reply #2 on: August 27, 2011, 04:52:00 pm »
Is there a reasonable time limit for the effects to fade?  Right now they stack and only go away with resting.  Thanks for looking into the code.
 

Dorganath

Re: Light Sensitivity
« Reply #3 on: August 27, 2011, 05:16:37 pm »
Not really, no.  They're supposed to be "permanent".

They're set or removed when changing areas only.  If it's dawn or day and the area you enter is above ground, the effects are applied, but there's a check to make sure they're only applied once. If you change areas and it's night or the area you enter is underground, the effects are removed.

If they're stacking or not going away under these sorts of circumstances, it's most likely a runtime scripting hiccup (which tend to be induced by server lag).
 

 

anything