# Anim configuration

# supported attributes:
# event          - the game event ID (required, see gameeventids)
# spell-number   - the spell number ID (optional, see spellnumberids)
# monster-spell  - the monster spell ID (optional, see monsterspellids)
# mental-power   - the mental power ID (optional, see mentalpowerids)
# damage-type    - the damage type ID (optional, see damagetypeids)
# cause          - the cause (optional, only used for GE_HITPOINTS_GAINED and GE_HITPOINTS_LOST, see hitpointmodificationcauseids)
# files          - the gfx files directory (required)
# frame-delay    - the delay between frames (in milliseconds, default = 10)
# start-delay    - the delay before the animations starts (in milliseconds, default = 0)
# distance-delay - the delay added based on the distance to the center/origin
# max-frames     - the maximum number of frames (required)
# max-loops      - the maximum number of loops (default = 0)
# anchor         - the animation anchor ('being' [default], 'healthbar' or 'location')

[anim]

### PC spells (source)

event=GE_SPELL_CAST_SOURCE, spell-number=SN_ACIDBALL, files=FX/being/spell/acidball/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_ACID_BOLT, files=FX/being/spell/acid_bolt/frame%02d, max-frames=50, frame-delay=25
event=GE_SPELL_CAST_SOURCE, spell-number=SN_BLESS, files=FX/being/spell/bless/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_BURNING_HANDS, files=FX/being/spell/burning_hands/frame%02d, max-frames=43, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CALM_MONSTER, files=FX/being/spell/calm_monster/frame%02d, max-frames=36, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CREATE_ITEM, files=FX/being/spell/create_item/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CURE_CRITICAL_WOUNDS, files=FX/being/spell/cure_critical_wounds/frame%02d, max-frames=44, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CURE_DISEASE, files=FX/being/spell/cure_disease/frame%02d, max-frames=37, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CURE_LIGHT_WOUNDS, files=FX/being/spell/cure_light_wounds/frame%02d, max-frames=41, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_CURE_SERIOUS_WOUNDS, files=FX/being/spell/cure_serious_wounds/frame%02d, max-frames=40, frame-delay=45
event=GE_SPELL_CAST_SOURCE, spell-number=SN_DARKNESS, files=FX/being/spell/darkness/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_DEATH_RAY, files=FX/being/spell/death_ray/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_DISARM_TRAP, files=FX/being/spell/disarm_trap/frame%02d, max-frames=61, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_DISPEL_UNDEAD, files=FX/being/spell/dispel_undead/frame%02d, max-frames=42, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_EARTHQUAKE, files=FX/being/spell/earthquake/frame%02d, max-frames=59, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_FARSIGHT, files=FX/being/spell/farsight/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_FIRE_BOLT, files=FX/being/spell/fire_bolt/frame%02d, max-frames=42, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_FIREBALL, files=FX/being/spell/fireball/frame%02d, max-frames=39, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_FROST_BOLT, files=FX/being/spell/frost_bolt/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_GREATER_IDENTIFY, files=FX/being/spell/greater_identify/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_HEAL, files=FX/being/spell/heal/frame%02d, max-frames=44, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_ICEBALL, files=FX/being/spell/iceball/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_IDENTIFY, files=FX/being/spell/identify/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_IMPROVED_FIREBALL, files=FX/being/spell/improved_fireball/frame%02d, max-frames=39, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_INVISIBILITY, files=FX/being/spell/invisibility/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_KNOCK, files=FX/being/spell/knock/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_KNOW_ALIGNMENT, files=FX/being/spell/know_alignment/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_LIGHT, files=FX/being/spell/light/frame%02d, max-frames=43, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_LIGHTNINGBALL, files=FX/being/spell/lightningball/frame%02d, max-frames=47, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_LIGHTNING_BOLT, files=FX/being/spell/lightning_bolt/frame%02d, max-frames=43, frame-delay=25
event=GE_SPELL_CAST_SOURCE, spell-number=SN_MAGIC_MAP, files=FX/being/spell/magic_map/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_MAGIC_MISSILE, files=FX/being/spell/magic_missile/frame%02d, max-frames=50, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_MAGIC_LOCK, files=FX/being/spell/magic_lock/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_MYSTIC_SHOVEL, files=FX/being/spell/mystic_shovel/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_NEUTRALIZE_POISON, files=FX/being/spell/neutralize_poison/frame%02d, max-frames=37, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_PETRIFICATION, files=FX/being/spell/petrification/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_REMOVE_CURSE, files=FX/being/spell/remove_curse/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_SCARE_MONSTER, files=FX/being/spell/scare_monster/frame%02d, max-frames=36, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_SELF_KNOWLEDGE, files=FX/being/spell/self_knowledge/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_SLOW_MONSTER, files=FX/being/spell/slow_monster/frame%02d, max-frames=36, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_SLOW_POISON, files=FX/being/spell/slow_poison/frame%02d, max-frames=36, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_STRENGTH_OF_ATLAS, files=FX/being/spell/strength_of_atlas/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_STUN_RAY, files=FX/being/spell/stun_ray/frame%02d, max-frames=42, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_SUMMON_MONSTERS, files=FX/being/spell/summon_monsters/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_TELEPORTATION, files=FX/being/spell/teleportation/frame%02d, max-frames=40, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_WEB_RAY, files=FX/being/spell/web_ray/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_SOURCE, spell-number=SN_WISH, files=FX/being/spell/wish/frame%02d, max-frames=45, frame-delay=35


