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 147
    • Issues 147
    • 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
  • #677

Closed
Open
Created Jan 16, 2022 by Brian@Skeleston

Distance condition breaking skill

My skill works fine until I add any kind of condition or target that relates to distance. Here's my skill GrabThrow: Conditions:

  • distance{d=<3} Skills:
  • throw{velocity=5;velocityY=20} @target
  • damage{a="<mmoitems.skill.GrabThrow.damage>";pkb=false} @target I'm triggering the skill through mmoitems. Like I said, works just fine until I add distance into the conditions. Other conditions work for me just fine (tested with night/day condition). Tested it on MC version 1.17.1 and 1.18.1 with MythicMobs 5.0 snapshot and MythicMobs v4.14.1 and the issue is always the same. I've checked the code against the code on the wiki and the syntax looks to be identical... Example:
TargetConditions:
- distance{d=<2}

Also, adding a condition to a mythicmobs skill seems to just break the skill entirely for a mob... This doesn't work...

  • WeakenDay:
  • Conditions:
    • day true
  • Skills:
    • setspeed{speed=0.9} ~onCombat
  • but this does...
  • WeakenDay:
  • Skills:
    • setspeed{speed=0.9} ~onCombat
Edited Jan 16, 2022 by Brian
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking