[REQUEST] HP/MP MAX INCREASING EQUIPMENT [RM2K3]

Posts

Pages: 1
(Wasn't sure weather to use Help or Request, you can clarify what I should have used for future reference if you want.)

As the title suggests, I'm trying to figure out a way to implement MAX Health/Magic Boosting equipment. For armor/weapons when you equip an item it raises Strength, Defense, Intelligence or Agility a set amount, and when you un-equip it, those stats drop accordingly.

What I'm trying to do is create an Armor/Accessory/etc that will raise MAX HP or MP a set amount when equipped, and drop it accordingly when un-equipped (IE 900 Base HP, 1000 HP When "+100 HP Bangle" is equipped).

Still haven't been able to pull this off, it sounded a lot simpler than it ended up being. Assistance?
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
Constantly running common event, set a variable to hero X's currently equipped Y, check if this variable is not equal to another one, check if hero X has item Y equipped, if so raise max whatever by Z, if not lower it by Z, then set the second variable to the currently equipped Y.

So it would be like:

Set var:[0001:EquippedWeapon], [character] WeaponNo.

Conditional: Var 0001 not equal to 0002
Conditional: [character] has +100 HP Bangle equipped
Stat change: [character] MaxHP raise by 100
Else
Stat change: [character] MaxHP lower by 100
End
Set var:[0002:StoredWeapon], [character] WeaponNo.
End
Worked like a charm, thank you kind sir!
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
I noticed when I equipped the item and left the equipment menu, his HP hadn't changed, but when I exited and re-entered the menu, the HP was increased. I'm not picky, that's good enough for me.
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
Yeah, sorry, I should have mentioned that.

If that's good enough for you, all's well. ^_^
Pages: 1