I am developing a mobile rpg game.
i want to implement global-boss features like many other RPG games
i.e.
One boss is created per week, and the boss's health is shared by all players.
Whenever a player challenges a boss, he will face a monster with updated health.
so When the boss monster's health becomes 0 (by challenge of all players)
The rewards are given in the order of the user who did the most damage.
How do I implement the above function?
First of all, the boss monster's HP must be shared.
Photons that need realtime matching don't seem to be a suitable alternative.
Can PlayFab's shared group data be an alternative?
And when implementing the above process, for example when the boss monster's hp is 1
If two players challenge at the same time, duplicate results will occur.
(Two players who killed the monster)
How do I solve the this case?