Are resist magic enchantments on shields passive or dynamic?

Post » Tue Jun 19, 2012 5:21 pm

As in, does the user need to be blocking for the resistance to take effect?

EDIT
I just tried this out in-game using some test stuff I set up in the CK. It's passive. (lame!)

Now to work on a workaround.
User avatar
Amy Gibson
 
Posts: 3540
Joined: Wed Oct 04, 2006 2:11 pm

Post » Tue Jun 19, 2012 9:32 pm

CE Enchantments are always passive. It would have to be made Cast on Strike or Cast on Use for it to be active. I don't think we have that choice when making the resist enchantments, only magnitude and or duration.
User avatar
Cathrin Hummel
 
Posts: 3399
Joined: Mon Apr 16, 2007 7:16 pm

Post » Wed Jun 20, 2012 5:37 am

What about an IsBlocking condition?
User avatar
benjamin corsini
 
Posts: 3411
Joined: Tue Jul 31, 2007 11:32 pm

Post » Wed Jun 20, 2012 3:45 am

That's so annoying.

From the bit of poking around that I just did, it seems that if a spell is blocked by the shield it doesn't set the abHitBlocked boolean to true in the OnHit event's variables.


EDIT

What about an IsBlocking condition?

Hmm, this could very well work.

It wouldn't account for situations where someone (player included) gets hit in the back or head/feet, but it's better than nothing for now.

I wonder if it's possible to check the direction of the projectile passed by the event...

EDIT

...well, you can't. The akProjectile is of the type Projectile, which extends Form, not ObjectReference. No way to check its orientation and compare it to the player's to see if it was coming from the front.

Any ideas, guys?
User avatar
oliver klosoff
 
Posts: 3436
Joined: Sun Nov 25, 2007 1:02 am

Post » Wed Jun 20, 2012 6:38 am

@Templar

Tested out the IsBlocking condition. Doesn't seem to do anything at all now.


EDIT

Of course!

The Elemental Protection shield perk. Why didn't I remember that earlier.
User avatar
Daddy Cool!
 
Posts: 3381
Joined: Tue Aug 21, 2007 5:34 pm


Return to V - Skyrim