Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Test Run Launched

Started by Tom, September 13, 2011, 09:16:39 AM

Previous topic - Next topic

Tom

yes, you should. Ok, please try again, I've now added more info, it tells you what the parser thinks you have in energy.

Zane

Quote from: Tom on September 16, 2011, 12:17:18 AM
yes, you should. Ok, please try again, I've now added more info, it tells you what the parser thinks you have in energy.

"not enough energy (would require 3 - you have 2.42)"

According to my character page, I have 5.42 energy.

Zane

#32
Interesting, I stacked two spells in the parser that would have required 2 energy each and it said "not enough energy (would require 2 - you have 1.42)"  1.42 is what I would have had left had I cast the spells: 5.42 total - 2 - 2 = 1.42.

Tom

I just fixed a few bugs there - it should now calculate correctly. Also, if XP gains make you gain a level in a skill, it will now tell you.

Zane

Now I'm getting an exception:

ErrorException [ Notice ]: Undefined index: XPgains
APPPATH/controllers/action.php [ 77 ]
77  foreach ($CanCast['XPgains'] as $element=>$gains) {

Tom