Surgery clinic works even if you can't afford to pay for it #331
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Several effects (such as nanos, surgery clinics, etc.) cost credits, however, if a player attempts to use them, the effect should check how much credits they have. If the player doesn't have enough credits to cover the cost, then the effect should fail.
To Reproduce
Steps to reproduce the behavior:
/set cash 0
/item 232822 232823 50
/get cash
- notice it's a negative number.Expected behavior
You shouldn't be able to use the surgery clinic unless you have the credits.
Any effect which hits credits should check that the player has the credits before taking effect.
There should be an absolute minimum of zero credits. It should be impossible for credits to be negative.
Confirmed, but appears to be isolated or related to the Surgery Clinic. I tested with Engineer pet creation nanos and they do correctly check the credit balance before casting and subtract the listed amount.
I confirmed the possibility of a negative credit balance also, which is possibly a separate issue.
Improvements have been made with recent patches. The Surgery Clinic is still usable with 0 credit balance, but the negative credit balance is no longer a problem. Selling a pearl to the shop as described returns the appropriate number of credits to the player, and no longer causes a negative balance.
Confirmed as still present as of 16/08/2024. Surgery clinic is usable even with 0 creds.
This should now be fixed
Can confirm that this is fixed and working as expected now :)
You can now only use the Stationary Automated Surgery Clinic if you have sufficient credits.