Based off the original Melee Dare plugin
here, the goal of this plugin is to allow two players to have a melee duel with each other without being killed by an enemy teammate by way of making them invulnerable from all but their dueling partner.
As in the melee dare plugin, the conditions for which constitute a melee duel are that both players have their melee weapons out, are looking at each other, and are not spies. During the course of a melee duel, if either party changes away from their melee weapon, the duel is automatically ended for both and the immunity effects are removed.
Version Log:
- v1.2.2: Fixed a bug with OnTakeDamage giving something other than a client for attacker
- v1.2.1: Fixed a bug in servers with a large amount of people.
- v1.2: Added textures above duelers' heads to indicate who to hit. Added Csay text when a duel starts/ends.
- v1.1: Added colors.inc to make the messages a bit more noticeable.
- v1.0: Initial release.
Todo list (help of any sort is greatly appreciated):
- Hook damage done to buildings to protect them from dueling persons (possible game-breaker, play testing needed)
- Disable medics from healing/ubering those in a duel
Requirements: