adaneslavo / More-Unique-Components-for-VP

Adds 3rd and 4th unique component to each civilization.
1 stars 6 forks source link

Aztec Eagle - Can capture cities by converting garrisons #142

Closed pineappledan closed 6 years ago

pineappledan commented 6 years ago

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.

adaneslavo commented 6 years ago

Awesome! But need to be fixed. I will check that.

adaneslavo commented 6 years ago

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

adaneslavo commented 6 years ago

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.

pineappledan commented 6 years ago

I inadvertently broke my SDK, and it would take too long for me to set up this scenario in an actual game :(

adaneslavo commented 6 years ago

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.

pineappledan commented 6 years ago

yeah we need to wait for a new VP version anyways

adaneslavo commented 6 years ago

Right.