Jump to content
  • 0

monster level


patna

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/06/12
  • Last Seen:  

I need check the monster level is dead.

for example

4205,Mimic_Card,Mimic Card,6,20,,10,,,,,,,,136,,,,,{ if(moblvl<60) bonus2 { bAddMonsterDropItem,603,900; }else{ bAddMonsterDropItem,603,500; } },{},{}

i need help thank.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

strmobinfo(3,killedrid)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/06/12
  • Last Seen:  

nice thank you very much

4205,Mimic_Card,Mimic Card,6,20,,10,,,,,,,,136,,,,,{ if(strmobinfo(3,killedrid)==1)bonus2 bAddMonsterDropItem,603,10000;},{},{}

I have tried the command line but it seem to keep the only first kill result. for example. if have set "obb" to drop from killing lvl 1monster.

if i have killed the lvl 1 first. " obb" will drop from the different lvl monster too. but on the opposite.

if i did't kill lvl1 monster (ex lvl17 monster) all next monster (even they are lvl 1) they will not drop "obb"

Link to comment
Share on other sites


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

how about do like this ??

add a npc script...?

OnNPCKillEvent:
if( getmonsterinfo( killedrid,1 ) == 1 && rand(100) < 10 )
getitem 603,1;
end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/06/12
  • Last Seen:  

how about do like this ??

add a npc script...?

OnNPCKillEvent:
if( getmonsterinfo( killedrid,1 ) == 1 && rand(100) < 10 )
getitem 603,1;
end;

like++

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...