forked from TerraTeddy95/cClass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVariables.cs
82 lines (71 loc) · 2.96 KB
/
Variables.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Terraria;
using TShockAPI;
using TerrariaApi.Server;
namespace cClass
{
public class Variables
{
public static string Message1 = "[cClass] Your skill has been upgraded!";
public static string Message2 = "[cClass] You can't develop this skill more!";
public static string Message3 = "[cClass] You don't have enough stat points!";
public static string levelUp = "[%level%] Level Up!";
public static int Chance = 7;
public static string levelCommand = "[%level%] %exp%/%neededexp% %percent%";
public static string startClass = "warrior";
public static Dictionary<int, bool> blockedNPCs = new Dictionary<int, bool>();
public static Dictionary<string, Variables.informations> playersData = new Dictionary<string, Variables.informations>();
public class informations
{
public string ActualClass = "warrior";
public Warrior Warrior = new Warrior() { };
public Paladin Paladin = new Paladin() { };
public Wizard Wizard = new Wizard() { };
}
public class Warrior
{
public List<int> itemsBarNetID = new List<int>();
public List<int> itemsBarPrefix = new List<int>();
public List<int> itemsBarStack = new List<int>();
public List<int> itemsArmorNetID = new List<int>();
public List<int> itemsArmorPrefix = new List<int>();
public int level = 1;
public int exprience = 0;
public int statsPoints = 0;
public int statMeleeDamage = 0;
public int statRangedDamage = 0;
public int statMagicDamage = 0;
}
public class Paladin
{
public List<int> itemsBarNetID = new List<int>();
public List<int> itemsBarPrefix = new List<int>();
public List<int> itemsBarStack = new List<int>();
public List<int> itemsArmorNetID = new List<int>();
public List<int> itemsArmorPrefix = new List<int>();
public int level = 1;
public int exprience = 0;
public int statsPoints = 0;
public int statMeleeDamage = 0;
public int statRangedDamage = 0;
public int statMagicDamage = 0;
}
public class Wizard
{
public List<int> itemsBarNetID = new List<int>();
public List<int> itemsBarPrefix = new List<int>();
public List<int> itemsBarStack = new List<int>();
public List<int> itemsArmorNetID = new List<int>();
public List<int> itemsArmorPrefix = new List<int>();
public int level = 1;
public int exprience = 0;
public int statsPoints = 0;
public int statMeleeDamage = 0;
public int statRangedDamage = 0;
public int statMagicDamage = 0;
}
}
}