• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

OTClient Where is color damage located?

Tbol

Well-Known Member
Joined
Apr 7, 2019
Messages
625
Reaction score
71
Where is spell damage located for example energydamage in otclient? Would like to change its color, but cant find it
 
Where is spell damage located for example energydamage in otclient? Would like to change its color, but cant find it
You don't change it in OTC, it is located in game engine.

If you use TFS search here:

game.cpp

C++:
        case COMBAT_ENERGYDAMAGE: {
            color = TEXTCOLOR_ELECTRICPURPLE;
            effect = CONST_ME_ENERGYHIT;
            break;
        }

and const.h to change exact tint

C++:
enum TextColor_t : uint8_t {
    TEXTCOLOR_BLUE = 5,
    TEXTCOLOR_LIGHTGREEN = 30,
    TEXTCOLOR_LIGHTBLUE = 35,
    TEXTCOLOR_VERYDARKRED = 72,
    TEXTCOLOR_DARKGREY = 86,
    TEXTCOLOR_MAYABLUE = 95,
    TEXTCOLOR_DARKRED = 108,
    TEXTCOLOR_DARKBROWN = 121,
    TEXTCOLOR_LIGHTGREY = 129,
    TEXTCOLOR_SKYBLUE = 143,
    TEXTCOLOR_PURPLE = 154,
    TEXTCOLOR_ELECTRICPURPLE = 155,
    TEXTCOLOR_VERYLIGHTGREEN = 178,
    TEXTCOLOR_RED = 180,
    TEXTCOLOR_PASTELRED = 194,
    TEXTCOLOR_ORANGE = 198,
    TEXTCOLOR_VERYLIGHTSANDY = 208,
    TEXTCOLOR_YELLOW = 210,
    TEXTCOLOR_WHITE_EXP = 215,
    TEXTCOLOR_NONE = 255,
};
 
Back
Top