Closed pineappledan closed 6 years ago
Awesome! But need to be fixed. I will check that.
I cannot reproduce that. I modified lua, but then it turned out that iDefenderDamage was not unit damage, but city damage, so code doeas not progress until city is destroyed. Can you confirm that? @pineappledan ?
And I found another bug: If you conquer the city there's small chance to create worker :P
Fixed, now cannot create worker when capturing the city, even if there is garrisoned unit in it. You can only get workers from loose units around cities.
I inadvertently broke my SDK, and it would take too long for me to set up this scenario in an actual game :(
I made a Github update. If you will be able to test that, then tell me. It is some time until v32 will be pushed.
yeah we need to wait for a new VP version anyways
Right.
If the last hit that kills a garrisoned unit is made by an eagle, it has a chance to convert that unit into a worker inside the city. Since the worker is occupying the tile of the city, the city is conquered and flips to the attacker as well. So an eagle can conquer a city just by killing the garrison.