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

colors

dualshock3

New Member
Joined
May 14, 2010
Messages
89
Reaction score
3
while am using mana shield and some monsters attacks me when they deal damage to me i lose mana, and the effect is 1 but the numbers?
i want to know hot to change the color of the numbers while you heal your hp and when you lose mp while mana shield
 
Assuming you're using TFS 0.3.6pl1, these are the sources:
[forgottenserver] Index of /tags/0.3.6pl1

To change color of damage while player has manashield, you need to edit game.cpp in bool Game::combatChangeHealth
@~line 4242
Code:
					addAnimatedText(list, targetPos, [B][COLOR="Red"]TEXTCOLOR_BLUE[/COLOR][/B], buffer);
Healing color is at line 4205
Code:
			addAnimatedText(list, targetPos, [B][COLOR="Red"]TEXTCOLOR_GREEN[/COLOR][/B], buffer);
 
Back
Top