#define EOR_MM_BLOOD_PRICE_EVENT PRICE [event] name=attacker hits, attacker misses id=eor_blood_price_event first_time_only=no [filter_attack] special=blood_price [/filter_attack] [harm_unit] [filter] find_in=unit [/filter] fire_event=yes animate=yes amount={PRICE} [/harm_unit] [/event] #enddef #define EOR_MM_BLOOD_PRICE_DESCRIPTION PRICE [dummy] id=blood_price name= _ "blood price" description= _ "Casting spell cost {PRICE} health points." [/dummy] #enddef #to be included in [specials] tag #define WEAPON_SPECIAL_BLOOD_PRICE_FIXED PRICE #wmllint: unbalanced-off #wmlxgettext: [attack] #wmlxgettext: [specials] {EOR_MM_BLOOD_PRICE_DESCRIPTION {PRICE}} [/specials] [/attack] {EOR_MM_BLOOD_PRICE_EVENT {PRICE}} [+attack] [+specials] #wmlxgettext: [/specials] #wmlxgettext: [/attack] #wmllint: unbalanced-on #enddef