Making the caster immune to his own Blizzard?

Post » Mon Jun 18, 2012 6:59 pm

I'm trying to change the spell Blizzard to create an area near the point of origin where the caster becomes immune to his own hazzard.
I was able already to identify when the caster leaves the secure area or return to the area, but I'm struggling to give him immunity (seems that just increasing frost resistance to 100 does not work).

Any other idea how to make the caster immune to a specific hazzard created by him?
User avatar
Rob Smith
 
Posts: 3424
Joined: Wed Oct 03, 2007 5:30 pm

Post » Tue Jun 19, 2012 2:58 am

I would be very interested to know how to achieve this as well.

I was attempting to make an Icarium character without any real modding and wanted to use blizzard. I also tried using resistance to frost at 100 and noticed this did not work.

What i then did was put every AbResist i could find at 100 and then attack a giant which one shotted me.

What i fai to understand is, what does AbResistDamage (etc...) actually do? it certainly doesnt give you 100% resistance to damage. Does it need a skill at 100 and then use the magnitude setting in order to scale?
User avatar
Megan Stabler
 
Posts: 3420
Joined: Mon Sep 18, 2006 2:03 pm

Post » Tue Jun 19, 2012 10:04 am

Perhaps find the actual damage dealing spell (I believe that Blizzard is broken into several parts, the main spell, which uses a spawn hazard magic effect, and then the hazard, which has a secondary spell that it casts, using a second magic effect).

Once you find the second magic effect, which is the effect that actually deals the damage, then add a condition GetIsID == Player != 1.
User avatar
Alyesha Neufeld
 
Posts: 3421
Joined: Fri Jan 19, 2007 10:45 am

Post » Tue Jun 19, 2012 4:29 am

But, the player IS already immune to his own Blizzard, no?
Setting Frost resist to 100 should work. No idea why it would not.
User avatar
Brooks Hardison
 
Posts: 3410
Joined: Fri Sep 07, 2007 3:14 am

Post » Mon Jun 18, 2012 9:50 pm

The spell has multiple components and utilizes scripts. Using resists seems like a quirky way to bandaid the problem.

Simply finding the magic effect that is actually being applied to the player (The one that is a dual value modifier that modifies health and stamina) and adding a GetIsID == Player != 1 is the best way to do it because this will simply prevent the player from being hit by the effect, without dealing with weird resist calculations which likely never reduce damage to zero or prevent application of an effect.
User avatar
Céline Rémy
 
Posts: 3443
Joined: Sat Apr 07, 2007 12:45 am

Post » Tue Jun 19, 2012 8:03 am

The spell has multiple components and utilizes scripts. Using resists seems like a quirky way to bandaid the problem.

Simply finding the magic effect that is actually being applied to the player (The one that is a dual value modifier that modifies health and stamina) and adding a GetIsID == Player != 1 is the best way to do it because this will simply prevent the player from being hit by the effect, without dealing with weird resist calculations which likely never reduce damage to zero or prevent application of an effect.

For the original idea, you would have to change the blizzard "projectile" to a script effect, make it check where the affected actor is standing, and have it then fire the actual damagin spell if the actor is not inside a specific area.

But I am confused now: Some weeks ago, I did some testing with the blizzard spell and noticed it only affects hostile targets in the area, and does not affect me.
Now when I cast it, I suddenly take damage, but it seems to be very little damage. No idea whats going on there, I was of the impression that Blizzard does not affect the player or any friendly actors in Vanilla.
User avatar
Kevin S
 
Posts: 3457
Joined: Sat Aug 11, 2007 12:50 pm

Post » Mon Jun 18, 2012 8:00 pm

I'd look into keywords. This is how Skyrim deals with dispel effects and such.

For example, your blizard could have a keyword to it called "PlayerBlizzard".

Then, you would simply apply a spell ability/perk to the player that is hidden, that does nothing (use "Script" effect with no script, or dispel if there is a dispel one) but have a keyword called "PlayerBlizzard" and then check the box that says "Dispel effects with these keywords".

Theoretically, any effect that would have the "PlayerBlizzard" keyword, would not apply to you (the player) as long as you had that dispel ability or perk attached to you.
User avatar
Shelby McDonald
 
Posts: 3497
Joined: Sat Jan 13, 2007 2:29 pm


Return to V - Skyrim