• 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++ Cast spell function for TFS 1.2?

Yuggi

Member
Joined
May 18, 2017
Messages
64
Reaction score
10
Hello, I was wondering how I could add a function like doPlayerCastSpell(cid, "exevo gran mas vis") for the current tfs version.

I did find a old version for this but it did not work to implement into the current tfs version of tfs. Lua Function - doPlayerCastSpell(cid, spell) It's located here if someone could update it.

I also saw that this was added as an enhancment in the forgottenserver Cast Spell function · Issue #1047 · otland/forgottenserver · GitHub for a long time ago, so it would be great if someone could implement it.

I do know that I could just recreate spells in the scripts that should use this function but I would much rather have such a function like "Creature:castSpell("exura")"
 
Back
Top