### PC spells (target)

#event=GE_SPELL_CAST_TARGET, spell-number=, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=35
#event=GE_SPELL_CAST_TARGET, spell-number=, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=35
#event=GE_SPELL_CAST_TARGET, spell-number=, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=35
#event=GE_SPELL_CAST_TARGET, spell-number=, files=FX/being/spell/target_yellow/frame%02d, max-frames=45, frame-delay=35

# blue
event=GE_SPELL_CAST_TARGET, spell-number=SN_INVISIBILITY, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_KNOCK, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25, start-delay=200, anchor=location
event=GE_SPELL_CAST_TARGET, spell-number=SN_KNOW_ALIGNMENT, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_MAGIC_LOCK, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25, start-delay=200, anchor=location
event=GE_SPELL_CAST_TARGET, spell-number=SN_TELEPORTATION, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25, anchor=location

# green
event=GE_SPELL_CAST_TARGET, spell-number=SN_CALM_MONSTER, files=FX/being/spell/target_green/frame%02d, max-frames=45, start-delay=200, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_CURE_LIGHT_WOUNDS, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_CURE_SERIOUS_WOUNDS, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_CURE_CRITICAL_WOUNDS, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_TARGET, spell-number=SN_DISARM_TRAP, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25, anchor=location
event=GE_SPELL_CAST_TARGET, spell-number=SN_HEAL, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_PETRIFICATION, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_SCARE_MONSTER, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25
event=GE_SPELL_CAST_TARGET, spell-number=SN_SLOW_MONSTER, files=FX/being/spell/target_green/frame%02d, max-frames=45, frame-delay=25

# yellow
event=GE_SPELL_CAST_TARGET, spell-number=SN_BLESS, files=FX/being/spell/target_yellow/frame%02d, max-frames=45, frame-delay=35
event=GE_SPELL_CAST_TARGET, spell-number=SN_BURNING_HANDS, files=FX/being/spell/target_yellow/frame%02d, max-frames=45, frame-delay=35

# white
event=GE_SPELL_CAST_TARGET, spell-number=SN_DISPEL_UNDEAD, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=35


### monster spells (source)

event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_COMPLETELY_HEAL_SELF, files=FX/being/spell/heal/frame%02d, max-frames=44, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_CONE_OF_COLD, files=FX/being/spell/frost_bolt/frame%02d, max-frames=45, frame-delay=35
#event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_CONFUSE, files=FX/being/spell/bless/frame%02d, max-frames=19, frame-delay=35
#event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_CURSE_ITEM, files=FX/being/spell/bless/frame%02d, max-frames=19, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_DARKNESS, files=FX/being/spell/darkness/frame%02d, max-frames=40, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_DEATH_RAY, files=FX/being/spell/death_ray/frame%02d, max-frames=45, frame-delay=35
#event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_ENERGY_BOLT, files=FX/being/spell/lightning_bolt/frame%02d, max-frames=19, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_INVISIBILITY, files=FX/being/spell/invisibility/frame%02d, max-frames=40, frame-delay=35
#event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_LOWER_ATTRIBUTES, files=FX/being/spell/bless/frame%02d, max-frames=19, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_MAGIC_MISSILES, files=FX/being/spell/magic_missile/frame%02d, max-frames=50, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_MODERATELY_HEAL_SELF, files=FX/being/spell/cure_serious_wounds/frame%02d, max-frames=40, frame-delay=35
#event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_SHOCK_BOLT, files=FX/being/spell/lightning_bolt/frame%02d, max-frames=19, frame-delay=35
event=GE_MONSTER_SPELL_CAST_SOURCE, monster-spell=MSN_TELEPORT_OTHER, files=FX/being/spell/teleportation/frame%02d, max-frames=40, frame-delay=35


