Event log not including attackType for rangedMassAttack



  • I was trying to debug why my code was incorrectly handling rangedMassAttack by hostile creeps, and just recorded this log in a room:

    [{"event":1,"objectId":"5fee717da02332f70f4ad9b2","data":{"targetId":"5fee6d39091d6698f9dc2b0c","damage":60}},{"event":1,"objectId":"5fee717da02332f70f4ad9b2","data":{"targetId":"5fee70f22c15f314c4c5b581","damage":60}},{"event":10,"objectId":"5fee71d545cefeca948d1e84","data":{"room":"E42N44","x":27,"y":0}}]

    Note that creep -ad9b2 attacks twice, hitting two separate targets for 60 damage. This creep was attacking with a rangedMassAttack, however the event data does not include the attackType field specified in the documentation.



  • Is this on Sim, Private Server, Community server or the MMO?



  • MMO - Shard 2


  • Dev Team

    @pruby should be fixed now