RiftMayhem/Assets/Scripts/Game/GameConstants.cs
Pedro Gomes 8e18305573 Spells update
- shield wall (second knight ability) added
- ragestorm (ultimate barbarian ability) added
- anti projectile type of spell
- channeled ability type
- small balance changes on abilities and statpoints per level
2024-07-05 19:37:02 +01:00

71 lines
2.0 KiB
C#

public static class GameConstants
{
public static class PlayerPrefsKeys
{
#region PlayerPrefs Keys
public static string CharacterDataKey = "characterData";
public static string CharacterInventoryDataKey = "characterInventoryData";
public static string CharacterEquipmentDataKey = "characterEquipmentData";
public static string PlayerCoinKey = "playerCoin";
public static string GetCharacterDataKey(string characterName)
{
return CharacterDataKey + "-" + characterName;
}
public static string GetCharacterInventoryDataKey(string characterName)
{
return CharacterInventoryDataKey + "-" + characterName;
}
public static string GetCharacterEquipmentDataKey(string characterName)
{
return CharacterEquipmentDataKey + "-" + characterName;
}
public static string GetPlayerCoinKey(string playerName)
{
return PlayerCoinKey + "-" + playerName;
}
#endregion
}
public static class CharacterBalancing
{
public static int StatPointsPerLevel = 1;
}
public static class ObjectSources
{
#region Object Sources (example stat increase source)
public static object AllocatedSource = "Allocated";
public static object LevelSource = "Level";
#endregion
}
public static class NetworkEventCodes
{
#region Network Event Codes
public static byte JobSelection = 112;
public static byte CancelChangeLevelVoted = 114;
public static byte ChangeLevelVoted = 115;
public static byte LoadLevelStarting = 116;
#endregion
}
public static class NetworkPropertyKeys
{
public static string AvailableJobsKey = "availableJobs";
}
public static class Sizes
{
public static int TotalEquipmentSlots = 6;
public static int TotalInventorySlots = 18;
}
}