Created
December 25, 2013 15:59
-
-
Save Crystalwarrior/8124477 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
| for (%i = 0; %i <= 3; %i++) { | |
| if (%col.hit[%i] && %col.hitType[%i] !$= "") { | |
| echo(%i); | |
| echo(%col.hitType[%i]); | |
| switch (%i) { | |
| case 0: %area = "head"; | |
| case 1: %area = "chest"; | |
| case 2: %area = "legs"; | |
| case 3: %area = "arms"; | |
| } | |
| switch$ (%col.hitType[%i]) { | |
| case "blunt": | |
| %type = "bashed"; | |
| case "sharp": | |
| %type = "stabbed"; | |
| case "bullet": | |
| %type = "shot"; | |
| } | |
| %message = %message @ "<br>\c6They were\c3" SPC %type SPC "\c6in the" SPC %area SPC ( %col.hit[%i] > 1 ? "multiple times." : "once." ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment