It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Just found out a ring I occasionally use is bugged!

When you equip an item that boosts mana (provided it's not an NotR exclusive) it boosts max and current mana.

When you remove such an item it's supposed to lower them both by the same amount. (Now there's an unrelated exploitable bug where your mana never goes below 0 and thus you can reequip mana-boosting items for infinite use)

But the Ring of Enlightenment boosts current mana by ten when equipped and lowers it by THIRTY when unequipped! Guessing they got the HP and Mana mixed up in coding there.

[For any nay-sayers out there (some people just have to contradict me sometimes) the Amulet of Enlightenment does NOT suffer from this bug.]
Post edited April 09, 2015 by bushwhacker2k
avatar
bushwhacker2k: Guessing they got the HP and Mana mixed up in coding there.
Yes, problem is in the bolded part, there should be Ri_HpMana_Mana instead of Ri_HpMana_Hp...
And yes, the amulet is written correctly.
func void UnEquip_ItRi_Hp_Mana_01()
{
self.attribute[ATR_MANA_MAX] = self.attribute[ATR_MANA_MAX] - Ri_HpMana_Mana;
self.attribute[ATR_HITPOINTS_MAX] = self.attribute[ATR_HITPOINTS_MAX] - Ri_HpMana_Hp;
if(self.attribute[ATR_HITPOINTS] > (Ri_HpMana_Hp + 1))
{
self.attribute[ATR_HITPOINTS] = self.attribute[ATR_HITPOINTS] - Ri_HpMana_Hp;
}
else
{
self.attribute[ATR_HITPOINTS] = 2;
};
if(self.attribute[ATR_MANA] >= Ri_HpMana_Hp)
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - Ri_HpMana_Hp;
}
else
{
self.attribute[ATR_MANA] = 0;
};
};