Skip to content

Instantly share code, notes, and snippets.

View dbaldan's full-sized avatar

dbaldan

View GitHub Profile
@dbaldan
dbaldan / nohit.c
Created August 17, 2018 16:59
ondoattackscript
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