PDA

View Full Version : Lich not calculating ranger spells correctly?



budartagnan
05-04-2007, 08:44 PM
I'm trying to figure out if this is me, or more than just me. I have a level 30 ranger, and my spells don't ever seem to have the correct duration calculated.

For instance, with 30 ranks in ranger circle, it's still only calculating 20 minutes for a cast of 601 - when it should be 35 minutes.

I check ;magic prior, it lists 1 hr - after 1 cast, it's 1 hr 20 min. I've done a skills full, spell all, etc., and I'm sure infomonitor is on. Is it just me, or does anyone else playing a ranger have this problem?

Either way, thanks for all the hard work Shaelun. :)

Shaelun
05-06-2007, 04:49 PM
"spell-list.txt" is listing the code to calculate 601 as...


10 + (Spells.ranger / 3.00)


"Spells.ranger" returns a number corresponding to your current Ranger ranks. With 35 spells, it ends up being 21.667 -- so it's working the way it's supposed to, but apparently the way it's supposed to work isn't the way the game works. How long does 601 last?

Celephais
05-06-2007, 04:52 PM
601: 10 + (ranger/3) is correct
So that looks right.

but ...
611: 15 + (ranger/2)

601 and 611 have the same message when cast, does Lich do any checking of the spell that was prepped?

Shaelun
05-06-2007, 05:00 PM
No, it doesn't... if the messages are identical, it's going to assume 611 is 601 and adjust the spell duration accordingly.

Infact, I don't see 611 listed in spell-list.txt at all...

I'll make a note of it, but it's a pretty low-priority bugfix. If you want to fix it yourself for now, edit "spell-list.txt" in your Lich script directory and alter the time calculation for 601 to suit your tastes.

budartagnan
05-06-2007, 05:56 PM
Thanks. I'll fix it on the list.