Hey there, as many others i cam across the "trap disarmchance" effect and thought: "that would be a nice skill on your class..."
I`ve tried a few things and the buff is applied by whatever % i want it but testing was negative
here is what i got:
[SKILL]
<STRING>NAME:huntsmen disarm mastery
<TRANSLATE>DISPLAYNAME:Disarm Trap Mastery
<TRANSLATE>BASE_DESCRIPTION:Chance to disarm traps
<STRING>SKILL_ICON:huntsmen_trapper
<STRING>SKILL_ICON_INACTIVE:huntsmen_trapper_gray
<STRING>ACTIVATION_TYPE:PASSIVE
<STRING>TARGET_TYPE:SELF
<STRING>TARGET_UNITTYPE:BREAKABLE
<BOOL>CAN_TARGET_INVISIBLE_AND_DISABLED:True
<FLOAT>RANDOMRANGE:0
<FLOAT>FINDTARGETANGLE:360
<FLOAT>TURNRATEOVERRIDE:-1
<STRING>REQUIREMENT_GRAPH:SKILLTIER1_PASSIVE
<BOOL>CAN_BE_SILENCED:0
<INTEGER>LEVEL_REQUIRED:0
<INTEGER>MAXLEVEL:15
<INTEGER64>UNIQUE_GUID:-8902562933388483418
[IGNORE_SPECIFIC_UNITS]
<STRING>UNIT:BARREL_TNT_SMALL
[/IGNORE_SPECIFIC_UNITS]
[LEVEL1]
<FLOAT>RANDOMRANGE:0
[EVENT_START]
[AFFIXES]
<INTEGER>AFFIXLEVEL:1
<STRING>TARGET:ENEMY
<STRING>AFFIX:HUNTSMEN_DISARM_TRAP_CHANCE
[/AFFIXES]
[/EVENT_START]
[EVENT_END]
[AFFIXESREMOVE]
<STRING>TARGET:SELF
<INTEGER>AFFIXLEVEL:1
<STRING>AFFIX:HUNTSMEN_DISARM_TRAP_CHANCE
[/AFFIXESREMOVE]
[/EVENT_END]
[/LEVEL1]
[/SKILL]
[AFFIX]
<STRING>NAME:HUNTSMEN_DISARM_TRAP_CHANCE
<INTEGER>RANK:0
<INTEGER>MIN_SPAWN_RANGE:0
<INTEGER>MAX_SPAWN_RANGE:999
<FLOAT>DURATION:0
<INTEGER>WEIGHT:0
<INTEGER>SLOTS_OCCUPY:0
[EFFECT]
<STRING>NAME:huntsmen_disarm_trap
<STRING>ACTIVATION:PASSIVE
<STRING>DURATION:ALWAYS
<STRING>TYPE:TRAP DISARM CHANCE
<STRING>GRAPHOVERRIDE:HUNTSMEN test
<STRING>UNITTHEME:redglow
<STRING>ICON:huntsmen_trapper
<FLOAT>CHANCE_TO_100:100
[/EFFECT]
[/AFFIX]
May someone have a second look at this, I dont know what I'm missing or if its just broken sice it isnt implemented into vanilla.
I was playing around with the Target types and units.. no result
Is the passive skill viable on this or should it be a proc on hit?
lolesch
I added it as an affix onto a unique pair of gloves I ported from TL1 (Absorption Webbing) some time back and can confirm it worked fine.
Important to note that it only works when you trigger a skill on an interactable object such as a chest and that skill has IS_TRAP:1 set.
Effectively, the trap disable simply prevents such skills from triggering (based obviously on the percentage chance you set for the effect). To test it I set the chance to 100%, put the gloves on my test character for modding and never ever once triggered a trap from a chest or barrel etc in around 20 hours of playtesting (and I always open every chest and interact with every object lol).
A very interesting feature. Thank you guys for reminding, I'll try to use it.

I plan to use deadly traps in my mod and Trap Disarm can be extremely useful.