• 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++ [TFS 1.3] - How to Get When a Monster use Melee Attack (Basic Attack) and When the Monster uses Spell in Monster.xml in Tag <attacks> from C++Source?

Yan18

Member
Joined
Jun 14, 2014
Messages
104
Solutions
3
Reaction score
17
Hi Guys,

As the title says, how can I get in the source when a monster uses melee attack (Basic Attack) and when the monster uses a Spell attack contained in tag <attacks> in the Monster.xml ?
 
Solution
This is where the monsters use their attacks/spells
Thanks, but isn't it what I want to know. I figured out where spell name is read:

forgottenserver/monsters.cpp at b811fe6b5b9d24a9807120ce62983cf5d258ac68 · otland/forgottenserver (https://github.com/otland/forgottenserver/blob/b811fe6b5b9d24a9807120ce62983cf5d258ac68/src/monsters.cpp#L116)

But, thank you ☺️
 
Solution
Back
Top