exaV/screeps-kotlin-types

StructureTower.attack() not able to attack PowerCreep or Structure

Closed this issue · 2 comments

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.

exaV commented

Fixed in 1.6.1 see a991360

Awesome work! Thanks.