How do you asign multiple enum's to one another.
Its been a number of years since I've worked with C++
example:
this is what i get as a result of this.
It doesn't change my magic level only my fists skills
Its been a number of years since I've worked with C++
example:
PHP:
enum skills_t
{
SKILL_FIRST = 0,
SKILL_FIST = SKILL_FIRST,
SKILL_CLUB = 1,
SKILL_SWORD = 2,
SKILL_AXE = 3,
SKILL_DIST = 4,
SKILL_SHIELD = 5,
SKILL_FISH = 6,
MAGLEVEL = 7,
LEVEL = 8,
SKILL_ALL = 9,
SKILL_ALL = SKILL_CLUB | SKILL_SWORD | SKILL_AXE | SKILL_DIST,
SKILL_LAST = SKILL_FISH
};
this is what i get as a result of this.
PHP:
18:48 You advanced in magic level [1].
18:48 You advanced in magic level [2].
18:48 You advanced in magic level [3].
18:48 You advanced in magic level [4].
18:48 You advanced in magic level [5].
18:48 You advanced in magic level [6].
It doesn't change my magic level only my fists skills