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
  • #369

Closed
Open
Created Mar 25, 2021 by wong ho@wong1140

onDamage onhit attribute

testing:
  Skills:
  - onDamaged{d=200;oS=testing-start;oH=testing-hit} @Self
testing-hit:
   Skills:
  - damage{a=10}
testing-start:
  Skills:
  - msg{m=startskill} @Self

testing2:
  Skills:
  - onDamaged{d=200;oS=testing-start;oH=testing2-hit} @Self
testing2-hit:
   Skills:
  - damage{a=10} @trigger

In this case, the damage skill will damage the caster but not the attacker. I tried @target/@trigger but also not working. I'm using the newest dev version Build 3596 and paper 1.16.4

Edited Mar 25, 2021 by wong ho
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking