Upgrade

Call the methods below if your game contains upgrading contents for character or equipment.

Upgrade Character

Upgrade Character Statistics

  • Call ChangeStat method when a character’s ability statistics change due to level up or character upgrade.

    ChangeStat

    player_uuid

    { player_uuid }

    { player_uuid }

    { player_uuid }

    character_uuid

    { Kylie uuid }

    { Kylie uuid }

    { Kylie uuid }

    stat_slug*

    { HP }

    { attack speed }

    { attack speed }

    stat_to

    12950

    5478

    1900

    stat_from

    12752

    5394

    1870

Level Up Character

  • Call LevelUpCharacter and Use{ Object type } methods when an Object is used to level up a character.
    The example below calls UseConsumable method in case when a Consumable item is used to level up.

    UseConsumable

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    item_slug

    { great potion of experience }

    item_quantity

    1

    where_to_entity

    entity.LevelUpCharacter

    where_to_category_slug

    { level }

    where_to_slug

    { level }

    LevelUpCharacter

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    level_to*

    2

    level_from

    1

Upgrade Character

Call UseCurrency, UseMaterial, and ChangeCustomAbility methods when a character is upgraded.

  • Call UseCurrency method when currency is needed to upgrade character.

    UseCurrency

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    currency_slug

    { gold }

    currency_quantity

    10800

    currency_total_quantity

    99999

    where_to_entity

    entity.ChangeCustomeAbility

    where_to_category_slug

    { next level }

    where_to_slug

    { next level }

  • Call UseMaterial method when Material is used to upgrade character.

    UseMaterial

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    item_slug

    { Kylie’s anima }

    item_quantity

    30

    where_to_entity

    entity.ChangeCustomeAbility

    where_to_category_slug

    { next level }

    where_to_slug

    { next level }

  • Call ChangeCustomAbility when a character is upgraded.

    ChangeCustomAbility

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    custom_ability_slug

    { next level }

    custom_ability_category_slug

    { next level }

    custom_ability_to

    1

    custom_ability_from

    0

Upgrade Character Job Class

  • Call ChangeCharacterArchetype method when a character’s job class or original form changes.

    ChangeCharacterArchetype

    player_uuid

    { player_uuid }

    character_uuid

    { character_uuid }

    characterarchetype_to_slug*

    { sword man }

    characterarchetype_from_slug

    { knight }

Upgrade Skill

Call UseCurrency and LevelUpSkill method when currency is paid to level up skills..

  • Call UseCurrency method when currency is paid to level up skills.

    UseCurrency

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    currency_slug

    { gold }

    currency_quantity

    10000

    currency_total_quantity

    99999

    where_to_entity

    entity.LevelUpSkill

    where_to_category_slug

    { movement skill }

    where_to_slug

    { movement skill }

  • Call LevelUpSkill method when a skill levels up.

    LevelUpSkill

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    skill_slug

    { movement skill }

    skill_category_slug

    { movement skill }

    skill_level_to

    2

    skill_level_from

    1

Upgrade Equipment

Call the methods below when currency or material is used to upgrade equipment.

  • Call UseCurrency method when a currency is paid to upgrade equipment.

    UseCurrency

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    currency_slug

    { gold }

    currency_quantity

    10800

    currency_total_quantity

    99999

    where_to_entity

    entity.ChangeCustomAbility

    where_to_category_slug

    { upgrade }

    where_to_slug

    { sword of ancient goddess }

  • Call UseMaterial method when a material is used to upgrade equipment.Even if the Object used to upgrade an Equipment is also an Equipment itself, UseMaterial must be called when an Equipment is used to upgrade another Equipment.

    UseMaterial

    player_uuid

    { player_uuid }

    { player_uuid }

    { player_uuid }

    character_uuid

    { Kylie uuid }

    { Kylie uuid }

    { Kylie uuid }

    item_slug

    { 2 star water sword }

    { 2 star knights sword }

    { 2 star knowledge of water }

    item_quantity

    1

    1

    1

    where_to_entity

    entity.ChangeCustomAbility

    entity.ChangeCustomAbility

    entity.ChangeCustomAbility

    where_to_category_slug

    { upgrade }

    { upgrade }

    { upgrade }

    where_to_slug

    { 3 star ultimate water sword }

    { 3 star ultimate water sword }

    { 3 star ultimate water sword }

  • Call LevelUpEquipment method to record the result of Equipment upgrade.

    LevelUpEquipment

    player_uuid

    { player_uuid }

    character_uuid

    { Kylie uuid }

    item_slug

    { 3 star ultimate water sword }

    item_level_to

    1

    item_level_from

    12