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

Max Combats

Hindori

New Member
Joined
Jan 24, 2009
Messages
157
Reaction score
2
Hello!
I'm using tfs 0.3.6pl1 and I need to add some new COMBATS. But I don't know how to change max COMBAT number becouse now it is 15 but i need about 20 COMBATS so I need to change this barrier.
Can anyone help me?
 
Sorry for next post but i really need it. If u don't know what I mean look at this:
COMBAT_FIRST = 0,
COMBAT_NONE = COMBAT_FIRST,
COMBAT_PHYSICALDAMAGE = 1 << 0,
COMBAT_ELECTRICDAMAGE = 1 << 1,
COMBAT_EARTHDAMAGE = 1 << 2,
COMBAT_FIREDAMAGE = 1 << 3,
COMBAT_UNDEFINEDDAMAGE = 1 << 4,
COMBAT_LIFEDRAIN = 1 << 5,
COMBAT_MANADRAIN = 1 << 6,
COMBAT_HEALING = 1 << 7,
COMBAT_DROWNDAMAGE = 1 << 8,
COMBAT_ICEDAMAGE = 1 << 9,
COMBAT_WATERDAMAGE = 1 << 10,
COMBAT_GRASSDAMAGE = 1 << 11,
COMBAT_NORMALDAMAGE = 1 << 12,
COMBAT_FIGHTDAMAGE = 1 << 13,
COMBAT_POISONDAMAGE = 1 << 14,
COMBAT_LAST = COMBAT_POISONDAMAGE

NOW is good and server run ok but if I add next like :
COMBAT_FIRST = 0,
COMBAT_NONE = COMBAT_FIRST,
COMBAT_PHYSICALDAMAGE = 1 << 0,
COMBAT_ELECTRICDAMAGE = 1 << 1,
COMBAT_EARTHDAMAGE = 1 << 2,
COMBAT_FIREDAMAGE = 1 << 3,
COMBAT_UNDEFINEDDAMAGE = 1 << 4,
COMBAT_LIFEDRAIN = 1 << 5,
COMBAT_MANADRAIN = 1 << 6,
COMBAT_HEALING = 1 << 7,
COMBAT_DROWNDAMAGE = 1 << 8,
COMBAT_ICEDAMAGE = 1 << 9,
COMBAT_WATERDAMAGE = 1 << 10,
COMBAT_GRASSDAMAGE = 1 << 11,
COMBAT_NORMALDAMAGE = 1 << 12,
COMBAT_FIGHTDAMAGE = 1 << 13,
COMBAT_POISONDAMAGE = 1 << 14,
COMBAT_FLYDAMAGE = 1 << 15,
COMBAT_LAST = COMBAT_FLYDAMAGE

I don't have any errors when i rebuild server but when i run it when it reloading items server and console exit with any error and other attention.
 
Back
Top