Closed pineappledan closed 6 years ago
You can just test it to confirm.
I checked table UniPromotion_UnitCombats and Prize Ships is not mentioned there. So it will be given to any unit produced in city with tersane even if it is broken on them. Lua is needed and you need to revert changes made o sql I think.
No, no. You need to check if putting a combat into the table will prevent this promo for being granted to other combats than the ones mentioned in the table. If yes then lua is not needed, if no then it is needed.
But first we need to check if putting this combat into table is not interering with current VP protmotion usage. I wanted to avoid changing that table.
Shouldn’t be a problem. The only other unit that has prize ships is the sea beggar, also navalmelee.
I’ll test it tonight though
I tested this, and I was not able to get prize ships to be placed on naval melee units with SQL.
I reverted my changes
Tersane has a lua to give Prize Ships promotion to melee naval units trained in city. This can be done with 'TrainedFreePromotion' in sql. I have added to sql now, just want to verify that lua can be deleted.
Prize ship promotion can only be applied to UNITCOMBAT_NAVALMELEE, so there is no issue with applying directly to building.
is there any reason to keep the lua or can it be safely deleted?