Jump to content

Problem with GetAv() anyone else have this?


Recommended Posts

So I have this script which worked perfectly and required a certain skill to be at a certain level or higher but I went and adjusted that requirement a few time and despite the code requiring 25 as the skill level, it only seems to work when the skill is at 30 or above. It's infuriating because of how illogical it is. I have verified that the script is correct and that I am not somehow using a version that had the requirement at 30 so I have no idea. Here's the line of code with the condition

 

 

EVENT OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
    if (akEffect.getAssociatedSkill() == MySkill) && Game.GetPlayer().GetAv(MySkill) >= 25

 

has anyone else run into this at all? I can't seem to find any issues similar to this online.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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