Jump to content

@killmonster


Moriarty

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Make killmonster attach your id to the monsters you kill.

Why?

I think that it would be usefull, cause everytime I'm testing a new event with monsters, I have to kill it with my char, it takes time and it's really boring haha

I don't see any disadvantage

Link to comment
Share on other sites


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

@killmonster already attaches your RID if you've done any damage on the monster.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Is it possible to make it attach even not making any damage on the monster?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

you can but you'll need src edit to do so.

1) take charid as parameter on killmonter atcommand.

2) resolve to bl and transmit it to atkillmonster_sub (as second va_list arg is fine)

3) change status_kill wich have null as src to status_percent_damage() with the transmitted bl as src.

This should do it : http://upaste.me/625a5141e5139904 [untested]

Link to comment
Share on other sites

×
×
  • Create New...