• 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!

[C++] Change HitColor

perdigs

New Member
Joined
Aug 22, 2010
Messages
114
Reaction score
1
In c++ i need to change a hitcolor with undefined damage.
This damage dont show a color of a hit only send the damage on the creature...
plz help
 
Look at the examples ex. Bloodtype or else and write that (analogy) as Undefinded damage...
or make new type of damage.
 
I make new types but the undefined dont have a specific line to change have a great script...
for all exception...i need a help to change the lines to appear a hit color.
 
I think you can change the color en game.cpp, try find lines like:

[cpp]
case COMBAT_ENERGYDAMAGE:
{
textColor = COLOR_PURPLE;
magicEffect = MAGIC_EFFECT_ENERGY_DAMAGE;
break;
}
[/cpp]
 
Back
Top