SkillUpgraded
Introduction
Backend Name:
skill_upgraded
Description: The player upgraded one of their character’s skills.
Event Type:
Game
Priority:
P3
Parameters
Name | Type | Select | Backend name | Description |
---|---|---|---|---|
additionalData | Dictionary |
Optional | additional_data | Any additional information |
currentSkillLevel | int | Required | current_skill_level | The current skill level before the upgrade. |
newSkillLevel | int | Required | new_skill_level | The new skill level after the upgrade. |
skillID | string | Required | skill_id | The internal ID of the skill being used |
skillName | string | Required | skill_name | Name of the skill being used e.g. Fireball, Big Swing |
Code example:
LionAnalytics.SkillUpgraded(10, 11, "punch_power_10", "punch_power");
Note:
Do not batch multiple in the same event. Multiple upgrades should fire multiple events.