Replies: 2 comments 1 reply
-
Most likely handled in globals/magic.lua This is only a snippet of what goes on in that file, but it is a spot that specifically focuses on player skill/type (there are other sections relating to day/weather, mob resistances, etc.): function applyResistanceEffect(actor, target, spell, params)
local spellFamily = spell:getSpellFamily() or 0
local skillType = params.skillType or 0
local element = spell:getElement() or 0
local statUsed = params.attribute or 0
local bonusMacc = params.bonus or 0
-- GUESS stat if it isnt fed with params.
if statUsed == 0 then
if skillType == xi.skill.SINGING then
statUsed = xi.mod.CHR
else
statUsed = xi.mod.INT
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmmm... there could be a bigger issue in the framework though. Noticed globals/spells has a file for enhancing songs, but not one for enfeebling songs... and those songs did not appear to show up in the enfeebling magic file either. May indeed be something there for bigger brains to research/discuss. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm currently playing as BRD on a private server and noticed being resisted often although I had a lot of +CHR gear and capped skills for my level. Looking at the various files in 'scripts/actions/spells/songs' I can see where Singing Skill is taken into account but I see no Instrument Skill (ex. scripts/actions/spells/songs/carnage_elegy.lua) but others have no calculations for buff potency that take singing skill and instrument skill as factors for determining potency (ex. scripts/actions/spells/songs/advancing_march.lua).
I'm wondering if I'm reading this wrong or is it being handled someplace else?
Beta Was this translation helpful? Give feedback.
All reactions