shadow veil

Any discussions regarding the spoilers present in ToME 4.x.x should be restricted to this forum

Moderator: Moderator

Post Reply
Message
Author
jrmunch
Wayist
Posts: 18
Joined: Sat May 17, 2008 12:31 am

shadow veil

#1 Post by jrmunch »

Will both daggers hit when under the effects of shadow veil?

Is there still a chance to miss?

Thank you

marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

Re: shadow veil

#2 Post by marvalis »

Shadow veil does darkness damage.
It calls self:attackTarget, this is the same function called by a normal weapon attack. That means you hit with both weapons, and you have a chance to miss.
You get a damage multiplier based on talent level, so you do more damage than a normal attack.

Code: Select all

		self:attackTarget(act[1], DamageType.DARKNESS, eff.dam) -- Attack *and* use energy

Code: Select all

	getDamage = function(self, t) return self:combatTalentmath.sqrt(t, 0.9, 2) end,

Code: Select all

--- Gets weapon damage mult based on talent
function _M:combatTalentWeaponDamage(t, base, max, t2)
	if t2 then t2 = t2 / 2 else t2 = 0 end
	local diff = max - base
	local mult = base + diff * math.sqrt((self:getTalentLevel(t) + t2) / 5)
--	print("[TALENT WEAPON MULT]", self:getTalentLevel(t), base, max, t2, mult)
	return mult
end

jrmunch
Wayist
Posts: 18
Joined: Sat May 17, 2008 12:31 am

Re: shadow veil

#3 Post by jrmunch »

Thank you - one more question -

Does global speed (aka if I was using essence of speed) have any effect? It would appear not since this does something once each turn...

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: shadow veil

#4 Post by edge2054 »

jrmunch wrote:Thank you - one more question -

Does global speed (aka if I was using essence of speed) have any effect? It would appear not since this does something once each turn...
I'd have to double check (and I'm not in the mood to do that) but I'm pretty sure this effect happens each time the actors energy bar fills up. It basically over rides player control and uses an AI.

In other words, I'm pretty sure the actors speed does matter.

marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

Re: shadow veil

#5 Post by marvalis »

It happens on timeout of the effect, so it depends when this is triggered.
It is not affected by movement speed (the effect from a movement infusion allows you to move several times before it times out). This probably means it is not affected by global speed, but you will be able to take an action before the effect triggers again?

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: shadow veil

#6 Post by edge2054 »

Yeah. Guess I was wrong. If it goes on time out then it's game turn.

Post Reply