- Joined
- Oct 22, 2016
- Messages
- 91
- Reaction score
- 7
- First Language
- english
- Primarily Uses
I'd like to limit Mp regen in my world, by making it so that Mages only regenerate when sleeping, and 10% of their Mmp + (bonus from a stat) + (bonus from items)
I envision creating a variable :
Var 1 = Bonus from stat of Actor 1
Var 2 = Bonus from equipement of actor 1
Var 3 = Var 1 + Var 2 + 10% Mmp
Regen MP : Add Var 3
Etc for each actor, (probably the long and painfull way, but if it works...)
but i dont know how i could give items a bonus to a variable, while having this bonus be lost if said item is unequiped.
Also... Is there another more elegant way to do this ?
Thanks for reading
Nol
I envision creating a variable :
Var 1 = Bonus from stat of Actor 1
Var 2 = Bonus from equipement of actor 1
Var 3 = Var 1 + Var 2 + 10% Mmp
Regen MP : Add Var 3
Etc for each actor, (probably the long and painfull way, but if it works...)
but i dont know how i could give items a bonus to a variable, while having this bonus be lost if said item is unequiped.
Also... Is there another more elegant way to do this ?
Thanks for reading
Nol