New NPC: Fight Organizer
Location of the npc: arena.
The goal of the fight organizer is automating pvp events, just like the treasure chests automated the summon events. When you talk to it, you enter an event selection screen which allows you to enter these parameters:
- Team member quantity (min 1, max 5, remember there can only be 2 teams fighting, not more, not less)
- Allow activations: this would include xelima and merien items, medusa and ice swords, sword of heavens (yes - no)
- Allow protective magic: this would include invisibility, defense shield, gds, pfa, pfm, amp (yes - no)
- Allow enemy kill increase (yes - no, remember this has nothing to do with the team composition, you can fight same town members and you won't get ek even if they appear as enemies during the event)
- Allow a time limit (yes - no, add a prompt if yes)
When all of the parameters are introduced, the participants receive a summon request just like the teleports, but they are asked to teleport to Arena (message box should have a different color to prevent confusion)
When each member arrives to to the arena, they get a brief with the selected choices, like the news when you log in. They can review them anytime by clicking on the fight organizer and selecting the option.
If all the participants are in the arena, the organizing player can start the event (a 5 sec countdown will start) or they can summon the remaining ones. After the event finishes, all players will be automatically recalled after 1 minute (to allow for victory screenshots of course).
Oh I forgot, there should be a matrix-styled chart in which you type each team's participant name. Teams can't have a different number of members.