PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
38 stars 8 forks source link

Prevent players from abusing the extra health and armor in CATCH #221

Closed kai-li-wop closed 1 month ago

kai-li-wop commented 8 months ago

A problem for the balancing in the CATCH game mode could be that the player who has picked up the killer duck can recharge health and armor too easily by simply throwing the killer duck directly at his own feet and then picking it up again straight away. To prevent this, a lockout timer should be integrated that blocks this feature if the same player picks up the killer duck again within 5(?) seconds. The timer should be reset to the lock time with each pick-up. The lock time should not be active when a carrier change takes place, so the new owner gains full health and armor again one time.

kai-li-wop commented 2 months ago

Probably a better solution would be to completely forbid that the player can pick the killerduck directly after he lost it. So someone else needs to hold and lose it before he can pick it up again. Then we don't need to implement a timer, just a flag who was the last carrier.

mgerhardy commented 1 month ago

This is now implemented for the player and the bots (they couldn't drop the killerducks until now, because they instantly recollected them - even though they are never dropping them anyway)

kai-li-wop commented 1 month ago

@mgerhardy: Looks good to me. Not sure about the set time limit, but we will wait for the feedback of the players if adjustments are necessary here. Maybe an info message would be useful, if a player wants to collect it directly after he dropped it. "You can't pick up the KillerDuck for a while!"

For example, there is also a message in syc ffa when you try to collect your own cartridge, which is not possible. "You can't grab your own cartridge!"