Tenner Posted 14 hours ago Posted 14 hours ago Hello! There's something that's always quite bothered me about SL Defeat: It feels kind of strange that the resist difficulty is static across all opponents. I've tried to poke around in the scripts, but I just cannot figure out how the mod itself sets the difficulty. I wanted to make a patch for myself where the level difference as an int was actually added to the difficulty, or some other actor value difference. Are there any oldheads who knows how SL Defeat works that can answer this? Is this already a mod I've somehow missed?
LinkDeath Posted 4 hours ago Posted 4 hours ago It actually is already part of the difficulty calculation. It's in the DefeatConfig script. StruggleFillThreshold = ((Victim.GetLevel() - Aggressor.GetLevel()) + (StruggleClassChance(Victim, True) - StruggleClassChance(Aggressor))) Basically, the difference in level and the difference in defensive skills vs aggressive skills. The variable name isn't very descriptive, but StruggleFillThreshold is the amount of struggle bar increased with each correct key press.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now