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

Closed
Open
Created Jun 12, 2022 by 0tickpulse@0tickpulse

Projectile Hit/End trigger

I have a centralized skill system (i.e. different items use the same skill). An example of a centralized skill is a bow shoot skill:

BowShoot:
  Skills:
  - projectile{etc} @forward{f=100}

However, what if you want a bow with an effect that applies when the projectile hits an enemy?

Currently, you would have to make a custom shoot skill just for that item. However, a better way would be to do this:

CoolBow:
  Id: BOW
  Skills:
  - skill{s=BowShoot} ~onSwing
  - message{m='Test'} ~onProjectileEnd
  - message{m='Hit!'} ~onProjectileHit
Edited May 08, 2025 by Brickgard
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking