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

Lua Making two types of magic skill, how can I do it?

FilipeJF

New Member
Joined
Jan 9, 2012
Messages
124
Reaction score
4
How could I do to, depending on the magic that I use to train "fist fight".
The problem is that, when the magic spends her mana her increases magic level, and I would like to make 2 different types of magic, and one of it I want makes increases fist fight, for example.
 
This would most likely require source edits on player.cpp or somewhere similar. I took a look through the code, it seems like you could easily add in some new code to change how skills work.
 
Well, I get it with:

doPlayerAddSkillTry(cid, SKILL_FISH, 1)


But, now, I want know: how can I disable the Magic Level into the sources? I don't need it anymore.
 
Back
Top