I want to replicate the glass bow of the stag prince effect and doing just that should\t be too hard, just replicate the same things and stick it to a different weapon but I want to in game have a weapon that improves in damage done after killing X amount of enemies, the hardest art is probably the script. I found the script within "dlc2MerchEnchWeapBowOfTheStagPrince", this is what it said
Scriptname dlc2MerchBowOfStagPrinceIncSCRIPT extends ActiveMagicEffect
GLOBALVARIABLE PROPERTY animalsKilled AUTO
KEYWORD PROPERTY animalType AUTO
OBJECTREFERENCE victim
EVENT OnEffectStart(ACTOR target, ACTOR caster)
victim = target
ENDEVENT
EVENT OnDying(ACTOR killer)
if(victim.HasKeyword(animalType))
animalsKilled.SetValue(animalsKilled.GetValue() + 1)
endIf
ENDEVENT
My first idea was to change animalIsKilled to PeopleKilled but I wonder if CreaturesKilled includes all enemies, rather then just the people. However I got stumped on HasKeyword AnimalType, I have no clue what to replace that with, Sorry for bothering y'all, I am not too good with scripts.