### monster spells (target)

#event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=1
#event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=, files=FX/being/spell/target_green/frame%02d, max-frames=42, frame-delay=1
#event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=1
#event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=, files=FX/being/spell/target_yellow/frame%02d, max-frames=45, frame-delay=1

event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=MSN_CONFUSE, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25
event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=MSN_CURSE_ITEM, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25, anchor=location
event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=MSN_LOWER_ATTRIBUTES, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25
event=GE_MONSTER_SPELL_CAST_TARGET, monster-spell=MSN_TELEPORT_OTHER, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25


### PC mindcraft (source)

event=GE_MINDCRAFT_INVOKED, mental-power=MC_CONFUSION_BLAST, files=FX/being/mindcraft/confusion_blast/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_CONFUSION_WAVE, files=FX/being/mindcraft/confusion_wave/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_GREATER_MENTAL_BLAST, files=FX/being/mindcraft/greater_mental_blast/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_GREATER_MENTAL_WAVE, files=FX/being/mindcraft/greater_mental_wave/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_GREATER_TELEKINETIC_BLAST, files=FX/being/mindcraft/greater_telekinetic_blast/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_MENTAL_SHIELD, files=FX/being/mindcraft/mental_shield/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_MIND_BLAST, files=FX/being/mindcraft/mind_blast/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_MIND_WAVE, files=FX/being/mindcraft/mind_wave/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_RADAR_SENSE, files=FX/being/mindcraft/radar_sense/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_REGENERATION, files=FX/being/mindcraft/regeneration/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_TELEKINETIC_BLAST, files=FX/being/mindcraft/telekinetic_blast/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_TELEPORT_CONTROL, files=FX/being/mindcraft/teleportation_control/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_TELEPORT_OTHER, files=FX/being/mindcraft/teleport_other/frame%02d, max-frames=39, frame-delay=25
event=GE_MINDCRAFT_INVOKED, mental-power=MC_TELEPORT_SELF, files=FX/being/mindcraft/teleport_self/frame%02d, max-frames=39, frame-delay=25


### explosion area

event=GE_EXPLOSION_AREA, damage-type=DT_ACID, files=FX/area/acid-explosion/frame%02d, max-frames=19, frame-delay=35, anchor=location

event=GE_EXPLOSION_AREA, damage-type=DT_FIRE, files=FX/area/fire-explosion/frame%02d, max-frames=11, frame-delay=35, anchor=location
event=GE_EXPLOSION_AREA, damage-type=DT_FIRE, files=FX/area/fire-explosion_02/frame%02d, max-frames=19, frame-delay=35, anchor=location
event=GE_EXPLOSION_AREA, damage-type=DT_FIRE, files=FX/area/fire-explosion_03/frame%02d, max-frames=11, frame-delay=35, anchor=location

event=GE_EXPLOSION_AREA, damage-type=DT_ICE, files=FX/area/ice-explosion/frame%02d, max-frames=13, frame-delay=35, anchor=location

event=GE_EXPLOSION_AREA, damage-type=DT_LIGHTNING, files=FX/area/lightning-explosion/frame%02d, max-frames=13, frame-delay=35, anchor=location


### mindcraft area

event=GE_MINDCRAFT_AREA, effect-number=ET_CONFUSION, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=15, anchor=location
event=GE_MINDCRAFT_AREA, effect-number=ET_BLAST, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=15, anchor=location


### brightness area

event=GE_BRIGHTNESS_AREA, area-brightness=AB_NONE, files=FX/being/spell/target_blue/frame%02d, max-frames=50, frame-delay=25, distance-delay=30, anchor=location
event=GE_BRIGHTNESS_AREA, area-brightness=AB_FULL, files=FX/being/spell/target_yellow/frame%02d, max-frames=45, frame-delay=0, distance-delay=30, anchor=location


### dig area

event=GE_DIG_AREA, files=FX/being/spell/target_white/frame%02d, max-frames=44, frame-delay=15, distance-delay=30, anchor=location


### hitpoints lost

