HM-CODE / Haunted-Memories

A repository for Haunted Memories code.
http://www.haunted-memories.net/
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

+mana/oblation not behaving properly #90

Closed Bradamante closed 13 years ago

Bradamante commented 13 years ago

+mana/oblation is not actually removing mana from hallows.

Also, +mana/oblation is reportedly not checking maximum pool size, and is allowing mages doing oblations to retrieve more mana than necessary to fill their pools. Yseulte's player reported being at 18/20 mana, and being able to run three oblations in a row, giving her 1 mana, 1 mana, and 2 mana. (She did not specify whether she wound up at 20 or 22 mana out of 20.)

hmmorpheus commented 13 years ago

I checked this on the dev port at Burg Leopoldsburg's pool by unthawing my mage Friday.. it correctly limited me to not exceeding Friday's pool and did accurately deduct the amount from the d.mana attribute. This is the area that Yseulte's +mana/log says she performs her oblations too, so I'm afraid that this bug at this time is not confirmed.

Bradamante commented 13 years ago

I tested it at Crow's Nest with Chana. Starting at 13/14 mana: +mana/oblation 2 gave me "You do not need that much mana." However, +mana/oblation 1, twice, gave me 1 mana back each time, and let me go up to 15/14.

It did, however, then actually display 0 mana rather than 2, which is a pleasant change -- I've gotten sort of accustomed to seeing mana not deducted from the Hallow when I go there.

hmmorpheus commented 13 years ago

https://github.com/hmmorpheus/Haunted-Memories/blob/master/softcode/mage/mana-oblation.txt