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 132
    • Issues 132
    • 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
  • #1298

Closed
Open
Created Sep 06, 2023 by Dante@Dant35tra5t💬

FOV condition "rotation" attribute does not appear to function.

MM 5.4.0 28c6b0f1 || Paper 169 (1.20.1)

FOV condition's rotation option does not appear to work. I can't see anything sus in debug and no errors. The tester below is firing all skills when damaging the front of the mob.

Mob

TestDummy:
  Type: Zombie
  Health: 1000
  Skills:
  - skill{s=RearSkills} ~onDamaged
  - skill{s=Side1Skills} ~onDamaged
  - skill{s=Side2Skills} ~onDamaged
  - skill{s=FrontSkills} ~onDamaged

Skills

FrontSkills:
  TargetConditions:
  - fov{a=90;r=0}
  Skills:
  - m{m=FRONT} @trigger

Side1Skills:
  TargetConditions:
  - fov{a=90;r=90}
  Skills:
  - m{m=SIDE 1} @trigger

Side2Skills:
  TargetConditions:
  - fov{a=90;r=180}
  Skills:
  - m{m=SIDE 2} @trigger

RearSkills:
  TargetConditions:
  - fov{a=90;r=270}
  Skills:
  - m{m=REAR} @trigger
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking