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

COMBAT_ENERGYDAMAGE magic effect. How I can change this?

Permamently

New Member
Joined
Jul 23, 2015
Messages
34
Reaction score
3
Hello, how I can change magic effect for ENERGYDAMAGE? REP+ for help. I sit on it two days.. :(
 
@Printer I change this already, I mean I change in CONST.h

THIS:
MAGIC_EFFECT_ENERGY_DAMAGE = 0x0B, //11
FOR:
MAGIC_EFFECT_ENERGY_DAMAGE = 0x0B, //69
Because in my tibia.dat "70" is empty field.
(-1 rule like 70-1=69)
In game.cpp my file looks like this:
case COMBAT_ENERGYDAMAGE:
{
textColor = TEXTCOLOR_PURPLE;
magicEffect = MAGIC_EFFECT_ENERGY_DAMAGE;
break;
}
And it's not working :(

Using TFS 0.3.6, 8.54 from here:
https://otland.net/threads/8-54-the-forgotten-server-0-3-6pl1-crying-damson.59924/
 
Last edited:
@Printer
I did it already, same it's don't show damage :/

#edit
it looks like this:

case COMBAT_ENERGYDAMAGE:
{
textColor = TEXTCOLOR_PURPLE;
magicEffect = MAGIC_EFFECT_NONE;
break;
}
 
Back
Top