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

[C++] when taking damage, the skill fishing increases

diarmaint

New Member
Joined
Oct 6, 2012
Messages
26
Reaction score
0
Hello, do i need to make changes to my source tfs 0.4
I managed to insert a modification in my source that, by increasing the level of fishing skill, blocks a percentage of the damage received from spells, now I need any of these types of damage that the player takes
C++:
COMBAT_ENERGYDAMAGE = 2
COMBAT_EARTHDAMAGE = 4
COMBAT_POISONDAMAGE = 4
COMBAT_FIREDAMAGE = 8
COMBAT_ICEDAMAGE = 512
COMBAT_HOLYDAMAGE = 1024
COMBAT_DEATHDAMAGE = 2048
The SKILL_FISHING increases in level
 
Back
Top