Jump to content

[LE] Help with papyrus scripting and spells


taliessin

Recommended Posts

Hi. I am making a fix for the dlc2 item Ahzidal Ring of Necromancy, i 've noticed it adds a perk that conflicts with the Dark Souls perk and also it doesn't work with the zombies raised by followers. So, i get rid of the papyrus script that adds the perk, and instead add a secondary magic effect that checks if the caster has the ring equipped:

 

 

 

 

On the magic i've attached a script done for me:

 

 

 

 

So far, this is the script code:

Scriptname DLC2ahzidalNecromancyScript extends ActiveMagicEffect

Spell Property DLC2dunKolbjornRingNecromancyAbility Auto

Armor Property DLC2dunKolbjornRingNecromancy Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
	  
	if akCaster.isEquipped(DLC2dunKolbjornRingNecromancy)
			akTarget.AddSpell(DLC2dunKolbjornRingNecromancyAbility)
	endIf
	
endEvent

But when i test in the game nothing happens :sad: , I was testing it with Serana, supposedly the raised zombie should explode on hit but nothing happens, Serana uses DLC1RaiseZombieRightHand spell, so i added my secondary magic effect there as you can see in the image. If you can tell me what i am doing wrong it could be really appreciated.

Edited by taliessin
Link to comment
Share on other sites

  • Recently Browsing   0 members

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