- Joined
- Nov 20, 2019
- Messages
- 367
- Points
- 103
Reputation:
Ok let me explain the bug.
if you use the steal function with just one credit even though you set the penalty to anything under 100% you can steal indefinitely without penalty.
so you can just spam the steal function and steal every scrip thats not banked.
i want to set the minimum credits in hand to something that would make it dangerous to steal or create a disincentive to steal.
Any suggestions??
I got this code from a post here but dont know how to implement it any ideas?
https://www.dragonbyte-tech.com/threads/make-steal-penalty-also-withdraw-from-bank.23753/
if you use the steal function with just one credit even though you set the penalty to anything under 100% you can steal indefinitely without penalty.
so you can just spam the steal function and steal every scrip thats not banked.
i want to set the minimum credits in hand to something that would make it dangerous to steal or create a disincentive to steal.
Any suggestions??
I got this code from a post here but dont know how to implement it any ideas?
https://www.dragonbyte-tech.com/threads/make-steal-penalty-also-withdraw-from-bank.23753/
Code:
return ($this->can_steal && ( \XF::eek:ptions()->dbtech_shop_steal_lose == 0 || $this->getValueFromUser(null, false) > 200.00 ) );
Last edited: