Created
September 17, 2018 04:07
-
-
Save ItsDoot/e2e0a6b636519c620ddc211918ec1f89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| suspend fun AbilityContext.runIt() { | |
| // do stuff... | |
| val event = listenForTargeted<DestructEntityEvent>(player) // Player died! | |
| // end ability since dead | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment