Armor and Block

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
Dracos
Archmage
Posts: 405
Joined: Sun Jul 13, 2014 4:09 pm

Armor and Block

#1 Post by Dracos »

Two dumb questions:

1)Any way to show armor effects in the logs? Whenever I have a high armor, it basically ends up showing a lot of "So and so took retaliation" without actually showing the hit for 0 that happened.

2)It seems like it counts armor Before Block (usually a good thing), but if Armor soaks everything, block doesn't trigger counterstrike at all? Is that expected? It seems a sort of weird early-game interaction (Later enemies consistently beat even high armor).

I went early stacking armor + tinker to basically get armor high enough to just ignore a lot of the early enemies, but that also had an effect that counterstriking never showed up when blocking.
ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.

Radon26
Sher'Tul
Posts: 1439
Joined: Mon Jun 23, 2014 11:50 am

Re: Armor and Block

#2 Post by Radon26 »

2)
armour hardiness at 100? take it a bit lower maybe?
also, armor works only for weapon damage, no matter the type.

block, works for any type of damage, anyhow referenced in the shield stats, no matter, weapon, spell, or any other source of said damage.

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Armor and Block

#3 Post by jenx »

Radon26 wrote:2)
armour hardiness at 100? take it a bit lower maybe?
also, armor works only for weapon damage, no matter the type.

block, works for any type of damage, anyhow referenced in the shield stats, no matter, weapon, spell, or any other source of said damage.
ARe you positive about that? If so, why doesn't it say that anywhere in the game? it is of great significance!!!
MADNESS rocks

ibanix
Wyrmic
Posts: 244
Joined: Thu May 23, 2013 12:25 am

Re: Armor and Block

#4 Post by ibanix »

jenx wrote:
Radon26 wrote:2)
armour hardiness at 100? take it a bit lower maybe?
also, armor works only for weapon damage, no matter the type.

block, works for any type of damage, anyhow referenced in the shield stats, no matter, weapon, spell, or any other source of said damage.
ARe you positive about that? If so, why doesn't it say that anywhere in the game? it is of great significance!!!
Block *only* works for the damage types of the shield. A basic shield only blocks physical damage. A shield with +resist to lightning and fire will also block lightning and fire damage.

But yes, a shield will block damage from any source.

Somewhat surprisingly (at least to me), Block will actually *decrease* your Defense value while active. It also seems to increase spell save under some conditions (which I am unclear on).

Code: Select all

activate = function(self, eff)
		eff.tmpid = self:addTemporaryValue("block", eff.power)
		eff.def = self:addTemporaryValue("combat_def", -eff.power)
		eff.ctdef = self:addTemporaryValue("combat_def_ct", eff.power)
		if eff.properties.sp then eff.spell = self:addTemporaryValue("combat_spellresist", eff.power) end
	end,
Please help with the ToME wiki!

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Armor and Block

#5 Post by jenx »

ibanix wrote:
jenx wrote:
Radon26 wrote:2)
armour hardiness at 100? take it a bit lower maybe?
also, armor works only for weapon damage, no matter the type.

block, works for any type of damage, anyhow referenced in the shield stats, no matter, weapon, spell, or any other source of said damage.
ARe you positive about that? If so, why doesn't it say that anywhere in the game? it is of great significance!!!
Block *only* works for the damage types of the shield. A basic shield only blocks physical damage. A shield with +resist to lightning and fire will also block lightning and fire damage.

But yes, a shield will block damage from any source.

Somewhat surprisingly (at least to me), Block will actually *decrease* your Defense value while active. It also seems to increase spell save under some conditions (which I am unclear on).

Code: Select all

activate = function(self, eff)
		eff.tmpid = self:addTemporaryValue("block", eff.power)
		eff.def = self:addTemporaryValue("combat_def", -eff.power)
		eff.ctdef = self:addTemporaryValue("combat_def_ct", eff.power)
		if eff.properties.sp then eff.spell = self:addTemporaryValue("combat_spellresist", eff.power) end
	end,
that code says it adds spellsave only when blocking, which is surprising too.
MADNESS rocks

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Armor and Block

#6 Post by HousePet »

The block code has some unused functions. That one is an ego that gave increased spellsave when blocking.
My feedback meter decays into coding. Give me feedback and I make mods.

Post Reply