Jump to content
  • 0

How to disable Heal and Teleport on monsters?


jersak

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/26/13
  • Last Seen:  

Hello,

I would like to know how can i disable certain skills used by monsters? Mores specifically, i don't want MVPs to cast heal and teleport.

 

What file do i have to edit and does it need a re-compile after that?

 

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

Please try this, as my example I use monster "creamy" because we all know that creamy has a teleportation skill.

 

now this is line is from rathena/trunk/db/re/mob_skill_db.txt

 

As you can see the code below the number 26 is the skill id of teleportation skill, then the other number is the skill level.

1018,Creamy@AL_TELEPORT,attack,26,1,500,0,5000,yes,self,myhpltmaxrate,30,,,,,,,

To disable:

1018,Creamy@AL_TELEPORT,attack,0,0,500,0,5000,yes,self,myhpltmaxrate,30,,,,,,,

See the Difference?

 

You can also use the "mapflag".

mapname<tab>mapflag<tab>monster_noteleport

Just Do restart your entire server to make changes. No need to recompile due to recompiling is just for SRC editing (Custom Map Also).

Edited by Microsoft
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

why not just simply remove that instead of edit the value 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...