Jump to content

Trying to replicate Wuuthrad effect, but for humans.


BerzerkerKidd

Recommended Posts

So, I'm trying to make a bow that does the opposite effect of Wuuthrad, so instead of it doing +%20 damage to elven races, I want it to do +%20 damage to human races. Problem is, it just won't work no matter how closely I copy the script that adds the WuuthradPerk... any tips or ideas?

 

 

Here's what I have so far, as well as any relevant info

Scriptname DoveMagicBowDamageScript extends ObjectReference  
{Perk Property MEADovePerk auto

Event OnEquipped(Actor akActor)
	akActor.AddPerk(MEADovePerk)
EndEvent

Event OnUnEquipped(Actor akActor)
	akActor.RemovePerk(MEADovePerk)
EndEvent}

Perk Property MEADovePerk  Auto  

Properties:

Property name: MEADovePerk

Type: Perk

Value: MEADovePerk

 

I also made the perk in the exact same way as the CA06BladeOfYsgramorPerk, but obviously subbing in my weapon under 'weapon' and the human races as the targets

 

 

 

Any help is super appreciated! Thank you in advance!

Edited by BerzerkerKidd
Link to comment
Share on other sites

Whats with the { and } ? Maybe removing them might make it work as intended. also you are defining the property twice unless im missing something about those signs and they do have a purpose in this.

 

if this is just for the player then below may apply/help but if not i dont think npc's can benefit from perks anyway.

 

you could also try using game.getplayer.AddPerk(MEADovePerk) or playerref instead of akactor. not sure if it would matter in this case but some things its picky about that. playerref would require adding in another property but is ultimately supposed to be faster. Actor Property PlayerRef Auto

PlayerRef.AddPerk(MEADovePerk)

Edited by aoh125
Link to comment
Share on other sites

  • 2 weeks later...

Whats with the { and } ? Maybe removing them might make it work as intended. also you are defining the property twice unless im missing something about those signs and they do have a purpose in this.

 

if this is just for the player then below may apply/help but if not i dont think npc's can benefit from perks anyway.

 

you could also try using game.getplayer.AddPerk(MEADovePerk) or playerref instead of akactor. not sure if it would matter in this case but some things its picky about that. playerref would require adding in another property but is ultimately supposed to be faster. Actor Property PlayerRef Auto

PlayerRef.AddPerk(MEADovePerk)

 

Sorry for late reply! but I literally just copied the script that's attached to wuuthrad, so anything that you see is what Bethesda did, I just swapped the wuuthrad perk with my own... so unless wuuthrad doesn't work either, which tbh with their track record I wouldn't honestly be surprised, then idk how they did it :/ I'll try what you mentioned at some point and see if that works

Link to comment
Share on other sites

  • Recently Browsing   0 members

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