You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regalis11 opened this issue
May 14, 2025
· 0 comments
Assignees
Labels
BugSomething isn't workingCodeProgramming taskModdingModding-related feature request or issue, or a bug that only occurs with modsTicketThe issue has been converted into an issue report.
I have searched the issue tracker to check if the issue has already been reported.
My issue happened while using mods.
What happened?
While it's clearly stated in official modding guide that TargetSelf attribute considers only characters, there not a single word about MeleeWeapon or SkillRequirement restriction
Still, even with TargetSelf attribute, with or without StatusEffect being used, Conditional still checks the victim, not the attacker, when using the Attack inside MeleeWeapon function.
You see, I wanted to make strict skill requirement, not RNG based luck influenced by skill stats with these StatusEffect types like "OnSuccess" and "OnFailure", as they are "The closer you are to the requirement, the higher the chance of success" type of deal, which I don't want and there's no attributes to make strict skill requirement.
The official modding guide is REALLY raw in some parts, when you, for example, want to know what kind of attributes Sound function supports, all you see when entering the page is: "Required by the core package: yes" and thats it, screw you, search and datamine inside game files on your own to find out "How" and "What".
Reproduction steps
Write a MeleeWeapon function something like this:
(You can put Conditional inside or outside of StatusEffect as it doesn't work as intended in both cases).
Get inside the game, start session and get the weapon.
Attempt to attack some character while underskilled, condition doesn't trigger and you would think it's okay.
Get yourself sufficient skill for condition to trigger, after attacking, nothing changed from previous step.
Give your victim sufficient skill to trigger condition and attack the victim.
Observe the absurd and ignorant logic of XML coding, as condition successfully triggers upon hitting victim, even and despite when you are underskilled, but the victim has enough of that skill
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.8.8.1 (Calm Before the Storm Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
The text was updated successfully, but these errors were encountered:
Regalis11
added
Bug
Something isn't working
Code
Programming task
Modding
Modding-related feature request or issue, or a bug that only occurs with mods
Ticket
The issue has been converted into an issue report.
labels
May 14, 2025
BugSomething isn't workingCodeProgramming taskModdingModding-related feature request or issue, or a bug that only occurs with modsTicketThe issue has been converted into an issue report.
Discussed in #16050
Originally posted by GluonTheDerg May 10, 2025
Disclaimers
What happened?
While it's clearly stated in official modding guide that TargetSelf attribute considers only characters, there not a single word about MeleeWeapon or SkillRequirement restriction

Still, even with TargetSelf attribute, with or without StatusEffect being used, Conditional still checks the victim, not the attacker, when using the Attack inside MeleeWeapon function.
You see, I wanted to make strict skill requirement, not RNG based luck influenced by skill stats with these StatusEffect types like "OnSuccess" and "OnFailure", as they are "The closer you are to the requirement, the higher the chance of success" type of deal, which I don't want and there's no attributes to make strict skill requirement.
The official modding guide is REALLY raw in some parts, when you, for example, want to know what kind of attributes Sound function supports, all you see when entering the page is: "Required by the core package: yes" and thats it, screw you, search and datamine inside game files on your own to find out "How" and "What".
Reproduction steps
(You can put Conditional inside or outside of StatusEffect as it doesn't work as intended in both cases).
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.8.8.1 (Calm Before the Storm Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
The text was updated successfully, but these errors were encountered: