This file contains 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
void main() | |
{ | |
void self; // Entity running event | |
void other; // Entity attacking or receiving vs. self. | |
int which; // Attacker or defender event? | |
int id_hit_by; // Entity ID of entity attack hit. | |
int id_attack; // Entity ID of entity that performed attack. | |
void type; | |
type = getlocalvar("attacktype");// Get attack type |