Jump to content

A "Simple" Mod Idea That Just Won't Work: Dual Bound Sword


Petenks

Recommended Posts

Self-explanatory, you use the spell, you get two Bound Swords instead of just one in one-cast.

 

Here's the script I have so-far. The result is it just summons one sword, dunno what I'm doing wrong here.

 

Scriptname DoubleMagicSword extends ActiveMagicEffect

 

MagicEffect Property BoundDoubleSwords Auto

Weapon Property BoundSword1 Auto

Weapon Property BoundSword2 Auto

 

EVENT OnEffectStart(Actor Target, Actor Caster)

;Create and equip first sword

caster.additem(boundsword1,1,TRUE)

caster.equipItem(boundsword1, TRUE, TRUE)

 

;Create and equip second sword

caster.additem(boundsword2,1,TRUE)

caster.equipItem(boundsword2, TRUE, TRUE)

endEVENT

 

EVENT onLoad()

if !(getCasterActor().hasMagicEffect(BoundDoubleSwords))

dispel()

endif

endEVENT

Link to comment
Share on other sites

  • Recently Browsing   0 members

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