Currently i have an npc that provides agi & bless lvl 5 upon click the NPC.
However, if let's say i'd like to add a feature that allows them to use zeny to upgrade the agi / bless and adding more buffs like kylie elison and the rest, how do i do that?
The only method i could think of is putting 2 seperate npc and setting a variable each time they upgrade.
like set upgrade,1; then it'll be agi lvl 6 and bless lvl 5
then set upgrade,2; will be agi lvl 6 and bless lvl 6.
But if they mix around then it'll be hard to maintain this. Is there anything i'm missing currently?
Question
ToiletMaster
HI guys,
Having an issue with scripting at the moment.
Currently i have an npc that provides agi & bless lvl 5 upon click the NPC.
However, if let's say i'd like to add a feature that allows them to use zeny to upgrade the agi / bless and adding more buffs like kylie elison and the rest, how do i do that?
The only method i could think of is putting 2 seperate npc and setting a variable each time they upgrade.
like set upgrade,1; then it'll be agi lvl 6 and bless lvl 5
then set upgrade,2; will be agi lvl 6 and bless lvl 6.
But if they mix around then it'll be hard to maintain this. Is there anything i'm missing currently?
Thanks!
Link to comment
Share on other sites
23 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.