PDA

View Full Version : Magic times



Hobbitstomp
12-09-2010, 08:49 PM
Hi folks, new to Lich as well as players corner for that matter. Just had a quick question regarding spell lengths. Magic seems to be keeping the proper lengths for my self cast spells, but any spells that im activating from imbeds are off. Example

You raise your flexible rod skyward!
1d100: 26 + Modifiers: 348 == 374

You suddenly feel more powerful.
Cast Roundtime 3 Seconds.
>
[ Spirit Defense: +4:16:30, 4:16:30 remaining. (imbed) ]

The correct time should be 3 hours and 51 minutes with 202 ranks of MIU and using the raise activator . As far as I can tell all of my raised imbeds arent being calculated right. Is there any way I can fix this? Thanks!

Tillmen
12-09-2010, 11:16 PM
How did you come up with 3 hours and 51 minutes? 4:16:30 seems to be correct. It could be 4:17:15 depending on rounding.

The formula Lich is using is

30 + (Spells.minorspiritual * 1.5)

which seems to match play.net. Since it's an imbed with raise activator,

Spells.minorspiritual

gets replaced with

(Skills.magicitemuse / 2 * 1.5).to_i

which seems to match krakii, except now I'm not sure if that should be rounded down or not. Of course, it should be capped at 4 hours 10 minutes, but I never noticed that problem because it doesn't come up very often on non-stacking spells.

Hobbitstomp
12-11-2010, 02:30 PM
Incase anyone else is interested, the problem is that Lich calculates raiseable imbedables as a 50% increase to your MIU as stated on Krakii. However, as stated on play.net, it is not a 50% increase to your MIU but a 33% increase. Right now in order to get my proper spell lengths on raiseable imbedables im adding a multiplier of 0.899 to all the spell equations in the spell-list.xml that I activate by raise imbedables. The .899 multiplier brings the 1.5 multipler down to roughly 1.33.

202 ranks of MIU, according to play.net should turn into 268 ranks rounded down of MIU when using the raise activator.

Tillmen
12-11-2010, 08:08 PM
Updated infomon with the 1.33 thing.

Hobbitstomp
12-13-2010, 10:21 AM
Thanks for the help Tillmen!

Gnomad
12-13-2010, 11:03 PM
Updated the formula in krakii, for shits and giggles

nishi
02-13-2011, 12:52 AM
Hi, the spell 240 doesn't update its time in ;magic when it is refreshed.

thanks!
-ed