Jump to content
  • 0

Boss Kill


Snap

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Can anyone give me a script that when a boss has been slained / kill it will be announce together with his/her next spawn time? OR only the name of the boss that has been slained?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

- script BOSSKILL -1,{
OnNPCKillEvent:
setarray .BOSSID[0],1511,1647,1785,1630,1399,1039,1874,2068,1272,1719,1046,1389,1112,1115,1957,
1418,1871,1252,1768,1086,1688,1646,
    1373,1147,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,
1708,1312,1751,1685,1648,1917,1658;
for (set .@i, 0; .@i < getarraysize(.BOSSID) && killedrid!= .BOSSID[.@i]; set .@i, .@i + 1)
   if (killedrid == .BOSSID[.@i])
    set .@isboss, 1;

if (!.@isboss) end;
announce "Player " +strcharinfo(0) +" has killed "+getmonsterinfo(.BOSSID[.@i],0)+"!",0;
end;
}

try this since you are using eAthena 15087M :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Can anyone give me a script that when a boss has been slained / kill it will be announce together with his/her next spawn time? OR only the name of the boss that has been slained?

To also show the next respawn time, you would have to store the respawn time of every MVP in the npc script. Currently, there is no script command to get the next respawn time.

And by "boss", do you mean MVPs only ?

-	script	MVP_death_announce	-1,{
OnNPCKillEvent:
if (getmonsterinfo(killedrid,MOB_MVPEXP)) {
	announce getmonsterinfo(killedrid,MOB_NAME)+" has been killed by "+strcharinfo(0)+" on "+strcharinfo(3)+".", bc_blue|bc_all;
}
end;
}

* requires rAthena r15872 or later, for MOB_MVPEXP to work

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Doesn't work!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

It works for me. post-237-0-51862300-1336019887_thumb.png

Is your rAthena version older than r15872 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

I am using eAthena 15087M

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:  

then follow this 2 picture and edit your src file...then recompile ...

erm..not really sure with download the diff and apply using software...i was aware that might changed other thing of your eA file..since both are kinda different..

ajFk3.png

vdBcC.png

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

i dont see like that

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