- setItemNBT Works only on caster

whole conversation is here https://discord.com/channels/213109157983813633/433846386166071306/1355543066831749312 basically if you run this skill on your item it will set value 0

FireDragonSummon:
  Cooldown: 1
  Conditions:
  - stringequals{val1="<caster.item.hand.nbt.charge>";val2="0"} castinstead DragonNoCharge
  #- hasaura{n=OwnerTaggingAura} false 
  - crouching{} false
  Skills:
  - setItemNBT{key=charge;value=int/0} @self
  - summon{type=FireDragonPet;amount=1;radius=0;summonerIsOwner=true} @origin
  - delay 1
  - message{m="charge <caster.item.hand.nbt.charge>"} @self

but then you right click on your dragon and dragon despawn and give you charge back and set your NBT to 1 so you can spawn the mob again like a cycle but it no longer works as setNBT cant be run on anyone else than caster but even SUDO do no bypass this . I got tons of tickets with this issue i was hoping this will be fixed in new builds but sadly bug is still there . On lower versions from last year this was totally possible and works like a charm .

FireDragonReturnCharge: 
  Cooldown: 1
  TriggerConditions:
  - RidingModel false 
  - DrivingModel false 
  - owner{} true
  - crouching{} true
  #- hasaura{n=OwnerTaggingAura} true 
  - holding{m=DragonMedaillonFire} true
  Conditions:
  - hasaura{n=Combat} castinstead DragonInCombat
  Skills:
  - setItemNBT{slot=HAND;key=charge;value=int/1} @trigger 
  - delay 1
  - message{m="charge <trigger.item.hand.nbt.charge>"} @trigger
Edited Mar 29, 2025 by Fortepsai
Assignee Loading
Time tracking Loading