I would like to track the equipment and skills the player use in the pvp battle. However, we have many equipment and abilities per player. So I guess the event will look like this:
Event name: match_end Parameters: game_mode, ability1, ability2, ability3, ability4, equipment1, equipment2, equipment3, equipment4, equipment5, equipment6, match_result, match_duration, gold_earn, character_use, score_earn
Is this a correct approach? Does Playfab support array or JSON data type in parameters?
If the player has many types of equipment (up to 10) and ability (up to 8 ), may reach the limit of parameters per event?
Or should I use the follow approach:
Event name: match_end
Parameters: game_mode, match result, match_duration, score_earn, gold_earn
Event name: ability_use_in_pvp_match
Parameters: game_mode, ability1, ability2, ability 3, etc.
Event name: equipment_use_in_pvp_match
Parameters: game_mode, equipment1, equipment2, etc.
One more question: Is it possible to use those custom events as rules or segment for game operation purpose? Ex: If a player has the win rate < 30%, auto send them a special offer. Or I want to send the special offers to all users who use character X > 50% of their matches.
Thanks,
Anh