Avahz Darkwood
Emperor
1. this is the code for blizzards. note that it doesn't work for illians, but units with winterborn promotion
if you think something could be made better, let me know.Code:def onMoveBlizzard(pCaster, pPlot): iFrozen = gc.getInfoTypeForString('CIVILIZATION_FROZEN') if pCaster.isHasPromotion(gc.getInfoTypeForString('PROMOTION_WINTERBORN')) == False: if pCaster.getOwner() != iFrozen: #Added in Frozen: TC01 pCaster.doDamage(10, 50, pCaster, gc.getInfoTypeForString('DAMAGE_COLD'), false)
2 The Resistmodify of slowspell is set in XML. Currently it is 85. You could try to reduce it and see if you get better results. Unless you have promotions that increase spell power it should be close to 100 though IMO. But it is a complex formula so could be it is too high at the moment.
1: Not sure what ya mean there
, from what I can tell of the code they have to be both Frozen and Winterborn to not be damaged. The Illians do have the Winterborn promo. In that case I would remove the blizzards being summoned by the temple, give the frozen their own pagan type temple, and/or let the temple summon one blizzard on build and let that blizzard fade as normally (and hope you have a priest of winter to scoot it from your lands). (But if this is not a bug, just a buyer beware Illians are still human thing then cool beans =)2: To test it I changed the Resistmodify to 1 to see if it would work and it did. I think the issue is what is being modified. Do the numbers added to resistmodify add to the base resist percent? I couldn't find the base percent (maybe in .dll?) numbers so these are just assumptions. If the base resist is 30% and we add the Resistmodify of 85% then it is possible that we are getting 100% resistance. To test the unmodified slow spell I put 20 adepts beside a enemy city who had 10 units. Gave all them Ice 1 and cast slow with all of them for 5 turns. All enemy units resisted 20 slow spells for each of the five turns. (Well I did have defenders guarding them so the enemy did loose about 4 units). The odd thing is that the Dragon's slow spell still works, must be their magic immume promo puts them under the 100% mark.
I checked the base FFH slow spell and it does not have the Resistmodify code, just the basic resistibility


from the promotions. Is there some obscure event that does this, or is it a bug? (The random snow/tundra is from the Illians casting the deepening earlier).