Jump to content
  • 0

understanding mob_skill_db -- SUMMONSLAVE skill


Question

Posted (edited)

Hi rA, just needing help understanding how it works.. I wanted to fix some mini boss to not spawn slaves with exp bonus and drops from second summon forward like MvPs

 

e.g

1310,Majoruros@NPC_SUMMONSLAVE,idle,196,2,10000,2000,60000,no,self,slavele,0,1149,,,,,,
1310,Majoruros@NPC_SUMMONSLAVE,idle,196,2,10000,2000,60000,no,self,slavele,0,1461,,,,,,


 

what i did is i replaced the second one from mob ID 1149 to it's counterpart 1461 with no exp and drops but it didn't work. Any help would be suggested. Thank you!

Edited by mizuki04

3 answers to this question

Recommended Posts

  • 0
Posted

In this example you put the two lines to be called when "idle", so only the first one will be used (default behavior).
Mvps use "onspawn" to summon only once mobs that should drop/give exp, so that's what you may want to use.

 

  • 0
Posted
7 hours ago, mizuki04 said:

Hi rA, just needing help understanding how it works.. I wanted to fix some mini boss to not spawn slaves with exp bonus and drops from second summon forward like MvPs

e.g

1310,Majoruros@NPC_SUMMONSLAVE,idle,196,2,10000,2000,60000,no,self,slavele,0,1149,,,,,,
1310,Majoruros@NPC_SUMMONSLAVE,idle,196,2,10000,2000,60000,no,self,slavele,0,1461,,,,,,

what i did is i replaced the second one from mob ID 1149 to it's counterpart 1461 with no exp and drops but it didn't work. Any help would be suggested. Thank you!

Heya,

The last line is correct and should work as you want. Did you perhaps keep both lines? If so, when the mob goes through its skills it will execute them in order and since the first line has a 100% chance, it will always spawn the 1149 mobs. You have to comment it out or remove it. Otherwise, it could be a matter of not having reloaded your mob skills properly via @reloadmobdb (or a server restart I guess). Besides that, I do not see what could be the problem.

  • 0
Posted

Thank you so much for all your help, i have understood it now with your explanation. I will have to go with onspawn for the slaves with bonus and slavele when idle for the non bonus mobs

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...