Changes between Initial Version and Version 1 of Ticket #4142, comment 23


Ignore:
Timestamp:
Dec 30, 2016, 9:40:50 AM (7 years ago)
Author:
Sandarac

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4142, comment 23

    initial v1  
    33For the Map object in gameTypeManger, if I understand correctly, the map's keys would be hero IDs (not entities?), and the values would be objects holding garrisonEmergency and the heroes' current stances? i.e. on init: `this.heroes.set(heroEnt.id(), { "heroGarrisonEmergency": false, "stance": "aggressive" });` ?
    44
    5 This new patch includes the "healer guards" portion. The last three comments in comment:8 still hold for this patch, and so if the hero happens to be garrisoned when a new healer is spawned (or if the AccessValue is different), it cannot be added as a guard, so the counter increases but no new guards are assigned.
     5This new patch includes the "healer guards" portion. The last three comments in comment:13 still hold for this patch, and so if the hero happens to be garrisoned when a new healer is spawned (or if the AccessValue is different), it cannot be added as a guard, so the counter increases but no new guards are assigned.
    66
    77Also, there was an error in my previous patch. In the `for (let evt of events.Garrison)` loop in gameTypeManager, it did not check that the hero entity belonged to the AI player, so I fixed that.