Blight and Paladins

carnivore

Digital Monkey
Joined
Jun 11, 2006
Messages
123
Just small question
Can i modify the game not to kill my Paladins ?
They are currently my strongest units in the game and i wish to keep them alive

any help would be welcome
Thanx
 
Little update

I have removed the Blight spell from the game but the issue remains : when AC reach 30 my paladins are dead on the spot

What i need to know is where to find the code and how to change it, so my paladins could stay alive

thanx
 
As far as I'm aware, the blight deals a random amount of death damage to all units in the world. I thought it usually didn't kill.

It seems like Paladins at least should have some resistance to it, so that they don't die. Divine protection and all
You can modify this, certainly. And I'll propose it to the team internally. The simplest way is jsut to add death resistance to the Paladin entry in unitinfos

Edit: Actually, that might not be possible. I don't think it is.
 
The thing is, it's not the blight that kills them
i removed the blight from the python file and disabled the event, but when the AC reach 30 they just die...

Is there a way to tweak it ?

Im using the FFplus mod, but i dont think it's related to the mod..
 
Do you have a save game that you can post? Blight shouldn't be routinely killing units and the fact that they still die when it's disabled makes it sound like something else is going on.
 
All the latest patches installed
In the next turn the AC reach 30 and all the paladins die
 
I've stayed away from the AC events so far, so it shouldn't be FFPlus specific...

Can you give the save a quick look in anycase Valk? I took it and then realized doing a FFPlus install is problematic at the moment (means doing a FF050 reinstall, repatch etc, after renaming the 051 working stuff). Main thing I'm looking for is if there's a reason the units *should* be dying - are they particularly injured? Anything under 50% health is a valid potential casualty for Blight under current settings...
 
You don't have to be completely sober in order to check that damn AC problem !

If valk' didnt change the AC section in the python file it should be the same as in FF
I am attaching my randomevent file , maybe it would help you to figure out what is wrong
And about the question, no they were healthy and strong, but when the clock reach 30 they die, and it's not even blight related, just something with the AC counter

the file is the original file, and still has the blight in it
Is this the first report about it ?
 

Attachments

The only relevant bit I could find in the Blight code is here...

Spoiler :
Code:
for pUnit in py.getUnitList():
		if pUnit.isAlive():
			pUnit.doDamageNoCaster(25, 100, gc.getInfoTypeForString('DAMAGE_DEATH'), false)

Looks like it does 25-100% dmg? I honestly am not quite sober enough to be certain of that. :lol: It's either 25-100%, or 25% dmg, 100% cap, so 25% on every living unit?

Were your paladins damaged at all beforehand?
 
Blight deals damage randomly even on units with identical combat ability. I might have lost an unit or two to it in the past but usually it is no big deal.
 
That makes me believe that it is 25-100% damage... So the death is therefore intentional.

It's between 2 and 50% damage (2 x 1-25%), capped at 100% (no cap, damage can be fatal). Still shouldn't be taking out full health Paladins though.

It uses the first number to generate two random numbers upto a max of that number, then adds them together. It might actually be 0-48%, can't remember if the code has a +1 or not.
 
Could it be that someone completed Bane Divine? The ritual that kills all Disciple units.
 
Back
Top Bottom