Hey guys im back with another question that i just cant seem to figure out on my own, 2 questions actually 2 problems to be solved o:
I'll get straight to the point here,
1. I thought about making some items for my game that improve your stats HP/MP/str/luk etc. like those items for pokemon that help you boost your stats if you use them to level up or something like that, to explain how they work just in case you dont know what im talking about, This item will first have a penalty for example: -50% spd while wearing it but every time you level up your Dexterity goes up by 1 more on top of what your leveling up gives you, so if leveling up gives you +2 dexterity youd go up +3 while wearing this item.
Im not really sure how to do that, all i can come up with is the item receives +1 dex xD
The second question is about weapon skills/stats,
what im trying to do is have legendary weapons for each character, they have to find the weapon but the weapons stats will be locked until you do a certain task/crating with certain monster items.
i get the if player has weapon x in inventory remove weapon x and add weapon X1 which would be the weapon with the stats, but im trying to add more than 1 thing youll have to do to unlock the weapons stats which i know how to do that one as well just perform different check to check for x1 then x2 then x3 while removing the previous version of the weapon and giving the player the new weapon, but, heres where it gets tricky, Some tasks can be done BEFORE you aquire the actual weapon it self, how do i do it so that if player did task 2 already but not task 1 youll get a weapon with stats +10 str but not +13 dex?
The only way ive come up with is setting up way too many multiple conditional branches and that is taking me forever to do so yes this is a bit of lazy on the side but also wanting to know if there is a more effective way of doing it because i have 13 weapons left :|
Thanks in advanced for any and all help n.n <3
I'll get straight to the point here,
1. I thought about making some items for my game that improve your stats HP/MP/str/luk etc. like those items for pokemon that help you boost your stats if you use them to level up or something like that, to explain how they work just in case you dont know what im talking about, This item will first have a penalty for example: -50% spd while wearing it but every time you level up your Dexterity goes up by 1 more on top of what your leveling up gives you, so if leveling up gives you +2 dexterity youd go up +3 while wearing this item.
Im not really sure how to do that, all i can come up with is the item receives +1 dex xD
The second question is about weapon skills/stats,
what im trying to do is have legendary weapons for each character, they have to find the weapon but the weapons stats will be locked until you do a certain task/crating with certain monster items.
i get the if player has weapon x in inventory remove weapon x and add weapon X1 which would be the weapon with the stats, but im trying to add more than 1 thing youll have to do to unlock the weapons stats which i know how to do that one as well just perform different check to check for x1 then x2 then x3 while removing the previous version of the weapon and giving the player the new weapon, but, heres where it gets tricky, Some tasks can be done BEFORE you aquire the actual weapon it self, how do i do it so that if player did task 2 already but not task 1 youll get a weapon with stats +10 str but not +13 dex?
The only way ive come up with is setting up way too many multiple conditional branches and that is taking me forever to do so yes this is a bit of lazy on the side but also wanting to know if there is a more effective way of doing it because i have 13 weapons left :|
Thanks in advanced for any and all help n.n <3