1HOUR STAT FOOD (cash script which cannot be displled and will not be removed even the player reconnects)
is it possible that if i will use an item, it's script will call another script which has this description:
+20 of chosen stat(depending on the item example: siroma food = dex , etc.)
Before it add the chosen stat for 1hour, it will check if the player does have SC_STRFOOD, SC_INTFOOD, SC_AGIFOOD, SC_VITFOOD, SC_LUKFOOD, SC_DEXFOOD, then the additional stats from these script will be removed and replaced by the SC_FOOD_STR_CASH, SC_FOOD_AGI_CASH and etc.
This is to prevent the stacking of food cash and normal stat food buffs.
Question
Dvrstle
1HOUR STAT FOOD (cash script which cannot be displled and will not be removed even the player reconnects)
is it possible that if i will use an item, it's script will call another script which has this description:
+20 of chosen stat(depending on the item example: siroma food = dex , etc.)
Before it add the chosen stat for 1hour, it will check if the player does have SC_STRFOOD, SC_INTFOOD, SC_AGIFOOD, SC_VITFOOD, SC_LUKFOOD, SC_DEXFOOD, then the additional stats from these script will be removed and replaced by the SC_FOOD_STR_CASH, SC_FOOD_AGI_CASH and etc.
This is to prevent the stacking of food cash and normal stat food buffs.
Thanks
bump~~
bump~~~~~
bump~~~
Link to comment
Share on other sites
2 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.