Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • 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
  • MythicCrucibleMythicCrucible
  • Issues
  • #56

Closed
Open
Created May 19, 2022 by Azorias@Azorias

~OnKill doesnt trigger

When a Crucible item runs a projectile or raytrace skill, when that skill deals damage and kills a mob, that kill will not trigger ~onKill

  - raytrace{entitySkill=CustomWeaponAttack;raywidth=0.2;maxdistance=3} ~onSwing
  - message{m="A mob was slain"} @Server ~onKill

CustomWeaponAttack:
  Skills:
  - damage{amount=20;element=PHYSICAL;preventimmunity=true;ignorearmor=true}

Even though the weapon runs this skill and kills the mob with the effect, the onkill message will never run. The same thing happens with projectile skills as well.

Edited May 19, 2022 by Azorias
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking