Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
EitB 0009 Wishlist

I did briefly consider the computational cost, but all the units are iterated through at the start of turn for healing and buff removal (e.g. Haste and Searing Light) anyway, so it seemed likely insignificant. Now that I think of it, having the promotion on all units is a better implementation since a unit may get the promotion at start of turn and then move out of borders. There's another corner case though - if the city with Nox Noctis is taken, gifted, or razed, all units of the old owner would have to lose the promotion immediately.
Reply

NobleHelium Wrote:I did briefly consider the computational cost, but all the units are iterated through at the start of turn for healing and buff removal (e.g. Haste and Searing Light) anyway, so it seemed likely insignificant. Now that I think of it, having the promotion on all units is a better implementation since a unit may get the promotion at start of turn and then move out of borders. There's another corner case though - if the city with Nox Noctis is taken or razed on someone else's turn, all units of the old owner would have to lose the promotion immediately.

We can get around it by having the unit be invisible if:

It has the promotion && It's within its owner's borders && its owner has Nox Noctis && not in owner's city
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

And then clean up the promotions at the start of next turn? Or leave them there? Heh.
Reply

NobleHelium Wrote:And then clean up the promotions at the start of next turn? Or leave them there? Heh.

Probably clean up at the beginning of the next player's turn since the promo stops having an effect anyways...
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

(Final?) problem: what about the player capturing Nox Noctis? His units would have to get the promotion immediately to start getting the effect. Maybe we should just give every unit the promotion while Nox Noctis exists and leave it there. lol

I guess this case also applies on the turn that Nox Noctis is built.
Reply

NobleHelium Wrote:(Final?) problem: what about the player capturing Nox Noctis? His units would have to get the promotion immediately to start getting the effect. Maybe we should just give every unit the promotion while Nox Noctis exists and leave it there. lol

I guess this case also applies on the turn that Nox Noctis is built.

Could either python up an on-built and on-capture script or set things up in the DLL to where it applies the promotion when a player gain bHidden (the noctis attribute).
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

Any chance you can get the Hyborem WS to work in MP?
Reply

Bobchillingworth Wrote:Any chance you can get the Hyborem WS to work in MP?

How would you like it to work? Right now it doesn't work by virtue of design fiat (req checks to see if it's an MP game).
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

Similar to how it works in SP, I suppose. Press button, chose a city to take from whatever the game lists as options, then you get to either keep the city or raze it, same options as if you had captured it with troops.
Reply

bangWhoops- meant to post this in the New Leaders thread
Reply



Forum Jump: