StructureTower.attack() not able to attack PowerCreep or Structure
Closed this issue · 2 comments
WilhelmOks commented
The screeps docs say that a tower can attack one of the three: Creep, PowerCreep, Structure.
https://docs.screeps.com/api/#StructureTower.attack
In the kotlin types however, the attack() function can only take a Creep as parameter.
I see no workaround here to be able to attack power-creeps or structures.
WilhelmOks commented
Awesome work! Thanks.