I am making my server with super-balanced gameplay in a case, there are donators (And yes, they will be). The main idea is to make a need for Donators in TCG cards, so if a farm player wants to buy something from the Cash Shop, he can sell his TCG to a donator.
So i would like to request the following NPC :
A dude with a chat room over his head that will say : Exchange Rate : X TCG = Y CP
X = Total amount of TCG cards [ ID 7227 ] aviable on the server
Y = Total amount of unused Cash Points on the server
Now i would like him to calculate a configurable for me, default rate of 1:1. If X = 300 total TCG cards wich is aviable on the server and Y = 100 Cash Points total will be aviable on the server, then the exchange rate will be : Exchange Rate : 3 TCG = 1 CP and thats what i would like the NPC to be
Now another request to this script, is i would like to prevent him to write exchange rates like : 5:3.245. I would like him to find the closest big number and show only that. Like if 3.245 then it will be just 3.
Refresh rate? Once in 1 minute.
With this system we would be able to balance Donations vs Farmers and prevent overhold of one of the currency.
Question
Overshot
Hello dear rAthena users and Developers!
I am making my server with super-balanced gameplay in a case, there are donators (And yes, they will be). The main idea is to make a need for Donators in TCG cards, so if a farm player wants to buy something from the Cash Shop, he can sell his TCG to a donator.
So i would like to request the following NPC :
A dude with a chat room over his head that will say : Exchange Rate : X TCG = Y CP
X = Total amount of TCG cards [ ID 7227 ] aviable on the server
Y = Total amount of unused Cash Points on the server
Now i would like him to calculate a configurable for me, default rate of 1:1. If X = 300 total TCG cards wich is aviable on the server and Y = 100 Cash Points total will be aviable on the server, then the exchange rate will be : Exchange Rate : 3 TCG = 1 CP and thats what i would like the NPC to be
Now another request to this script, is i would like to prevent him to write exchange rates like : 5:3.245. I would like him to find the closest big number and show only that. Like if 3.245 then it will be just 3.
Refresh rate? Once in 1 minute.
With this system we would be able to balance Donations vs Farmers and prevent overhold of one of the currency.
Edited by OvershotLink to comment
Share on other sites
1 answer 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.