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 136
    • Issues 136
    • 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
  • #1375

Closed
Open
Created Oct 28, 2023 by Ghmmy@GhmmyMaintainer

onHit in the onAttack aura wont trigger if the hit{} mechanic is used

Using

  - skill{s=[
    - skill:passive_hit_combo{} @EIC{r=5;a=90}
    - skill:hit{} @EIC{r=5;a=90}
    - sound{s=entity.player.attack.sweep;p=0.3} @self
    ];cooldown=0.3;sync=true} ~onSwing

passive_hit_combo:
  Conditions:
  - targets{a=>0} true
  Skills:
  - onAttack{
    auraName=passive_hit_combo;m=1+2*<skill.var.aura-stacks>/100;
    d=20;ms=10;
    onHit=[
      - particles{p=damage_indicator;a=floor(<skill.var.aura-stacks>/2);vS=0.2;hS=0.2} @targetlocation{maxdistance=2}
      ];
    onStart=[
      - message{m="<skill.var.aura-stacks> hit combo"} @self
      ];
    onEnd=[
      - message{m="combo ended <skill.var.aura-stacks>"} @self
      ];
    } @self

The particles wont appear if you aim next to the mob and hit the entity with the Hit{} EIC mechanic

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking