Page 1 of 1

shadow veil

Posted: Sun Nov 06, 2011 2:13 am
by jrmunch
Will both daggers hit when under the effects of shadow veil?

Is there still a chance to miss?

Thank you

Re: shadow veil

Posted: Sun Nov 06, 2011 8:59 am
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

Re: shadow veil

Posted: Sun Nov 06, 2011 2:03 pm
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...

Re: shadow veil

Posted: Sun Nov 06, 2011 11:52 pm
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.

Re: shadow veil

Posted: Wed Nov 09, 2011 5:15 pm
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?

Re: shadow veil

Posted: Wed Nov 09, 2011 6:12 pm
by edge2054
Yeah. Guess I was wrong. If it goes on time out then it's game turn.