LcorpOfficial / LCC-Minecraft-Server

Tracking issues and updates within the Lcorp City Minecraft Server
2 stars 0 forks source link

Dispenser gun not using ammo; reload skill has no sound #48

Closed LcorpOfficial closed 3 years ago

LcorpOfficial commented 3 years ago

Describe the bug A clear and concise description of what the bug is. [04:38:14 WARN]: [MythicMobs] Couldn't execute skill 'dispensergunreload': Enable debugging for a stack trace.

dispensergunreload:
  Cooldown: 0.8
  Conditions:
  - equipslot HAND
  Skills:
  - reloadammo{}
  - effect:sound{s=item.bottle.fill_dragonbreath;v=0.3;p=0.8} @self
  - effect:sound{s=block.piston.contract;v=0.2;p=1.5}
  - effect:sound{s=block.iron_door.open;v=0.5;p=0.7}

Expected behavior A clear and concise description of what you expected to happen.

Minecraft Info (please complete the following information):

Additional context notes Add any other context about the problem here.

LcorpOfficial commented 3 years ago

note: added new functions for when gun is full, or ammo is not in inventory upon reload. fixed audio issues and ammo qty in lore fields. also changed ammo to be 1:1, so 1x ammo item is 1x ammo in the weapon upon reload to avoid issues. crafting ammo will now give 16x ammo items instead of one.