Moriarty Posted December 31, 2012 Posted December 31, 2012 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
Euphy Posted December 31, 2012 Posted December 31, 2012 @killmonster already attaches your RID if you've done any damage on the monster.
Moriarty Posted December 31, 2012 Author Posted December 31, 2012 Is it possible to make it attach even not making any damage on the monster?
Lighta Posted December 31, 2012 Posted December 31, 2012 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]
Recommended Posts