Jump to content

Elemental Weakness


WarKirby3333

Recommended Posts

Is there any way to make a creature take more damage from a particular element (fire) and less from another (frost)?

 

 

 

I'm thinking a spell effect added through script, but is there an easier way?

 

 

 

Failing that can someone write me a quick script to add a spell effect permanantly to a creature?

 

 

 

WarKirby

Link to comment
Share on other sites

Well there are the weakness to frost/fire/shock and resistance to frost/fire/shock spells. :happy:

 

No scripts are necessary I think. Unless you want to be able to add these resistances and weaknesses while playing the game. If you add them as a birthsign (ability) they will be permanent. Like Mankar Camoran's birthsign, which has an ability that gives him a 10% reflect damage bonus and more.

Link to comment
Share on other sites

That script would be like ... 4 lines.

Something like this one:

scn takemefiredamage
begin scripteffectstart
cast *MyWeaknessSpell*
end

The weakness spell should be an ability.

 

Still, I don't see why you don't just add the Weakness to Fire from the CS?

Link to comment
Share on other sites

If you're concerned that modifying the base creature might cause conflicts, you could use SetActorValue (NOT ModActorValue) as follows.

Find whatever you want to change, open the console, and select it.

SetAV ResistFire (GetAV ResistFire-x)

SetAV ResistFrost (GetAV ResistFrost+y)

 

Not sure if it accepts parenthesized values. If not, just do the math yourself.

 

If you want to change them usinga mod, include the above in a script that runs once. In this case, I recommend that you use fixed values, so as to prevent it from repeatedly increasing them.

Link to comment
Share on other sites

  Abramul said:
If you're concerned that modifying the base creature might cause conflicts, you could use SetActorValue (NOT ModActorValue) as follows.

Find whatever you want to change, open the console, and select it.

SetAV ResistFire (GetAV ResistFire-x)

SetAV ResistFrost (GetAV ResistFrost+y)

 

Not sure if it accepts parenthesized values. If not, just do the math yourself.

 

If you want to change them usinga mod, include the above in a script that runs once. In this case, I recommend that you use fixed values, so as to prevent it from repeatedly increasing them.

That wouldn't work.

 

set resist to GetAV ResistFire - x

SetAV ResistFire Resist

 

should work (from a script).

 

why not use

 

someguy.modav resistfire -x

 

?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...