#event=GE_HITPOINTS_LOST, cause=HMC_ATTACK, files=FX/being/damage/slash_01/frame%02d, max-frames=6, frame-delay=35
#event=GE_HITPOINTS_LOST, cause=HMC_ATTACK, files=FX/being/damage/slash_02/frame%02d, max-frames=6, frame-delay=35
#event=GE_HITPOINTS_LOST, cause=HMC_ATTACK, files=FX/being/damage/slash_03/frame%02d, max-frames=6, frame-delay=35

event=GE_HITPOINTS_LOST, cause=HMC_ATTACK, files=FX/being/damage/hit_01/frame%02d, max-frames=10, frame-delay=35

event=GE_HITPOINTS_LOST, cause=HMC_BLEED, files=FX/being/damage/bleed/frame%02d, max-frames=18, frame-delay=35, anchor=healthbar
event=GE_HITPOINTS_LOST, cause=HMC_POISON, files=FX/being/damage/poison/frame%02d, max-frames=12, frame-delay=35



# TODO: respect monster height?

event=GE_WEAPON_USED, direction=N,  hit-type=NO_HIT, mirror-x=NO,  mirror-y=YES, offset-x=0,  offset-y=30, files=FX/being/attack/swish_white/3frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=NE, hit-type=NO_HIT, mirror-x=NO,  mirror-y=YES, offset-x=30, offset-y=50, files=FX/being/attack/swish_white/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=E,  hit-type=NO_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=30, offset-y=10, files=FX/being/attack/swish_white/2frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=SE, hit-type=NO_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=30, offset-y=40, files=FX/being/attack/swish_white/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=S,  hit-type=NO_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=0,  offset-y=30, files=FX/being/attack/swish_white/3frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=SW, hit-type=NO_HIT, mirror-x=YES, mirror-y=NO,  offset-x=30, offset-y=40, files=FX/being/attack/swish_white/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=W,  hit-type=NO_HIT, mirror-x=YES, mirror-y=NO,  offset-x=30, offset-y=10, files=FX/being/attack/swish_white/2frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=NW, hit-type=NO_HIT, mirror-x=YES, mirror-y=YES, offset-x=30, offset-y=50, files=FX/being/attack/swish_white/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR

event=GE_WEAPON_USED, direction=N,  hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=NO,  mirror-y=YES, offset-x=0,  offset-y=30, files=FX/being/attack/swish_red/3frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=NE, hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=NO,  mirror-y=YES, offset-x=30, offset-y=50, files=FX/being/attack/swish_red/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=E,  hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=30, offset-y=10, files=FX/being/attack/swish_red/2frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=SE, hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=30, offset-y=40, files=FX/being/attack/swish_red/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=S,  hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=NO,  mirror-y=NO,  offset-x=0,  offset-y=30, files=FX/being/attack/swish_red/3frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=SW, hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=YES, mirror-y=NO,  offset-x=30, offset-y=40, files=FX/being/attack/swish_red/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=W,  hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=YES, mirror-y=NO,  offset-x=30, offset-y=10, files=FX/being/attack/swish_red/2frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR
event=GE_WEAPON_USED, direction=NW, hit-type=NORMAL_HIT | CRITICAL_HIT, mirror-x=YES, mirror-y=YES, offset-x=30, offset-y=50, files=FX/being/attack/swish_red/frame%02d, max-frames=6, frame-delay=30, item-weapon-type=IWT_DAGGER|IWT_KNIFE|IWT_CLUB|IWT_SWORD|IWT_SHORTSWORD|IWT_BROADSWORD|IWT_SABRE|IWT_RAPIER|IWT_SCIMITAR|IWT_AXE|IWT_SICKLE|IWT_HANDAXE|IWT_PICKAXE|IWT_STAFF|IWT_MACE|IWT_FLAIL|IWT_MORNINGSTAR|IWT_HAMMER|IWT_SPEAR|IWT_SHORT_SPEAR|IWT_SCALPEL|IWT_WHIP|IWT_HALBERD|IWT_TRIDENT|IWT_SCYTHE|IWT_2HANDED_CLUB|IWT_2HANDED_HAMMER|IWT_2HANDED_AXE|IWT_2HANDED_SWORD|IWT_2HANDED_SPEAR


### Item used

# TODO: add item check
event=GE_ITEM_USED, files=FX/being/special/note%02d, max-frames=4, frame-delay=150, max-loops=7, offset-y=-30
