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 148
    • Issues 148
    • 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
  • #777

Closed
Open
Created Apr 26, 2022 by cursedgerbil@cursedgerbil

Sound Mechanic Not Working

Hello, I'm using the newest versions of MythicMobs, MMOCore, MMOItems and MythicLib. I'm trying to get my MMOItems ability (converted from a MythicMobs skill) to play some sound effects. The skill works fine but no sound plays. Is this a bug or am I doing something wrong? My skill is below. I have tried restarting the server many times, as well as tinkering with the files, but to no avail.

WEPFirebolt:

Skills:

'projectile{onTick=WEPFirebolttick;onHit=WEPFirebolthit;v=9;i=1;hR=1;vR=1;hnp=true} @targetLocation'

'effect:sound{s=entity.blaze.ambient,p=1.0,v=1.0,sc=PLAYERS} @SelfLocation{y=0.0}'

WEPFirebolttick:

Skills:

'effect:particles{p=flame;amount=4;speed=0;hS=0.2;vS=0.2} @origin'

WEPFirebolthit:

Skills:

'mmodamage{amount="<modifier.damage>";types=MAGIC,PROJECTILE}'

'effect:sound{s=block.fire.extinguish,p=1.0,v=1.0,sc=PLAYERS} @SelfLocation{y=0.0}'

Edit: I'm an idiot. I'm using commas instead of semicolons in my skill mechanics. Sorry for the trouble!

Edited Apr 26, 2022 by cursedgerbil
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking