The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: craznut00 on January 31, 2009, 02:04:25 AM

Title: Mastery System
Post by: craznut00 on January 31, 2009, 02:04:25 AM
Item Mastery:

I'm trying to work it out in my head, but cant figure out how to reset the ability value if an item type which the player has mastered has been equipped, then uneqipped.

this is what I have


if mastery A = 1
if A1 equipped
  change ability +1(Att, Def, etc.)
if A2 equipped
  change ability +1(Att, Def, etc.)

if mastery B = 2
if B1 equipped
  change ability +2(Att, Def, etc.)
if B2 equipped
  change ability +2(Att, Def, etc.)
...
Title: Re: Mastery System
Post by: Nessiah on February 02, 2009, 05:17:27 AM
Hello can you try rephrasing it a lot more? I am kinda confused on what you meant by "resetting ability value"
Title: Re: Mastery System
Post by: craznut00 on February 02, 2009, 09:35:51 AM
What I mean is, I want it to Change the (Att, Def, Agi, Mnd) whatev' when the item(s) is/are equipped.  That part is easy, its figuring out how to knock down the Stats to their normal value when the item is unequipped afterwards.
Title: Re: Mastery System
Post by: Kokowam on February 03, 2009, 11:25:17 AM
Add by a variable and then subtract by a variable? ???
Title: Re: Mastery System
Post by: craznut00 on February 07, 2009, 02:03:49 AM
I figure I'm going to need to make 2 ParPro common events,

-1-
if equipped
turn switch on

-2-
if switch on
if equipped
  +ability
else
  - ability

: D  SO, if there is a bonus to equipping an item, the negative status change from removing it only works if it has been equipped before... thanks though.