Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cost of a 1k gold does not work #16

Open
Tony931023 opened this issue May 20, 2022 · 0 comments
Open

Cost of a 1k gold does not work #16

Tony931023 opened this issue May 20, 2022 · 0 comments

Comments

@Tony931023
Copy link

if a guildmaster is going to buy the house even though he doesn't have the required money (1k gold) it is sold, since the only thing the module does is modify the money (player->ModifyMoney(-10000000);) and it doesn't check the existing amount of the player.

There is also the possibility of a bug with the increase in money, I buy the area with 0 money and sell it for 500 gold, I trade it to another pj and do the same operation.

The ideal would be to check the existing money in the bank of the brotherhood if it is equal to 1k buy, and when selling the same as the money, go to the bank of the brotherhood

@acidmanifesto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant