MagisterCultuum
Great Sage
In my modmod I added an Undercouncil resolution to block its members from using Sun mana, much like the Overcouncil can block its members from using Shadow, Death, Entropy, etc.
I of course gave it <DiploVoteType>DIPLOVOTE_UNDERCOUNCIL</DiploVoteType>, and the resolution is showing up for Undercouncil members to vote on and is listed with other Undercouncil resolutions in the Resolution screen.
However, its effect seems to be binding not on Undercouncil members as expected, but on Overcouncil members like the Overcoucnil resolutions are.
I'm thinking the NoBonus resolutions blocking Overcouncil members instead of those with the resolution's DiploVoteType must be hardcoded somewhere in the DLL, but I not yet been able to find it in the DLL source code.
p.s. If you ever decided to expand the scope of this modmod from bug fixes to adding new features, I'd love it if you would add an xml ability to block spells based on votes, so I would not have to use python to make banning a mana type also ban the use of that magic by those units which already have the proper spell sphere promotions.
While on the subject of adding more SpellInfos tags, I'd really really like to allow certain spells to be blocked in xml by certain promotions.
I of course gave it <DiploVoteType>DIPLOVOTE_UNDERCOUNCIL</DiploVoteType>, and the resolution is showing up for Undercouncil members to vote on and is listed with other Undercouncil resolutions in the Resolution screen.
However, its effect seems to be binding not on Undercouncil members as expected, but on Overcouncil members like the Overcoucnil resolutions are.
I'm thinking the NoBonus resolutions blocking Overcouncil members instead of those with the resolution's DiploVoteType must be hardcoded somewhere in the DLL, but I not yet been able to find it in the DLL source code.
p.s. If you ever decided to expand the scope of this modmod from bug fixes to adding new features, I'd love it if you would add an xml ability to block spells based on votes, so I would not have to use python to make banning a mana type also ban the use of that magic by those units which already have the proper spell sphere promotions.
While on the subject of adding more SpellInfos tags, I'd really really like to allow certain spells to be blocked in xml by certain promotions.