Hello, OTServ Depelovers
I need some help in something,
I need to make a new COMBAT. But it needs a CONDITION too. That is not the problem for me. I need to make a new ICON for the CONDITION that the COMBAT may do.
In Const.h
Ignoring enum Skulls_t
First i thought that from left to right i will multiply each slot times 2.
But the arrangement is different from the client itself
in the Client
They are arranged like this { Left to Right}
POISON
BURN
ENERGY
SWORDS
DRUNK
MANASHIELD
HASTE
PARALYZE
IGNORING SKULLS {From Up to down now}
DROWNING
FREEZING
DAZZLING
CURRSED
Please, If anyone could tell me, On what basis are the icons of the conditions are arranged. this will be much appreciated !
I need some help in something,
I need to make a new COMBAT. But it needs a CONDITION too. That is not the problem for me. I need to make a new ICON for the CONDITION that the COMBAT may do.
In Const.h
Code:
enum Icons_t
{
ICON_POISON = 1,
ICON_BURN = 2,
ICON_ENERGY = 4,
ICON_DRUNK = 8,
ICON_MANASHIELD = 16,
ICON_PARALYZE = 32,
ICON_HASTE = 64,
ICON_SWORDS = 128,
ICON_DROWNING = 256,
ICON_FREEZING = 512,
ICON_DAZZLED = 1024,
ICON_CURSED = 2048
};
Code:
{
SKULL_NONE = 0,
SKULL_YELLOW = 1,
SKULL_GREEN = 2,
SKULL_WHITE = 3,
SKULL_RED = 4
};
But the arrangement is different from the client itself
in the Client
They are arranged like this { Left to Right}
POISON
BURN
ENERGY
SWORDS
DRUNK
MANASHIELD
HASTE
PARALYZE
IGNORING SKULLS {From Up to down now}
DROWNING
FREEZING
DAZZLING
CURRSED
Please, If anyone could tell me, On what basis are the icons of the conditions are arranged. this will be much appreciated !