Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1879

Closed
Open
Created Mar 29, 2025 by Fortepsai@Fortepsai

- 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
Assign to
None
Milestone
None
Assign milestone
Time tracking