skykiller63reported this bug
Howdy! It appears that the ~onCancelUse trigger is not working with equipment sets. Here is my test setup below. The crucible bow item works fine to remove the aura, but then the equipment set with the same skills does not.
To Test: grab all 4 equipment pieces, and a vanilla bow. press right-click and release it immediately so that you did not shoot an arrow. The aura will not be removed (shoot an arrow to remove aura). then take off one or all armor, grab the BowTension crucible item, and do the same thing. The aura is removed as intended.
Thank you!
#skills
BowTension:
Conditions:
- ( holding{i=bow} && ( hasitem{i=ARROW;a=>0} || hasitem{i=TIPPED_ARROW;a=>0} || hasitem{i=SPECTRAL_ARROW;a=>0})) true
Skills:
- aura{name=SpeedBuff;onStart=BowCharging;onTick=BowCharging;duration=72000;i=5;maxStacks=1;bt=true} @self
BowCharging:
Skills:
- potion{type=SPEED;l=9;duration=10;particles=false} @self
RemoveBuff:
Skills:
- auraremove{name=SpeedBuff}
- potionclear{types=SPEED}
#Items
BowTension:
Material: BOW
Display: 'Speed on Draw Test'
Skills:
- skill{s=BowTension;sync=true} @self ~onUse
- skill{s=RemoveBuff;sync=true} @self ~onShoot
- skill{s=RemoveBuff;sync=true} @self ~onCancelUse
- skill{s=RemoveBuff;sync=true} @self ~onUnHeld
Bow_Speed_Boost_Helmet:
Id: diamond_helmet
EquipmentSet: BOW_SPEED_BOOST
EquipSlot: HELMET
Bow_Speed_Boost_Chestplate:
Id: diamond_chestplate
EquipmentSet: BOW_SPEED_BOOST
EquipSlot: CHEST
Bow_Speed_Boost_Leggings:
Id: diamond_leggings
EquipmentSet: BOW_SPEED_BOOST
EquipSlot: LEGS
Bow_Speed_Boost_Boots:
Id: diamond_boots
EquipmentSet: BOW_SPEED_BOOST
EquipSlot: FEET
#Equipment-sets
BOW_SPEED_BOOST:
Enabled: true
Display: 'Bow Speed Boost'
Bonuses:
- Pieces: 4
Skills:
- skill{s=BowTension} @self ~onUse
- skill{s=RemoveBuff} @self ~onCancelUse
- skill{s=RemoveBuff} @self ~onShoot
- skill{s=RemoveBuff} @self ~onUnHeld