Deus Ex Wiki

Polską Deus Ex Wiki znajdziesz pod adresem pl.deusex.wikia.com

READ MORE

Deus Ex Wiki

Source?[]

Can I request a source from which this information (that difficulty exclusively affects incoming lethal melee damage, bullet damage and auto-turret damage) comes? I'm only asking because this is the only place I was able to find that made the claim that difficulty works this way, and afaik this was page was first made in 2020 (meaning it's quite a recent source). Thanks. Bushwhacker2k (talk) 02:18, 9 March 2023 (UTC)

Reply[]

Thanks for asking! I wrote the article, and I usually cite the part of the game script that supports the content. But it looks like I forgot to do so in this case.

The effect of difficulty level can be seen in lines 9788-9800 of the script for class DeusExPlayer (in the DeusEx.u package):

	//
	// Reduce or increase the damage based on the combat difficulty setting
	//
	if ((damageType == 'Shot') || (damageType == 'AutoShot'))
	{
		newDamage *= CombatDifficulty;

		// always take at least one point of damage
		if ((newDamage <= 1) && (Damage > 0))
			newDamage = 1;
	}

	adjustedDamage = Int(newDamage);

So the statement "if ((damageType == 'Shot') || (damageType == 'AutoShot'))" indicates that only "Shot" and "AutoShot" damage types are affected by the difficulty level, for purposes of damage taken by the player.

I'll update the article to clarify the source. This part of the game was not well documented at the time, which is what led me to make the article.

Aeratus (talk) 04:44, 9 March 2023 (UTC)

Very cool, thanks for the prompt reply! Bushwhacker2k (talk) 15:02, 9 March 2023 (UTC)