adaneslavo / More-Unique-Components-for-VP

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

Lua for Huns #46

Closed theazuresoul closed 6 years ago

theazuresoul commented 6 years ago

Huns Tarkhan - new migration promotion (+1 movement to workers and settlers that begin turn stacked with tarkhan. lua exists, but need to edit it and check if it works Tarkhan - new "Bellum Alet" promotion. basically a reverse of blue ghost's garland mine that heals friendly units on pillage instead of hurting enemy units. Can copy and modify BG's code to make it. Alti-Cur - yields from city state tribute. need a lua to trigger bonus yields on tribute demands Alti-Cur - Golden Age on Civ successful demand. need a lua to trigger golden age when you successfully demand something from a major civ

pineappledan commented 6 years ago

I just finished modifying Tarkhan Migration and Bellum Alet lua. I used JFD's migration code from a similar unit, and Blue Ghost's code for Garland mine and adapted them for use there. I am almost 100% certain I didn't do it right (I have not idea how to do lua); someone please go through my work and fix it?

The garland mine uses plotiterator

Infixo commented 6 years ago

Tarkhan is ok.

pineappledan commented 6 years ago

still need Alti Cur lua

Infixo commented 6 years ago

Then I would suggest another effect because AI will NOT use that feature, for sure.

pineappledan commented 6 years ago

The tribute or the demand from other major civs? I’ve seen the AI do both, in fact, I would guess the AI would have an easier time triggering GAs than the player, because the AI seems more likely to roll over vs other AIs.

Infixo commented 6 years ago

AI will not perform any tribute nor demand because of having AltiCur. It will perform them just as usual, not considering AltiCur. This Unique is only for humans to properly use. Same case as InDuna (#49). Experienced players will notice if AI is handicapped compared to humans, and it will be considered as balance-breaking or exploit. It’s better to come up with something more AI-friendly from the start.

pineappledan commented 6 years ago

Attila is already fairly aggressive and tributes frequently. We could adjust his flavours to get him to do it more often

pineappledan commented 6 years ago

Just checked, and Attila's flavor for bullying city-states is already 8/10, the same as Shaka's. There's no need to worry about Attila not using the Alti Cur benefits, because he is already the most aggressive civ in the entire game

pineappledan commented 6 years ago

minor tribute works. Infixo has updated dll to expand minor civ tribute to other yields, allowing for heavy tribute to trigger this. The Alti Cur should now work with future updates