#include <sys/types.h> #include <stdio.h> #include <time.h> #include "merc.h" #include "magic.h" #include "interp.h" #define SLOT(n) n struct skill_type skill_table[MAX_SKILL] = { {"reserved", {}, {}, 0, TAR_IGNORE, POS_STANDING, NULL, SLOT (0), 0, 0, "", "", ""}, {"acid breath", {}, {}, spell_acid_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (1), 200, 8, "blast of acid", "!Acid Breath!", ""}, {"adept", {}, {}, spell_adept, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (2), 152, 8, "", "You are no longer adept at reconizing spells.", ""}, {"anti-magic shell", {}, {}, spell_anti_magic_shell, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (3), 550, 8, "", "{MYour anti-magic shell dissapates.{x", ""}, {"armor", {}, {}, spell_armor, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (4), 5, 12, "", "You feel less armored.", ""}, {"bane", {}, {}, spell_1_bane, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (82), 20, 8, "", "Your are no longer afflicted with bane.", ""}, {"bark skin", {}, {}, spell_bark_skin, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (5), 22, 12, "", "Your skin returns to normal.", ""}, {"bless", {}, {}, spell_1_bless, TAR_OBJ_CHAR_DEF, POS_STANDING, NULL, SLOT (6), 10, 8, "", "You feel less righteous.", "$p's holy aura fades."}, {"blindness", {}, {}, spell_blindness, TAR_CHAR_OFFENSIVE, POS_FIGHTING, &gsn_blindness, SLOT (7), 5, 12, "", "You can see again.", ""}, {"brushfire", {}, {}, spell_brushfire, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (8), 112, 8, "{Yb{yr{rushfi{yr{Ye", "", ""}, {"burning hands", {}, {}, spell_burning_hands, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (9), 15, 8, "burning hands", "!Burning Hands!", ""}, {"acid blast", {}, {}, spell_burning_hands, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (10), 49, 8, "burning hands", "!Burning Hands!", ""}, {"call lightning", {}, {}, spell_call_lightning, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (6), 15, 12, "lightning bolt", "!Call Lightning!", ""}, {"calm", {}, {}, spell_calm, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (509), 30, 12, "", "You have lost your peace of mind.", ""}, {"calm animal", {}, {}, spell_calm_animal, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (509), 30, 12, "", "You have lost your peace of mind.", ""}, {"cancellation", {}, {}, spell_cancellation, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (599), 30, 12, "", "You have lost your peace of mind.", ""}, {"cause critical", {}, {}, spell_cause_critical, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (63), 20, 12, "spell", "!Cause Critical!", ""}, {"cause light wounds", {}, {}, spell_1_cause_light, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (62), 10, 8, "spell", "!Cause Light!", ""}, {"cause serious", {}, {}, spell_cause_serious, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (64), 17, 12, "spell", "!Cause Serious!", ""}, {"chain lightning", {}, {}, spell_chain_lightning, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (500), 25, 12, "lightning", "!Chain Lightning!", ""}, {"change sex", {53, 53, 53, 53}, {}, spell_change_sex, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (82), 15, 12, "", "Your body feels familiar again.", ""}, {"charm person", {}, {}, spell_charm_person, TAR_CHAR_OFFENSIVE, POS_STANDING, &gsn_charm_person, SLOT (7), 60, 8, "", "You feel more self-confident.", ""}, {"chill touch", {}, {}, spell_chill_touch, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (8), 15, 8, "chilling touch", "You feel less cold.", ""}, {"colour spray", {}, {}, spell_colour_spray, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (10), 10, 6, "colour spray", "!Colour Spray!", ""}, {"continual light", {}, {}, spell_1_continual_light, TAR_IGNORE, POS_STANDING, NULL, SLOT (57), 20, 8, "", "!Continual Light!", ""}, {"control weather", {}, {}, spell_control_weather, TAR_IGNORE, POS_STANDING, NULL, SLOT (11), 25, 12, "", "!Control Weather!", ""}, {"counterspell", {}, {}, spell_counterspell, TAR_CHAR_OFFENSIVE, POS_STANDING, NULL, SLOT (30), 311, 1, "counterspell", "!counterspell!", ""}, {"create food", {}, {}, spell_create_food, TAR_IGNORE, POS_STANDING, NULL, SLOT (12), 9, 4, "", "!Create Food!", ""}, {"create rose", {}, {}, spell_create_rose, TAR_IGNORE, POS_STANDING, NULL, SLOT (511), 6, 4, "", "!Create Rose!", ""}, {"create spring", {}, {}, spell_create_spring, TAR_IGNORE, POS_STANDING, NULL, SLOT (80), 7, 4, "", "!Create Spring!", ""}, {"create water", {}, {}, spell_create_water, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (13), 5, 12, "", "!Create Water!", ""}, {"cure blindness", {}, {}, spell_cure_blindness, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (14), 5, 12, "", "!Cure Blindness!", ""}, {"cure critical", {}, {}, spell_cure_critical, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (15), 20, 12, "", "!Cure Critical!", ""}, {"cure disease", {}, {}, spell_cure_disease, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (501), 20, 12, "", "!Cure Disease!", ""}, {"cure light", {}, {}, spell_cure_light, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (16), 10, 12, "", "!Cure Light!", ""}, {"cure light wounds", {}, {}, spell_1_cure_light, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (16), 10, 8, "", "!Cure Light!", ""}, { "cure poison", {}, {}, spell_cure_poison, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (43), 5, 12, "", "!Cure Poison!", ""}, { "cure serious", {}, {}, spell_cure_serious, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (61), 15, 12, "", "!Cure Serious!", ""}, { "curse", {}, {}, spell_curse, TAR_OBJ_CHAR_OFF, POS_FIGHTING, &gsn_curse, SLOT (17), 20, 10, "curse", "The curse wears off.", "$p is no longer impure."}, {"death ritual", {}, {}, spell_death_ritual, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (18), 20, 12, "", "Your death ritual fades..", ""}, { "death touch", {}, {}, spell_death_touch, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (505), 30, 18, "evil touch", "!Death touch!", ""}, { "demonfire", {}, {}, spell_demonfire, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (505), 20, 12, "torments", "!Demonfire!", ""}, { "detect evil", {}, {}, spell_detect_evil, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (18), 5, 12, "", "The red in your vision disappears.", ""}, { "detect good", {}, {}, spell_detect_good, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (513), 5, 12, "", "The gold in your vision disappears.", ""}, { "detect hidden", {}, {}, spell_2_detect_hidden, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (44), 40, 8, "", "You feel less aware of your surroundings.", ""}, { "detect invis", {}, {}, spell_2_detect_invis, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (19), 40, 8, "", "You no longer see invisible objects.", ""}, { "detect magic", {}, {}, spell_detect_magic, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (20), 5, 12, "", "The detect magic wears off.", ""}, { "detect poison", {}, {}, spell_detect_poison, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (21), 5, 12, "", "!Detect Poison!", ""}, { "dispel evil", {}, {}, spell_dispel_evil, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (22), 15, 12, "dispel evil", "!Dispel Evil!", ""}, { "dispel good", {}, {}, spell_dispel_good, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (512), 15, 12, "dispel good", "!Dispel Good!", ""}, { "dispel magic", {}, {}, spell_dispel_magic, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (59), 15, 12, "", "!Dispel Magic!", ""}, {"divinity", {}, {}, spell_divinity, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (902), 3, 10, "holy divinity", "!divinity!", ""}, { "earthquake", {}, {}, spell_earthquake, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (23), 15, 12, "earthquake", "!Earthquake!", ""}, { "enchant armor", {}, {}, spell_enchant_armor, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (510), 100, 24, "", "!Enchant Armor!", ""}, { "enchant weapon", {}, {}, spell_enchant_weapon, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (24), 100, 24, "", "!Enchant Weapon!", ""}, { "energy drain", {}, {}, spell_energy_drain, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (25), 107, 8, "energy drain", "!Energy Drain!", ""}, { "erode", {}, {}, spell_erode, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (516), 15, 12, "spell", "Your body no longer is eroding.", ""}, { "faerie fire", {}, {}, spell_faerie_fire, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (72), 5, 12, "faerie fire", "The pink aura around you fades away.", ""}, { "faerie fog", {}, {}, spell_faerie_fog, TAR_IGNORE, POS_STANDING, NULL, SLOT (73), 12, 12, "faerie fog", "!Faerie Fog!", ""}, { "farsight", {}, {}, spell_farsight, TAR_IGNORE, POS_STANDING, NULL, SLOT (521), 36, 20, "farsight", "!Farsight!", ""}, {"fear", {}, {}, spell_fear, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (5), 10, 4, "fear", "You are no longer hindered by you fears.", ""}, {"force spike", {}, {}, spell_force_spike, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (902), 47, 10, "force spike", "Your magical energies are no longer spiked.", ""}, {"fireball", {}, {}, spell_3_wiz_fireball, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (26), 125, 8, "wizard's fireball", "!Fireball!", ""}, { "fireproof", {}, {}, spell_fireproof, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (523), 10, 12, "", "", "$p's protective aura fades."}, {"fire storm", {}, {}, spell_fire_storm, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (65), 2142, 12, "{Rf{rir{Re {Rs{rtor{Rm{x", "!Flamestrike!", ""}, {"fire crush", {}, {}, spell_fire_crush, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (950), 1210, 8, "firey crush", "!fire crush!", ""}, {"fire fury", {}, {}, spell_fire_furry, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (950), 550, 8, "fire of furry", "!fire furry!", ""}, {"flamestrike", {}, {}, spell_flamestrike, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (65), 20, 12, "flamestrike", "!Flamestrike!", ""}, {"fly", {}, {}, spell_fly, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (56), 10, 18, "", "You slowly float to the ground.", ""}, {"flight", {}, {}, spell_2_flight, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (56), 45, 18, "", "You slowly float to the ground.", ""}, {"floating disc", {}, {}, spell_floating_disc, TAR_IGNORE, POS_STANDING, NULL, SLOT (522), 40, 24, "", "!Floating disc!", ""}, {"frenzy", {}, {}, spell_frenzy, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (504), 30, 24, "", "Your rage ebbs.", ""}, {"gate", {}, {}, spell_gate, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (83), 490, 8, "", "!Gate!", ""}, {"giant strength", {}, {}, spell_giant_strength, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (39), 20, 12, "", "You feel weaker.", ""}, {"grudge", {}, {}, spell_grudge, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (902), 2, 10, "grudge", "!grudge!", ""}, {"hand of death", {}, {}, spell_hand_of_death, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (516), 476, 10, "deathly hand", "!hand of death!", ""}, {"harm", {}, {}, spell_harm, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (27), 35, 12, "harm spell", "!Harm!", ""}, {"haste", {}, {}, spell_3_haste, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (502), 105, 8, "", "You feel yourself slow down.", ""}, {"heal", {}, {}, spell_heal, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (28), 50, 12, "", "!Heal!", ""}, {"heat metal", {}, {}, spell_heat_metal, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (516), 25, 18, "spell", "!Heat Metal!", ""}, {"holy word", {}, {}, spell_holy_word, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (506), 200, 24, "divine wrath", "!Holy Word!", ""}, {"holy sight", {}, {}, spell_holy_sight, TAR_OBJ_CHAR_DEF, POS_STANDING, NULL, SLOT (3), 15, 12, "", "Your divine sight fades.", ""}, {"hurricane", {}, {}, spell_hurricane, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (23), 145, 8, "{Gh{gurrican{Ge{x", "", ""}, {"ice bolt", {}, {}, spell_3_ice_bolt, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (26), 115, 8, "ice bolt", "You feel less cold", ""}, {"identify", {}, {}, spell_identify, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (53), 10, 2, "", "!Identify!", ""}, {"immolate", {}, {}, spell_immolate, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (56), 10, 8, "", "{RYour body no longer burns with a hellish fire.{x", ""}, {"infravision", {}, {}, spell_infravision, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (77), 5, 4, "", "You no longer see in the dark.", ""}, {"invisibility", {}, {}, spell_invis, TAR_OBJ_CHAR_DEF, POS_STANDING, &gsn_invis, SLOT (29), 47, 8, "", "You are no longer invisible.", "$p fades into view."}, {"juxtapose", {}, {}, spell_juxtapose, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (30), 2500, 8, "juxtapose", "!juxtapose!", ""}, { "see alignment", {}, {}, spell_know_alignment, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (58), 10, 1, "", "!Know Alignment!", ""}, {"knock", {}, {}, spell_knock, TAR_IGNORE, POS_STANDING, NULL, SLOT (73), 90, 5, "", "", ""}, {"lightning", {}, {}, spell_3_lightning, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (26), 120, 8, "lightning strike", "You feel less dazed.", ""}, {"lightning bolt", {}, {}, spell_lightning_bolt, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (30), 15, 12, "lightning bolt", "!Lightning Bolt!", ""}, {"leech strength", {}, {}, spell_2_leech_strength, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 50, /* wait */8, "strength leech", "You feel stronger.", ""}, {"lesser invisibility", {}, {}, spell_1_lesser_invis, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (16), 20, 8, "invis", "You fade back into view.", ""}, {"locate object", {}, {}, spell_locate_object, TAR_IGNORE, POS_STANDING, NULL, SLOT (31), 35, 8, "", "!Locate Object!", ""}, {"manashield", {}, {}, spell_mana_shield, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (77), 100, 8, "", "You no longer shield yourself behind your mana.", ""}, {"malady", {}, {}, spell_malady, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (30), 100, 12, "malady", "{mYour body is no longer sick.{x", ""}, {"magic missile", {}, {}, spell_1_magic_missile, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 5, /* wait */8, "magic missile", "!Magic Missile!", ""}, {"mass healing", {}, {}, spell_mass_healing, TAR_IGNORE, POS_STANDING, NULL, SLOT (508), 100, 36, "", "!Mass Healing!", ""}, {"mass invis", {}, {}, spell_mass_invis, TAR_IGNORE, POS_STANDING, &gsn_mass_invis, SLOT (69), 20, 24, "", "You are no longer invisible.", ""}, {"mend", {}, {}, spell_1_mend, TAR_CHAR_DEFENSIVE, POS_FIGHTING, NULL, SLOT (16), 10, 8, "mend", "!Mend!", ""}, {"meteor swarm", {}, {}, spell_meteor_swarm, TAR_CHAR_OFFENSIVE, POS_STANDING, NULL, SLOT (30), 310, 8, "swarm of meteors", "!meteor swarm!", ""}, {"nexus", {40, 35, 50, 45}, {}, spell_nexus, TAR_IGNORE, POS_STANDING, NULL, SLOT (520), 150, 36, "", "!Nexus!", ""}, {"orcish strength", {}, {}, spell_1_orc_strength, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (39), 20, 8, "", "You feel weaker.", ""}, {"pass door", {}, {}, spell_pass_door, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (74), 40, 8, "", "You feel solid again.", ""}, {"plague", {}, {}, spell_plague, TAR_CHAR_OFFENSIVE, POS_FIGHTING, &gsn_plague, SLOT (503), 20, 12, "sickness", "Your sores vanish.", ""}, {"poison", {}, {}, spell_poison, TAR_OBJ_CHAR_OFF, POS_FIGHTING, &gsn_poison, SLOT (33), 10, 12, "poison", "You feel less sick.", "The poison on $p dries up."}, {"power word kill", {}, {}, spell_power_word_kill, TAR_CHAR_OFFENSIVE, POS_STANDING, NULL, SLOT (30), 2250, 12, "power word kill", "!power word kill!", ""}, {"power word stun", {}, {}, spell_power_word_stun, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (30), 1100, 12, "power word stun", "!power word stun!", ""}, {"power word blind", {}, {}, spell_power_word_blind, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (30), 524, 12, "power word blind", "!power word blind!", ""}, {"portal", {}, {}, spell_portal, TAR_IGNORE, POS_STANDING, NULL, SLOT (519), 100, 24, "", "!Portal!", ""}, {"protection from evil", {}, {}, spell_2_prot_evil, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (34), 50, 8, "", "You feel less protected.", ""}, {"protection from good", {}, {}, spell_2_prot_good, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (514), 50, 8, "", "You feel less protected.", ""}, {"rain of flame", {}, {}, spell_rain_of_flame, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (955), 299, 8, "{Rrain of {rf{Rl{ra{Rm{re{Rs{x", "!rain of flame!", ""}, {"ray of truth", {}, {}, spell_ray_of_truth, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (518), 20, 12, "ray of truth", "!Ray of Truth!", ""}, {"recharge", {}, {}, spell_recharge, TAR_OBJ_INV, POS_STANDING, NULL, SLOT (517), 60, 24, "", "!Recharge!", ""}, {"refresh", {}, {}, spell_refresh, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (81), 12, 8, "refresh", "!Refresh!", ""}, {"replenish", {}, {}, spell_replenish, TAR_IGNORE, POS_STANDING, NULL, SLOT (519), 50, 24, "", "You feel less drained now.", ""}, {"rejuvination", {}, {}, spell_rejuvination, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (81), 200, 4, "refresh", "{MYour body no longer rejuvinates itself.", ""}, {"restoration", {}, {}, spell_restoration, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (900), 20, 12, "", "!Restoration!", ""}, {"remove curse", {}, {}, spell_remove_curse, TAR_OBJ_CHAR_DEF, POS_STANDING, NULL, SLOT (35), 5, 12, "", "!Remove Curse!", ""}, {"sacred cloak", {}, {}, spell_scared_cloak, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (901), 5, 12, "", "!scared cloak!", ""}, {"scared flame", {}, {}, spell_sacred_flame, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (902), 3, 10, "sacred flame", "!sacared flame!", ""}, {"sanctify", {}, {}, spell_sanctify, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (903), 8, 12, "", "Your heart beats faster as your sanctify runs out.", ""}, {"sanctuary", {}, {}, spell_sanctuary, TAR_CHAR_DEFENSIVE, POS_STANDING, &gsn_sanctuary, SLOT (36), 75, 12, "", "The white aura around your body fades.", ""}, {"shield", {}, {}, spell_2_shield, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (67), 60, 8, "", "Your force shield shimmers then fades away.", ""}, {"spark", {}, {}, spell_2_shock, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 45, /* wait */8, "spark", "!spark!", ""}, {"shocking grasp", {}, {}, spell_shocking_grasp, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (53), 15, 12, "shocking grasp", "!Shocking Grasp!", ""}, {"speak with animals", {}, {}, spell_speak_with_animal, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (53), 15, 12, "shocking grasp", "!Shocking Grasp!", ""}, {"sleep", {}, {}, spell_sleep, TAR_CHAR_OFFENSIVE, POS_STANDING, &gsn_sleep, SLOT (38), 55, 12, "", "You feel less tired.", ""}, {"slow", {}, {}, spell_slow, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (515), 52, 8, "", "You feel yourself speed up.", ""}, {"stone skin", {}, {}, spell_stone_skin, TAR_CHAR_SELF, POS_STANDING, NULL, SLOT (66), 50, 8, "", "Your skin feels soft again.", ""}, {"summon", {}, {}, spell_summon, TAR_IGNORE, POS_STANDING, NULL, SLOT (40), 50, 12, "", "!Summon!", ""}, {"suppression", {}, {}, spell_suppression, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (53), 230, 8, "suppression", "{RYou feel your magic abilities return to normal!{x", ""}, {"sun ritual", {}, {}, spell_sun_ritual, TAR_CHAR_DEFENSIVE, POS_STANDING, NULL, SLOT (901), 20, 12, "", "You no longer feel the strength of the sun.", ""}, {"teleport", {}, {}, spell_teleport, TAR_CHAR_SELF, POS_FIGHTING, NULL, SLOT (2), 35, 12, "", "!Teleport!", ""}, {"toxic cloud", {}, {}, spell_toxic_cloud, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (505), 150, 8, "toxic cloud", "!toxic cloud!", ""}, {"ventriloquate", {}, {}, spell_ventriloquate, TAR_IGNORE, POS_STANDING, NULL, SLOT (41), 5, 12, "", "!Ventriloquate!", ""}, {"weaken", {}, {}, spell_weaken, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (68), 20, 12, "spell", "You feel stronger.", ""}, {"wizard eye", {}, {}, spell_3_wizard_eye, TAR_IGNORE, POS_STANDING, NULL, SLOT (73), 100, 8, "", "", ""}, {"wizard fire", {}, {}, spell_1_wizard_fire, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 20, /* wait */8, "wizard's fire", "!Wizard's Fire!", ""}, {"wizard frost", {}, {}, spell_1_wizard_frost, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 20, /* wait */8, "wizard's frost", "!Wizard's frost!", ""}, {"wizard spark", {}, {}, spell_1_wizard_spark, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (32), /* mana */ 20, /* wait */8, "wizard's spark", "!Wizard's spark!", ""}, {"word of recall", {}, {}, spell_word_of_recall, TAR_CHAR_SELF, POS_RESTING, NULL, SLOT (42), 5, 12, "", "!Word of Recall!", ""}, {"word of god", {}, {}, spell_word_of_god, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (68), 25, 12, "word of god", "", ""}, {"fire breath", {}, {}, spell_fire_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (201), 200, 24, "blast of flame", "The smoke leaves your eyes.", ""}, {"frost breath", {}, {}, spell_frost_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (202), 125, 24, "blast of frost", "!Frost Breath!", ""}, {"gas breath", {}, {}, spell_gas_breath, TAR_IGNORE, POS_FIGHTING, NULL, SLOT (203), 175, 24, "blast of gas", "!Gas Breath!", ""}, {"lightning breath", {}, {}, spell_lightning_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING, NULL, SLOT (204), 150, 24, "blast of lightning", "!Lightning Breath!", ""}, {"axe", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_axe, SLOT (0), 0, 0, "", "!Axe!", ""}, {"dagger", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_dagger, SLOT (0), 0, 0, "", "!Dagger!", ""}, {"flail", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_flail, SLOT (0), 0, 0, "", "!Flail!", ""}, {"mace", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_mace, SLOT (0), 0, 0, "", "!Mace!", ""}, {"polearm", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_polearm, SLOT (0), 0, 0, "", "!Polearm!", ""}, {"spear", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_spear, SLOT (0), 0, 0, "", "!Spear!", ""}, {"sword", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_sword, SLOT (0), 0, 0, "", "!sword!", ""}, {"whip", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_whip, SLOT (0), 0, 0, "", "!Whip!", ""}, {"agility", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_agility, SLOT(0), 12, 12, "", "", ""}, {"backstab", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_backstab, SLOT (0), 0, 24, "backstab", "!Backstab!", ""}, {"bash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_bash, SLOT (0), 0, 24, "bash", "!Bash!", ""}, {"berserk", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_berserk, SLOT (0), 0, 24, "", "You feel your pulse slow down.", ""}, {"blindfighting", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_blindfighting, SLOT(0), 0, 12, "", "", ""}, {"butterfly slash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_butterfly_cut, SLOT( 0), 0, 0, "butterfly slash", "!butterfly_cut!", ""}, {"called shot", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_called_shot, SLOT(0), 12, 12, "called shot", "", ""}, {"circle", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_circle, SLOT(0), 12, 12, "circle", "", ""}, {"critical hit", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_critical_hit, SLOT(0), 12, 12, "circle", "", ""}, {"cross slash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_cross_cut, SLOT( 0), 0, 0, "cross slash", "!crosscut!", ""}, {"counterattack", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_counterattack, SLOT(0), 0, 12, "", "", ""}, {"dirt kicking", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_dirt, SLOT (0), 0, 12, "kicked dirt", "You rub the dirt out of your eyes.", ""}, {"disarm", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_disarm, SLOT (0), 0, 4, "", "!Disarm!", ""}, {"drill", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_drill, SLOT(0), 12, 12, "vicious drill", "", ""}, {"dodge", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_dodge, SLOT (0), 0, 0, "", "!Dodge!", ""}, {"dual weapons", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_dual, SLOT(0), 0, 12, "", "", ""}, {"duck", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_duck, SLOT (0), 0, 0, "", "!Duck!", ""}, {"enhanced damage", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_enhanced_damage, SLOT (0), 0, 0, "", "!Enhanced Damage!", ""}, {"envenom", {}, {}, spell_null, TAR_IGNORE, POS_RESTING, &gsn_envenom, SLOT (0), 0, 36, "", "!Envenom!", ""}, {"far shot", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_far_shot, SLOT(0), 12, 12, "far shot", "", ""}, {"rapid shot", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_rapid_shot, SLOT(0), 12, 12, "rapid shot", "", ""}, {"flurry", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_flurry, SLOT (0), 0, 8, "flurry of blows", "!flurry!", ""}, {"fifth attack", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_fifth_attack, SLOT (0), 0, 0, "", "!Fifth Attack!", ""}, {"forward slash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_slash_cut, SLOT( 0), 0, 0, "forward slash", "!slash_cut!", ""}, {"fourth attack", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_fourth_attack, SLOT (0), 0, 0, "", "!Fourth Attack!", ""}, {"hand to hand", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_hand_to_hand, SLOT (0), 0, 0, "", "!Hand to Hand!", ""}, {"high strike", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_high_strike, SLOT( 0), 0, 0, "high strike", "!high_strike!", ""}, {"jab", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_stab, SLOT( 0), 0, 0, "jab", "!stab!", ""}, {"jugular slice", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_jugular_slice, SLOT(0), 0, 0, "", "", ""}, {"kneel strike", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_kneel, SLOT( 0), 0, 0, "kneel strike", "!kneel!", ""}, {"moving shot", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_moving_shot, SLOT(0), 12, 12, "moving shot", "", ""}, {"parry", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_parry, SLOT (0), 0, 0, "", "!Parry!", ""}, {"point blank shot", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_point_blank_shot, SLOT(0), 12, 12, "point blank shot", "", ""}, {"leap", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_leap, SLOT (0), 0, 0, "", "!Leap!", ""}, {"rescue", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_rescue, SLOT (0), 0, 12, "", "!Rescue!", ""}, {"reverse circle", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_sword_circle, SLOT( 0), 0, 0, "reversed circle", "!sword_circle!", ""}, {"reverse spin strike", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_reverse_spin, SLOT( 0), 0, 0, "reverse spin strike", "!reverse_spin!", ""}, {"roll", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_roll, SLOT (0), 0, 0, "", "!Roll!", ""}, {"rush", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_rush, SLOT (0), 0, 14, "rushing", "!rush!", ""}, {"second attack", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_second_attack, SLOT (0), 0, 0, "", "!Second Attack!", ""}, {"snare", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_snare, SLOT(0), 0, 12, "", "", ""}, {"snatch arrow", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_snatch_arrow, SLOT(0), 12, 12, "", "", ""}, {"somersault slash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_somersault, SLOT( 0), 0, 0, "somersault slash", "!somersault!", ""}, {"shield bash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_shield_bash, SLOT (0), 0, 0, "shield bash", "!Shield bash!", ""}, {"shield block", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_shield_block, SLOT (0), 0, 0, "", "!Shield!", ""}, {"stunning fist", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_stunning_fist, SLOT(0), 12, 12, "", "", ""}, {"third attack", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_third_attack, SLOT (0), 0, 0, "", "!Third Attack!", ""}, {"trip", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_trip, SLOT (0), 0, 24, "trip", "!Trip!", ""}, {"untangle", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_untangle, SLOT(0), 0, 12, "", "", ""}, {"uppercut slash", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_upper_cut, SLOT( 0), 0, 0, "uppercut slash", "!upper_cut!", ""}, {"vital points", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_vital_points, SLOT(0), 12, 12, "vital hit", "", ""}, {"vein slice", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_vein_slice, SLOT(0), 12, 12, "vital hit", "", ""}, {"grab", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_grab, SLOT(0), 12, 3, "", "", ""}, {"kick", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_thief_kick, SLOT(0), 3, 3, "", "", ""}, {"knee", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_thief_knee, SLOT(0), 3, 3, "", "", ""}, {"punch", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_thief_punch, SLOT(0), 3, 3, "", "", ""}, {"elbow", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_thief_elbow, SLOT(0), 3, 3, "", "", ""}, {"pummel", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_thief_pummel, SLOT(0), 3, 3, "", "", ""}, {"eye gouge", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_eye_gouge, SLOT(0), 8, 8, "", "", ""}, {"strangle", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_strangle, SLOT(0), 6, 6, "", "", ""}, {"craft disguise", {}, {}, spell_null, TAR_IGNORE, POS_SLEEPING, &gsn_craft_disguise, SLOT (0), 0, 0, "", "!craft disguise!", ""}, {"fast healing", {}, {}, spell_null, TAR_IGNORE, POS_SLEEPING, &gsn_fast_healing, SLOT (0), 0, 0, "", "!Fast Healing!", ""}, {"haggle", {}, {}, spell_null, TAR_IGNORE, POS_RESTING, &gsn_haggle, SLOT (0), 0, 0, "", "!Haggle!", ""}, {"hide", {}, {}, spell_null, TAR_IGNORE, POS_RESTING, &gsn_hide, SLOT (0), 0, 12, "", "!Hide!", ""}, {"hunting", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_hunt, SLOT(0), 0, 12, "", "", ""}, {"lore", {}, {}, spell_null, TAR_IGNORE, POS_RESTING, &gsn_lore, SLOT (0), 0, 36, "", "!Lore!", ""}, {"meditation", {}, {}, spell_null, TAR_IGNORE, POS_SLEEPING, &gsn_meditation, SLOT (0), 0, 0, "", "Meditation", ""}, {"peek", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_peek, SLOT (0), 0, 0, "", "!Peek!", ""}, {"pick lock", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_pick_lock, SLOT (0), 0, 12, "", "!Pick!", ""}, {"sneak", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_sneak, SLOT (0), 0, 12, "", "You no longer feel stealthy.", ""}, {"steal", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_steal, SLOT (0), 0, 24, "", "!Steal!", ""}, {"sow seeds", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_sow_seeds, SLOT (0), 0, 24, "", "!sow seeds!", ""}, {"split seed", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_split_seeds, SLOT (0), 0, 24, "", "!split seeds!", ""}, {"find seed", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_find_seed, SLOT (0), 0, 24, "", "!find seed!", ""}, {"foraging", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_foraging, SLOT(0), 0, 12, "", "", ""}, {"sharpen", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_forge, SLOT(0), 0, 12, "", "", ""}, {"grind", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_grind, SLOT(0), 0, 12, "", "", ""}, {"prospecting", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_prospect, SLOT(0), 0, 12, "", "", ""}, {"scrolls", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_scrolls, SLOT (0), 0, 24, "", "!Scrolls!", ""}, {"staves", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_staves, SLOT (0), 0, 12, "", "!Staves!", ""}, {"wands", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_wands, SLOT (0), 0, 12, "", "!Wands!", ""}, {"the knights revenge", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_knight_revenge, SLOT( 0), 0, 0, "knight's revenge", "", ""}, {"reversal", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_reversal, SLOT( 0), 0, 0, "reversal", "", ""}, {"counter reversal", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_counter_reversal, SLOT( 0), 0, 0, "Counter reversal", "", ""}, {"decapitation", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_decapitation, SLOT( 0), 0, 0, "decapitation", "", ""}, {"call of the furies", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, &gsn_call_of_furies, SLOT( 0), 0, 0, "call of the furies", "", ""}, // Place holder, for failed decaps {"Decapitation attempt", {}, {}, spell_null, TAR_IGNORE, POS_FIGHTING, NULL, SLOT( 0), 0, 0, "decapitation attempt", "", ""}, {"recall", {}, {}, spell_null, TAR_IGNORE, POS_STANDING, &gsn_recall, SLOT (0), 0, 12, "", "!Recall!", ""} };