1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

Scripts

Discussion in 'Icewind Dale 2' started by Milamber_83, Aug 5, 2005.

  1. Milamber_83 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Aug 5, 2005
    Messages:
    5
    Likes Received:
    0
    [​IMG] Today I tried to use scripts from BG II - SoA to IWD2 and it worked. The Game didn't crash. I simply copied a script from BG2 and put it IWD2 Script folder. And then I had a new one for use and it worked in battle. :D
     
  2. The Magpie

    The Magpie Balance, in all things Veteran

    Joined:
    Feb 5, 2005
    Messages:
    2,300
    Likes Received:
    25
    Gender:
    Male
    Cool. Is it also possible to do the opposite, and transfer IWD2 scripts to BG2? The "Bard Singing" script would be quite handy, as would "Adaptive Aggressive". Can you also take them back as far as the original BG & IWD, I wonder? :hmm:
     
  3. Milamber_83 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Aug 5, 2005
    Messages:
    5
    Likes Received:
    0
    Does anyone any easy scripting tools for IDW2 use? I'd like to modify the cleric script to use more attack spells than it uses now from BG2 (the aggressive cleric script). Also I'd like to know if there are any tutorials. Is it possible to script PC to use any attack spell it has in its inventory?
     
  4. Milamber_83 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Aug 5, 2005
    Messages:
    5
    Likes Received:
    0
    Today I found the IWD2 spell numbers which should make it easier to make new custom scripts.

    0 MARKED_SPELL

    1201 CLERIC_AID
    1216 CLERIC_ALICORN_LANCE
    1517 CLERIC_ANIMAL_RAGE
    1150 CLERIC_SUMMON_NATURES_ALLY_1
    1250 CLERIC_SUMMON_NATURES_ALLY_2
    1350 CLERIC_SUMMON_NATURES_ALLY_3
    1402 CLERIC_SUMMON_NATURES_ALLY_4
    1501 CLERIC_SUMMON_NATURES_ALLY_5
    1602 CLERIC_SUMMON_NATURES_ALLY_6
    1750 CLERIC_SUMMON_NATURES_ALLY_7
    1850 CLERIC_SUMMON_NATURES_ALLY_8
    1950 CLERIC_SUMMON_NATURES_ALLY_9
    2501 CLERIC_ANIMATE_DEAD
    1115 CLERIC_ARMOR_OF_FAITH
    1729 CLERIC_AURA_OF_VITALITY
    1202 CLERIC_BARKSKIN
    1217 CLERIC_BEAST_CLAW
    1610 CLERIC_BLADE_BARRIER
    1610 CLERIC_CIRCLE_OF_BLADES
    1101 CLERIC_BLESS
    1415 CLERIC_BLOOD_RAGE
    1302 CLERIC_CALL_LIGHTNING
    1513 CLERIC_CAUSE_CRITICAL_WOUNDS
    1315 CLERIC_CAUSE_DISEASE
    1112 CLERIC_CAUSE_LIGHT_WOUNDS
    1218 CLERIC_CAUSE_MODERATE_WOUNDS
    1416 CLERIC_CAUSE_SERIOUS_WOUNDS
    1507 CLERIC_CHAMPIONS_STRENGTH
    1203 CLERIC_CHANT
    1508 CLERIC_CHAOTIC_COMMANDS
    1204 CLERIC_CHARM_PERSON_OR_MAMMAL
    1319 CLERIC_CIRCLE_OF_BONES
    1409 CLERIC_CLOAK_OF_FEAR
    1417 CLERIC_CLOUD_OF_PESTILENCE
    1221 CLERIC_CLOUDBURST
    1221 CLERIC_RAINSTORM
    1102 CLERIC_COMMAND
    2401 CLERIC_CONFUSION
    1615 CLERIC_CONJURE_ANIMALS
    1702 CLERIC_CONJURE_EARTH_ELEMENTAL
    1702 CLERIC_PLANAR_ALLY_EARTH_ELEMENTAL
    1605 CLERIC_CONJURE_FIRE_ELEMENTAL
    1605 CLERIC_PLANAR_ALLY_FIRE_ELEMENTAL
    2425 CLERIC_CONTAGION
    1704 CLERIC_CREEPING_DOOM
    1502 CLERIC_CURE_CRITICAL_WOUNDS
    1314 CLERIC_CURE_DISEASE
    1103 CLERIC_CURE_LIGHT_WOUNDS
    1214 CLERIC_CURE_MODERATE_WOUNDS
    1401 CLERIC_CURE_SERIOUS_WOUNDS
    1111 CLERIC_CURSE
    1111 CLERIC_BANE
    1424 CLERIC_DEATH_WARD
    1406 CLERIC_DEFENSIVE_HARMONY
    1717 CLERIC_DESTRUCTION
    1303 CLERIC_DISPEL_MAGIC
    1616 CLERIC_DOLOROUS_DECAY
    1114 CLERIC_DOOM
    1215 CLERIC_DRAW_UPON_HOLY_MIGHT
    1719 CLERIC_EARTHQUAKE
    1719 CLERIC_TREMOR
    1901 CLERIC_ELEMENTAL_SWARM
    1901 CLERIC_ELEMENTAL_LEGION
    1105 CLERIC_ENTANGLE
    1609 CLERIC_ENTROPY_SHIELD
    1609 CLERIC_DIVINE_SHELL
    1316 CLERIC_EXALTATION
    1116 CLERIC_FAERIE_FIRE
    1205 CLERIC_FIND_TRAPS
    1606 CLERIC_FIRE_SEEDS
    1705 CLERIC_FIRE_STORM
    1206 CLERIC_FLAME_BLADE
    1503 CLERIC_FLAME_STRIKE
    1403 CLERIC_FREE_ACTION
    1117 CLERIC_FROST_FINGERS
    2905 CLERIC_GATE
    1410 CLERIC_GIANT_INSECT
    1304 CLERIC_GLYPH_OF_WARDING
    1207 CLERIC_GOODBERRY
    1518 CLERIC_GREATER_COMMAND
    1725 CLERIC_GREATER_RESTORATION
    1718 CLERIC_GREATER_SHIELD_OF_LATHANDER
    1611 CLERIC_HARM
    1327 CLERIC_HASTE
    1607 CLERIC_HEAL
    1305 CLERIC_HOLD_ANIMAL
    2306 CLERIC_HOLD_PERSON
    1801 CLERIC_HOLY_AURA
    1425 CLERIC_HOLY_POWER
    1324 CLERIC_HOLY_SMITE
    1721 CLERIC_HOLY_WORD
    1428 CLERIC_ICE_BLADE
    1520 CLERIC_IRON_SKINS
    1716 CLERIC_IMPERVIOUS_SANCTITY_OF_MIND
    1510 CLERIC_INSECT_PLAGUE
    1309 CLERIC_INVISIBILITY_PURGE
    1426 CLERIC_LESSER_RESTORATION
    1519 CLERIC_MAGIC_RESISTANCE
    1106 CLERIC_MAGICAL_STONE
    1521 CLERIC_MASS_CURE
    1802 CLERIC_MASS_HEAL
    1521 CLERIC_HEALING_CIRCLE
    2406 CLERIC_MINOR_GLOBE_OF_INVULNERABILITY
    1720 CLERIC_MIST_OF_ELDATH
    1310 CLERIC_MISCAST_MAGIC
    1322 CLERIC_MOLD_TOUCH
    1318 CLERIC_MOONBLADE
    1226 CLERIC_MOON_MOTES
    1326 CLERIC_NEGATIVE_ENERGY_PROTECTION
    1404 CLERIC_NEUTRALIZE_POISON
    1418 CLERIC_POISON
    1313 CLERIC_PRAYER
    1411 CLERIC_PRODUCE_FIRE
    1107 CLERIC_PROTECTION_FROM_EVIL
    1408 CLERIC_PROTECTION_FROM_EVIL_10_RADIUS
    1306 CLERIC_PROTECTION_FROM_FIRE
    1407 CLERIC_PROTECTION_FROM_LIGHTNING
    1504 CLERIC_RAISE_DEAD
    1414 CLERIC_RECITATION
    1307 CLERIC_REMOVE_CURSE
    1108 CLERIC_REMOVE_FEAR
    1308 CLERIC_REMOVE_PARALYSIS
    1210 CLERIC_RESIST_FIRE_AND_COLD
    1210 CLERIC_MINOR_ELEMENTAL_BARRIER
    1712 CLERIC_RESURRECTION
    1311 CLERIC_RIGID_THINKING
    1109 CLERIC_SANCUTARY
    1109 CLERIC_SANCTUARY
    1514 CLERIC_SHIELD_OF_LATHANDER
    1110 CLERIC_SHILLELAGH
    1211 CLERIC_SILENCE_15_RADIUS
    1515 CLERIC_SLAY_LIVING
    1212 CLERIC_SLOW_POISON
    1522 CLERIC_SMASHING_WAVE
    1524 CLERIC_SNAKEBITE
    1608 CLERIC_SOLS_SEARING_ORB
    1219 CLERIC_SPELL_SHIELD
    1320 CLERIC_SPIKE_GROWTH
    1512 CLERIC_SPIKE_STONES
    1213 CLERIC_SPIRITUAL_HAMMER
    1612 CLERIC_SPIRITUAL_WRATH
    1420 CLERIC_STAR_METAL_CUDGEL
    1723 CLERIC_STALKER
    1723 CLERIC_SHAMBLER
    1523 CLERIC_STATIC_CHARGE
    1323 CLERIC_STORM_SHELL
    1312 CLERIC_STRENGTH_OF_ONE
    1707 CLERIC_SUNRAY
    1707 CLERIC_SUNBEAM
    1113 CLERIC_SUNSCORCH
    1726 CLERIC_SYMBOL_OF_DEATH
    1727 CLERIC_SYMBOL_OF_FEAR
    1715 CLERIC_SYMBOL_OF_HOPELESSNESS
    1714 CLERIC_SYMBOL_OF_PAIN
    1728 CLERIC_SYMBOL_OF_STUN
    1728 CLERIC_SYMBOL_OF_STUNNING
    1422 CLERIC_THORN_SPRAY
    1222 CLERIC_TORTOISE_SHELL
    1516 CLERIC_UNDEAD_WARD
    1220 CLERIC_UNFAILING_ENDURANCE
    1220 CLERIC_RESIST_FATIGUE
    1325 CLERIC_UNHOLY_BLIGHT
    1722 CLERIC_UNHOLY_WORD
    1427 CLERIC_WALL_OF_FIRE
    1423 CLERIC_WALL_OF_MOONLIGHT
    1613 CLERIC_WHIRLWIND

    2805 WIZARD_ABI_DALZIMS_HORRID_WILTING
    2708 WIZARD_ACID_STORM
    2909 WIZARD_AEGIS
    2217 WIZARD_AGANNAZAR_SCORCHER
    2501 WIZARD_ANIMATE_DEAD
    2599 WIZARD_ANIMATE_DEAD_LICH
    2601 WIZARD_ANTIMAGIC_SHELL
    2102 WIZARD_ARMOR
    2525 WIZARD_BALL_LIGHTNING
    2718 WIZARD_BANISHMENT
    2417 WIZARD_BELTYNS_BURNING_BLOOD
    2907 WIZARD_BLACK_BLADE_OF_DISASTER
    2222 WIZARD_BLINDNESS
    2323 WIZARD_BLINK
    2201 WIZARD_BLUR
    2103 WIZARD_BURNING_HANDS
    2713 WIZARD_CACOFIEND
    2621 WIZARD_CARRION_SUMMONS
    2223 WIZARD_CATS_GRACE
    2603 WIZARD_CHAIN_LIGHTNING
    2509 WIZARD_CHAOS
    2104 WIZARD_CHARM_PERSON
    2117 WIZARD_CHILL_TOUCH
    2118 WIZARD_CHROMATIC_ORB
    2503 WIZARD_CLOUDKILL
    2105 WIZARD_COLOR_SPRAY
    2504 WIZARD_CONE_OF_COLD
    2401 WIZARD_CONFUSION
    2622 WIZARD_CONJURE_AIR_ELEMENTAL
    2628 WIZARD_CONJURE_EARTH_ELEMENTAL
    2598 WIZARD_CONJURE_EARTH_ELEMENTAL_MALAVON
    2627 WIZARD_CONJURE_FIRE_ELEMENTAL
    2520 WIZARD_CONJURE_LESSER_AIR_ELEMENTAL
    2515 WIZARD_CONJURE_LESSER_EARTH_ELEMENTAL
    2514 WIZARD_CONJURE_LESSER_FIRE_ELEMENTAL
    2516 WIZARD_CONJURE_LESSER_WATER_ELEMENTAL
    2629 WIZARD_CONJURE_WATER_ELEMENTAL
    2717 WIZARD_CONTROL_UNDEAD
    2618 WIZARD_DARTS_OF_BONE
    2224 WIZARD_DEAFNESS
    2228 WIZARD_DEATH_ARMOR
    2605 WIZARD_DEATH_FOG
    2605 WIZARD_ACID_FOG
    2606 WIZARD_DEATH_SPELL
    2606 WIZARD_CIRCLE_OF_DEATH
    2221 WIZARD_DECASTAVE
    2714 WIZARD_DELAYED_BLAST_FIREBALL
    2512 WIZARD_DEMI_SHADOW_MONSTERS
    2512 WIZARD_GREATER_SHADOW_CONJURATION
    2203 WIZARD_DETECT_INVISIBILITY
    2203 WIZARD_SEE_INVISIBILITY
    2402 WIZARD_DIMENSION_DOOR
    2316 WIZARD_DIRE_CHARM
    2607 WIZARD_DISINTEGRATE
    2524 WIZARD_DISMISSAL
    2302 WIZARD_DISPEL_MAGIC
    2507 WIZARD_DOMINATION
    2507 WIZARD_DOMINATE_PERSON
    2420 WIZARD_EMOTION_FEAR
    2421 WIZARD_EMOTION_HOPE
    2411 WIZARD_EMOTION_HOPELESSNESS
    2910 WIZARD_EXECUTIONERS_EYES
    2510 WIZARD_FEEBLEMIND
    2702 WIZARD_FINGER_OF_DEATH
    2304 WIZARD_FIREBALL
    2426 WIZARD_FIRESHIELD_BLUE
    2427 WIZARD_FIRESHIELD_RED
    2303 WIZARD_FLAME_ARROW
    2810 WIZARD_FLENSING
    2810 WIZARD_FLAYING
    2615 WIZARD_FLESH_TO_STONE
    2107 WIZARD_FRIENDS
    2107 WIZARD_EAGLES_SPLENDOR
    2905 WIZARD_GATE
    2227 WIZARD_GEDLEES_ELECTRIC_LOOP
    2317 WIZARD_GHOST_ARMOR
    2218 WIZARD_GHOUL_TOUCH
    2608 WIZARD_GLOBE_OF_INVULNERABILITY
    2101 WIZARD_GREASE
    2806 WIZARD_GREAT_SHOUT
    2412 WIZARD_GREATER_MALISON
    2412 WIZARD_MALISON
    2305 WIZARD_HASTE
    2508 WIZARD_HOLD_MONSTER
    2306 WIZARD_HOLD_PERSON
    2320 WIZARD_HOLD_UNDEAD
    2205 WIZARD_HORROR
    2318 WIZARD_ICELANCE
    2122 WIZARD_ICE_KNIFE
    2122 WIZARD_ICE_DAGGER
    2404 WIZARD_ICE_STORM
    2110 WIZARD_IDENTIFY
    2623 WIZARD_IMPROVED_HASTE
    2405 WIZARD_IMPROVED_INVISIBILITY
    2802 WIZARD_INCENDIARY_CLOUD
    2802 WIZARD_FIERY_CLOUD
    2111 WIZARD_INFRAVISION
    2206 WIZARD_INVISIBILITY
    2321 WIZARD_INVISIBILITY_10_RADIUS
    2609 WIZARD_INVISIBLE_STALKER
    2807 WIZARD_IRON_BODY
    2207 WIZARD_KNOCK
    2319 WIZARD_LANCE_OF_DISRUPTION
    2119 WIZARD_LARLOCHS_MINOR_DRAIN
    2610 WIZARD_LICH_TOUCH
    2308 WIZARD_LIGHTNING_BOLT
    2518 WIZARD_LOWER_RESISTANCE
    2209 WIZARD_LUCK
    2526 WIZARD_LUTZAENS_FREQUENT_JAUNT
    2112 WIZARD_MAGIC_MISSILE
    2707 WIZARD_MALAVONS_RAGE
    2911 WIZARD_MASS_DOMINATE
    2709 WIZARD_MASS_INVISIBILITY
    2211 WIZARD_MELFS_ACID_ARROW
    2322 WIZARD_MELFS_MINUTE_METEORS
    2908 WIZARD_METEOR_SWARM
    2804 WIZARD_MIND_BLANK
    2406 WIZARD_MINOR_GLOBE_OF_INVULNERABILITY
    2212 WIZARD_MIRROR_IMAGE
    2309 WIZARD_MONSTER_SUMMONING_I
    2407 WIZARD_MONSTER_SUMMONING_II
    2505 WIZARD_MONSTER_SUMMONING_III
    2611 WIZARD_MONSTER_SUMMONING_IV
    2703 WIZARD_MONSTER_SUMMONING_V
    2803 WIZARD_MONSTER_SUMMONING_VI
    2899 WIZARD_MONSTER_SUMMONING_VI_MALAVON
    2902 WIZARD_MONSTER_SUMMONING_VII
    2124 WIZARD_SUMMON_MONSTER_I
    2230 WIZARD_SUMMON_MONSTER_II
    2309 WIZARD_SUMMON_MONSTER_III
    2407 WIZARD_SUMMON_MONSTER_IV
    2505 WIZARD_SUMMON_MONSTER_V
    2611 WIZARD_SUMMON_MONSTER_VI
    2703 WIZARD_SUMMON_MONSTER_VII
    2803 WIZARD_SUMMON_MONSTER_VIII
    2899 WIZARD_SUMMON_MONSTER_VIII_MALAVON
    2902 WIZARD_SUMMON_MONSTER_IX
    2422 WIZARD_MORDENKAINENS_FORCE_MISSILES
    2704 WIZARD_MORDENKAINENS_SWORD
    2310 WIZARD_NON_DETECTION
    2612 WIZARD_OTILUKES_FREEZING_SPHERE
    2413 WIZARD_OTILUKES_RESILIENT_SPHERE
    2521 WIZARD_PHANTOM_BLADE
    2416 WIZARD_POLYMORPH_SELF
    2808 WIZARD_POWER_WORD_BLIND
    2903 WIZARD_POWER_WORD_KILL
    2617 WIZARD_POWER_WORD_SILENCE
    2225 WIZARD_POWER_WORD_SLEEP
    2705 WIZARD_POWER_WORD_STUN
    2706 WIZARD_PRISMATIC_SPRAY
    2522 WIZARD_PROTECTION_FROM_ACID
    2523 WIZARD_PROTECTION_FROM_ELECTRICITY
    2113 WIZARD_PROTECTION_FROM_EVIL
    2311 WIZARD_PROTECTION_FROM_NORMAL_MISSILES
    2108 WIZARD_PROTECTION_FROM_PETRIFICATION
    2712 WIZARD_PROTECTION_FROM_THE_ELEMENTS
    2712 WIZARD_ELEMENTAL_BARRIER
    2226 WIZARD_RAY_OF_ENFEEBLEMENT
    2120 WIZARD_REFLECTED_IMAGE
    2120 WIZARD_MINOR_MIRROR_IMAGE
    2410 WIZARD_REMOVE_CURSE
    2710 WIZARD_SEVEN_EYES
    2613 WIZARD_SHADES
    2418 WIZARD_SHADOW_MONSTERS
    2418 WIZARD_SHADOW_CONJURATION
    2114 WIZARD_SHIELD
    2115 WIZARD_SHOCKING_GRASP
    2423 WIZARD_SHOUT
    2511 WIZARD_SHROUD_OF_FLAME
    2313 WIZARD_SKULL_TRAP
    2116 WIZARD_SLEEP
    2312 WIZARD_SLOW
    2220 WIZARD_SNILLOCS_SNOWBALL_SWARM
    2619 WIZARD_SOUL_EATER
    2428 WIZARD_SPIDER_SPAWN
    2414 WIZARD_SPIRIT_ARMOR
    2213 WIZARD_STINKING_CLOUD
    2229 WIZARD_STINKING_CLOUD_HALF_DURATION
    2408 WIZARD_STONESKIN
    2614 WIZARD_STONE_TO_FLESH
    2214 WIZARD_STRENGTH
    2711 WIZARD_SUFFOCATE
    2519 WIZARD_SUNFIRE
    2716 WIZARD_SUMMON_DJINNI
    2715 WIZARD_SUMMON_EFREETI
    2809 WIZARD_SUMMON_FIEND
    2513 WIZARD_SUMMON_SHADOW
    2616 WIZARD_TENSERS_TRANSFORMATION
    2620 WIZARD_TROLLISH_FORTITUDE
    2314 WIZARD_VAMPIRIC_TOUCH
    2719 WIZARD_VIPERGOUT
    2424 WIZARD_VITRIOLIC_SPHERE
    2219 WIZARD_VOCALIZE
    2906 WIZARD_WAIL_OF_THE_BANSHEE
    2215 WIZARD_WEB
    2626 WIZARD_WYVERN_CALL

    3107 INNATE_DRUID_SHAPESHIFT_POLAR_BEAR
    3110 INNATE_DRUID_SHAPESHIFT_WINTER_WOLF
    3111 INNATE_DRUID_SHAPESHIFT_BORING_BEETLE
    3122 INNATE_DRUID_SHAPESHIFT_NATURAL_FORM
    3141 INNATE_DRUID_SHAPESHIFT_FIRE_ELEMENTAL
    3142 INNATE_DRUID_SHAPESHIFT_EARTH_ELEMENTAL
    3143 INNATE_DRUID_SHAPESHIFT_WATER_ELEMENTAL
    3244 INNATE_DRUID_SHAPESHIFT_ARCTIC_BOAR
    3245 INNATE_DRUID_SHAPESHIFT_BLACK_PANTHER
    3246 INNATE_DRUID_SHAPESHIFT_SHAMBLING_MOUND
    3261 INNATE_DRUID_SHAPESHIFT_DIRE_BEAR
    3262 INNATE_DRUID_SHAPESHIFT_DIRE_PANTHER
    3280 INNATE_DRUID_SHAPESHIFT_AIR_ELEMENTAL

    3999 INNATE_ANIMAL_AFFINITY
    3202 INNATE_ANTI_MAGIC_SHELL
    3277 INNATE_ARTERIAL_STRIKE
    3236 INNATE_BARBARIAN_RAGE
    3260 INNATE_BARBARIAN_RAGE_GREATER
    3205 INNATE_BEAST_CLAW
    3174 INNATE_BEHOLDER_CAUSE_SERIOUS_WOUNDS
    3168 INNATE_BEHOLDER_CHARM_PERSON
    3175 INNATE_BEHOLDER_DEATH_RAY
    3171 INNATE_BEHOLDER_DISINTEGRATE
    3172 INNATE_BEHOLDER_FEAR
    3170 INNATE_BEHOLDER_FLESH_TO_STONE
    3163 INNATE_BEHOLDER_GAZE
    3169 INNATE_BEHOLDER_SLEEP
    3173 INNATE_BEHOLDER_SLOW
    3973 INNATE_BELHIFETS_DEATH_ANIMATION
    3214 INNATE_BLOOD_RAGE
    3157 INNATE_BLUE_GLOW
    3993 INNATE_BOMBARDIER_BEETLE_CLOUD
    3204 INNATE_CALLED_SHOT
    3998 INNATE_CHAMELEON_POWER
    3217 INNATE_CLOAK_OF_FEAR
    3231 INNATE_COAT_WEAPON_WITH_POISON
    3184 INNATE_CONTAINER_GLOW
    3185 INNATE_CONTAINER_GLOW_BAD
    3240 INNATE_CONUNDRUM
    3186 INNATE_CORNUGON_SUMMON_TRAVEL_ANIMATION
    3167 INNATE_CRYPT_THING_TELEPORT
    3187 INNATE_CRYPT_THING_TELEPORT_FIGHTER
    3188 INNATE_CRYPT_THING_TELEPORT_THIEF
    3208 INNATE_CURE_MODERATE_WOUNDS
    3987 INNATE_D5_HIGH_BAPTISM
    3135 INNATE_DEATH_KNELL
    3235 INNATE_DEFENSIVE_SPIN
    3200 INNATE_DETECT_INVISIBILITY
    3212 INNATE_DIMENSION_DOOR
    3199 INNATE_DISPEL_MAGIC
    3218 INNATE_DOMINATION
    3161 INNATE_DRAGON_BREATH
    3241 INNATE_DRAGON_BREATH_REDUCED_DAMAGE
    3158 INNATE_DRAGON_DEATH_ANIMATION
    3160 INNATE_DRAGON_GEM_EFFECTS
    3162 INNATE_DRAGON_GEM_SUMMONING
    3159 INNATE_DRAGON_WING_BUFFET
    3281 INNATE_DRIDER_WEB
    2247 INNATE_EMOTION_COURAGE
    3974 INNATE_EVERARDS_PORTAL_CLOSING
    3276 INNATE_EXPERTISE
    3242 INNATE_FAERIE_FIRE
    3985 INNATE_FLASH_DESTROY_SUMMON_BELHIFET
    3984 INNATE_FLASH_DESTROY_SUMMON_YXUNOMEI
    3986 INNATE_FLASH_DISAPPEAR
    3155 INNATE_FROST_AURA
    3239 INNATE_GRAMS_PARADOX
    3138 INNATE_GREAT_ROAR
    3225 INNATE_GUARDIAN_ACID_BREATH
    3226 INNATE_GUARDIAN_INNATE_FEAR
    3222 INNATE_HALF_DRAGON_ACID_BREATH
    3223 INNATE_HALF_DRAGON_FIRE_BREATH
    3224 INNATE_HALF_DRAGON_LIGHTNING_BREATH
    3278 INNATE_HAMSTRING
    3165 INNATE_HARPY_WAIL
    3180 INNATE_HOBART_TO_RAKSHASA
    3203 INNATE_HOLY_SMITE
    3154 INNATE_ICE_GOLEM_DISAPPEAR
    3285 INNATE_IDENTIFY
    3211 INNATE_IMPROVED_INVISIBILITY
    3259 INNATE_INVISIBILITY_NO_FEEDBACK
    3983 INNATE_INCENDIARY_CLOUD_EXPLOSION
    3982 INNATE_INCENDIARY_CLOUD_IDLING
    3978 INNATE_INFERNAL_CONVEYANCE
    3237 INNATE_INFURIATING_DILEMMA
    3191 INNATE_INVISIBILITY
    3991 INNATE_IRON_GOLEM_CLOUD
    3257 INNATE_ISAIR_CUT_SCENE
    3178 INNATE_JACKALWERE_GAZE
    3197 INNATE_KAI
    3238 INNATE_KINGS_LOGIC
    3109 INNATE_LAY_ON_HANDS
    3195 INNATE_LUTZAENS_FREQUENT_JAUNT
    3981 INNATE_MALAVONS_PREPARATION_SPELLS
    3220 INNATE_MASS_DOMINATE
    3197 INNATE_MAXIMIZE_ATTACKS
    3272 INNATE_MONK_ABUNDANT_STEP
    3233 INNATE_MONK_QUIVERING_PALM
    3274 INNATE_MONK_WHOLENESS_OF_BODY
    3196 INNATE_MIND_FLAYER_PSIONIC_BLAST
    3221 INNATE_MIND_FOG
    3201 INNATE_MISCAST_MAGIC
    3215 INNATE_MOONBLADE
    3229 INNATE_MOON_MOTES
    3134 INNATE_MOURNFUL_WAIL
    3182 INNATE_MUSTARD_JELLY_VAPOR
    3990 INNATE_MYCONID_SPORES
    3234 INNATE_OFFENSIVE_SPIN
    3969 INNATE_ORRICKS_SOUL_DEVOURER
    3988 INNATE_PHASE_SPIDER_TELEPORT
    3176 INNATE_POLYMORPH_TO_DOG
    3980 INNATE_POMABS_IMAGES
    3979 INNATE_POQUELINS_PORTAL_OPENING
    3275 INNATE_POWER_ATTACK
    3209 INNATE_PRAYER
    3230 INNATE_PROTECTION_FROM_ELECTRICITY
    3233 INNATE_QUIVERING_PALM
    3279 INNATE_RAPID_SHOT
    3210 INNATE_RECITATION
    3198 INNATE_REMOVE_FEAR
    3248 INNATE_REMOVE_PARALYSIS
    3972 INNATE_REMOVE_TERIKANS_ITEM_ANIMATION
    3140 INNATE_RETRIBUTION
    3996 INNATE_SALAMANDER_AURA_FIRE
    3995 INNATE_SALAMANDER_AURA_FROST
    3989 INNATE_SALAMANDER_AURA_SHIKATA
    3156 INNATE_SEER_TELEPORT
    3213 INNATE_SHADES
    3997 INNATE_SHADOW_PACT
    3149 INNATE_SHAPESHIFTS_WEREWOLF
    3243 INNATE_SPELL_SHIELD
    3206 INNATE_SPIKE_GROWTH
    3232 INNATE_STUNNING_BLOW
    3183 INNATE_SUMMON_CORNUGONS
    3177 INNATE_SUMMON_GLABREZU
    3227 INNATE_SUMMON_GUARDIAN
    3968 WIZARD_SUMMON_MONSTER_III_ISAIR
    3284 INNATE_SUMMONED_CORNUGON_SUMMONING
    3283 INNATE_SUMMONED_GLABREZU_SUMMONING
    3282 INNATE_SUMMONED_GELUGON_SUMMONING
    3228 INNATE_SUMMON_LEMURES_WHITE_ABISHAI
    3181 INNATE_TELEPORT_WITHOUT_ERROR
    3207 INNATE_THORN_SPRAY
    3970 INNATE_TURN_UNDEAD
    3219 INNATE_ULTRABLAST
    3994 INNATE_UMBER_HULK_GAZE
    3137 INNATE_UNDYING_LAMENT
    3216 INNATE_WALL_OF_MOONLIGHT
    3136 INNATE_WAR_CRY
    3150 INNATE_WEREWOLF_DEATH
    3258 INNATE_WILL_O_WISP
    3133 INNATE_WIND_WALK
    3971 INNATE_WINTER_WOLF_BREATH
    3153 INNATE_WYLFDENES_DEATH_ANIMATION
    3992 INNATE_ZOMBIE_LORD_AURA
    3286 INNATE_TURN_UNDEAD_COMMAND

    2005 TRAP_ARROW
    2007 TRAP_ARROW_ACID
    2008 TRAP_ARROW_BITING
    2009 TRAP_ARROW_DETONATION
    2010 TRAP_ARROW_DISPELLING
    2011 TRAP_ARROW_FIRE
    2012 TRAP_ARROW_ICE
    2013 TRAP_ARROW_PIERCING
    2006 TRAP_ARROW_SLAYING
    1987 TRAP_CALL_LIGHTNING
    1984 TRAP_CHROMATIC_ORB
    2018 TRAP_CLOUDKILL
    2019 TRAP_DEATH_FOG
    1982 TRAP_DIRE_CHARM
    2014 TRAP_DISEASE_DARTS
    2020 TRAP_FINGER_OF_DEATH
    2021 TRAP_SLEEP
    2022 TRAP_MAGIC_MISSILE_5
    2023 TRAP_FIREBALL_4D6
    2024 TRAP_FLESH_TO_STONE
    2001 TRAP_FIREBALL
    1985 TRAP_FLAMESTRIKE
    1983 TRAP_GLYPH_OF_WARDING
    1989 TRAP_HOLD_PERSON
    2002 TRAP_LIGHTNING_BOLT
    2003 TRAP_MAGIC_MISSILE
    1986 TRAP_MISCAST_MAGIC
    2017 TRAP_POISON_CONFUSION_DARTS
    2015 TRAP_POISON_DAMAGE_DARTS
    2016 TRAP_POISON_PARALYZATION_DARTS
    3967 TRAP_MAGE_TOWER_PORTAL
    1988 TRAP_SILENCE
    2004 TRAP_STINKING_CLOUD
    2025 TRAP_HORROR

    3249 TRAP_FLOOR_BLADES
    3250 TRAP_SNAKE_LAUNCHER
    3251 TRAP_SSETHS_EMBRACE
    3252 TRAP_SSETHS_KISS
    3253 TRAP_ACID_BATH
    3254 TRAP_LAKE_OF_FIRE
    3255 INNATE_DARKTREE_ATTACK
    3256 INNATE_CHIMERA_BREATH
     
  5. Milamber_83 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Aug 5, 2005
    Messages:
    5
    Likes Received:
    0
    This is my first script for IWD2. I'd like to have your opinions about it. I made it with NearInfity's newest version. It should work for paladins, druids, rangers and clerics with their domains. I made to be little bit aggressive.

    IF
    ActionListEmpty()
    !TimerActive(96)
    HaveSpell(INNATE_TURN_UNDEAD)
    PartyLevelVSGT([EVILCUTOFF.UNDEAD])
    NumCreatureGT([EVILCUTOFF.UNDEAD],3)
    See([EVILCUTOFF.UNDEAD],0)
    THEN
    RESPONSE #100
    StartTimer(96,14)
    Spell(LastMarkedObject,INNATE_TURN_UNDEAD)
    WaitAnimation(Myself,WALK)
    WaitAnimation(Myself,CONJURE)
    WaitAnimation(Myself,CAST)
    END

    IF
    ActionListEmpty()
    TimerActive(94)
    AttackedBy([EVILCUTOFF],DEFAULT)
    THEN
    RESPONSE #100
    StartTimer(94,14)
    Shout(5)
    IncrementInternal(LastAttackerOf(Myself),0,10)
    Continue()
    END

    IF
    ActionListEmpty()
    HPPercentLT(Myself,25)
    !TimerActive(99)
    THEN
    RESPONSE #100
    StartRandomTimer(99,5,7)
    Help()
    Continue()
    END

    IF
    ActionListEmpty()
    THEN
    RESPONSE #100
    SetGlobal("LOCALS2","",0)
    Continue()
    END

    IF
    ActionListEmpty()
    NumCreaturesLTMyLevel([ENEMY],0)
    THEN
    RESPONSE #100
    SetGlobal("LOCALS2","",1)
    Continue()
    END

    IF
    ForceMarkedSpell(MARKED_SPELL)
    SetSpellTarget(Nothing)
    ActionListEmpty()
    !Race(LastMarkedObject,KEG)
    Global("LOCALS2","",1)
    See(NearestEnemyOf(Myself),0)
    THEN
    RESPONSE #100
    MarkSpellAndObject("1408150715201425140912151201",Myself,SPELLCAST_IGNORE_SEE | SPELLCAST_IGNORE_VALID_SPELL_TARGET) // CLERIC_PROTECTION_FROM_EVIL_10_RADIUS - 1408, CLERIC_CHAMPIONS_STRENGTH - 1507, CLERIC_IRON_SKINS - 1520, CLERIC_HOLY_POWER - 1425, CLERIC_CLOAK_OF_FEAR - 1409, CLERIC_DRAW_UPON_HOLY_MIGHT - 1215, CLERIC_AID - 1201
    Continue()
    END

    IF
    ForceMarkedSpell(MARKED_SPELL)
    SetSpellTarget(Nothing)
    ActionListEmpty()
    Global("LOCALS2","",1)
    See(NearestPC,0)
    THEN
    RESPONSE #100
    MarkSpellAndObject("1406",Myself,SPELLCAST_IGNORE_SEE | SPELLCAST_IGNORE_VALID_SPELL_TARGET) // CLERIC_DEFENSIVE_HARMONY - 1406
    MarkSpellAndObject("141411011203",LastMarkedObject,SPELLCAST_IGNORE_SEE | SPELLCAST_IGNORE_VALID_SPELL_TARGET) // CLERIC_RECITATION - 1414, CLERIC_BLESS - 1101, CLERIC_CHANT - 1203
    MarkSpellAndObject("1408",Myself,SPELLCAST_IGNORE_SEE | SPELLCAST_IGNORE_VALID_SPELL_TARGET) // CLERIC_PROTECTION_FROM_EVIL_10_RADIUS - 1408
    MarkSpellAndObject("13131312",LastMarkedObject,SPELLCAST_IGNORE_SEE | SPELLCAST_IGNORE_VALID_SPELL_TARGET) // CLERIC_PRAYER - 1313, CLERIC_STRENGTH_OF_ONE - 1312
    Continue()
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_COMMAND)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_COMMAND)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_BLADE_BARRIER)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_BLADE_BARRIER)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_ENTANGLE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_ENTANGLE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_ICE_BLADE)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_ICE_BLADE)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_ACID_STORM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_ACID_STORM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SILENCE_15_RADIUS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SILENCE_15_RADIUS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_AGANNAZAR_SCORCHER)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_AGANNAZAR_SCORCHER)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_1)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_1)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_I)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_I)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_BLACK_BLADE_OF_DISASTER)
    THEN
    RESPONSE #100
    Spell(Myself,WIZARD_BLACK_BLADE_OF_DISASTER)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_BEAST_CLAW)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_BEAST_CLAW)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_GIANT_INSECT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_GIANT_INSECT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_GREATER_MALISON)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_GREATER_MALISON)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CAUSE_CRITICAL_WOUNDS)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_CAUSE_CRITICAL_WOUNDS)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CAUSE_DISEASE)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_CAUSE_DISEASE)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_STAR_METAL_CUDGEL)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_STAR_METAL_CUDGEL)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CAUSE_LIGHT_WOUNDS)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_CAUSE_LIGHT_WOUNDS)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SPIRITUAL_WRATH)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SPIRITUAL_WRATH)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CAUSE_MODERATE_WOUNDS)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_CAUSE_MODERATE_WOUNDS)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_ICE_STORM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_ICE_STORM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CAUSE_SERIOUS_WOUNDS)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_CAUSE_SERIOUS_WOUNDS)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_FIRE_STORM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_FIRE_STORM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUFFOCATE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUFFOCATE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SHILLELAGH)
    !HasItem("FBLADE",Myself) // Flame Blade
    !HasItem("SHILLE",Myself) // Shillelagh
    !HasItem("SHAMMR",Myself) // Spiritual Weapon
    !HasItem("CHILLT",Myself) // Chill Touch
    !HasItem("GHOULT",Myself) // Ghoul Touch
    !HasItem("SGRASP",Myself) // Shocking Grasp
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_SHILLELAGH)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_MISCAST_MAGIC)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_MISCAST_MAGIC)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_INSECT_PLAGUE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_INSECT_PLAGUE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_HOLY_SMITE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_HOLY_SMITE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_THORN_SPRAY)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_THORN_SPRAY)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_STATIC_CHARGE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_STATIC_CHARGE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_HORROR)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_HORROR)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_ALICORN_LANCE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_ALICORN_LANCE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_2)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_2)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_MONSTER_SUMMONING_II)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_II)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_ANIMATE_DEAD)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_ANIMATE_DEAD)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_MAGICAL_STONE)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_MAGICAL_STONE)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_DOLOROUS_DECAY)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_DOLOROUS_DECAY)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_DISPEL_MAGIC)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_DISPEL_MAGIC)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_DOOM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_DOOM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_BALL_LIGHTNING)
    THEN
    RESPONSE #100
    Spell(Myself,WIZARD_BALL_LIGHTNING)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_PRISMATIC_SPRAY)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_PRISMATIC_SPRAY)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_WHIRLWIND)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_WHIRLWIND)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_3)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_3)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_MONSTER_SUMMONING_III)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_MONSTER_SUMMONING_III)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CREEPING_DOOM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CREEPING_DOOM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUNRAY)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUNRAY)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SMASHING_WAVE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SMASHING_WAVE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUNSCORCH)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUNSCORCH)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUNBEAM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUNBEAM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_WAIL_OF_THE_BANSHEE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_WAIL_OF_THE_BANSHEE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_GLYPH_OF_WARDING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_GLYPH_OF_WARDING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_GEDLEES_ELECTRIC_LOOP)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_GEDLEES_ELECTRIC_LOOP)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_HARM)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_HARM)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_4)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_4)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_IV)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_IV)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CLOUDBURST)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CLOUDBURST)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_MOONBLADE)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_MOONBLADE)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SLEEP)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SLEEP)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SLAY_LIVING)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_SLAY_LIVING)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CURSE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CURSE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_BANISHMENT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_BANISHMENT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SPIKE_STONES)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SPIKE_STONES)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_5)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_5)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_V)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_V)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SPIRITUAL_HAMMER)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_SPIRITUAL_HAMMER)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SEVEN_EYES)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SEVEN_EYES)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SHADES)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SHADES)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SHOCKING_GRASP)
    THEN
    RESPONSE #100
    Spell(Myself,WIZARD_SHOCKING_GRASP)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SHOUT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SHOUT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_UNHOLY_BLIGHT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_UNHOLY_BLIGHT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_BLINDNESS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_BLINDNESS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CALL_LIGHTNING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CALL_LIGHTNING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_CHAIN_LIGHTNING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_CHAIN_LIGHTNING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CHAOTIC_COMMANDS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CHAOTIC_COMMANDS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_FEEBLEMIND)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_FEEBLEMIND)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_FINGER_OF_DEATH)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_FINGER_OF_DEATH)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_FIRE_SEEDS)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_FIRE_SEEDS)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_6)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_6)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_VI)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_VI)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_GATE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_GATE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_UNHOLY_WORD)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_UNHOLY_WORD)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_FLAME_BLADE)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_FLAME_BLADE)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_7)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_7)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_VII)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_VII)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_PHANTOM_BLADE)
    THEN
    RESPONSE #100
    Spell(Myself,WIZARD_PHANTOM_BLADE)
    Attack(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_MOLD_TOUCH)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_MOLD_TOUCH)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_HOLY_WORD)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_HOLY_WORD)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CONJURE_ANIMALS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CONJURE_ANIMALS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SYMBOL_OF_DEATH)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SYMBOL_OF_DEATH)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_ABI_DALZIMS_HORRID_WILTING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_ABI_DALZIMS_HORRID_WILTING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SYMBOL_OF_FEAR)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SYMBOL_OF_FEAR)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_GREAT_SHOUT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_GREAT_SHOUT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SYMBOL_OF_HOPELESSNESS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SYMBOL_OF_HOPELESSNESS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_FLAME_STRIKE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_FLAME_STRIKE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_EMOTION_FEAR)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_EMOTION_FEAR)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SYMBOL_OF_STUN)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SYMBOL_OF_STUN)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_8)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_8)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_VIII)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_VIII)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SYMBOL_OF_PAIN)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SYMBOL_OF_PAIN)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CHARM_PERSON_OR_MAMMAL)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CHARM_PERSON_OR_MAMMAL)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_CHARM_PERSON)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_CHARM_PERSON)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_CIRCLE_OF_BONES)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_CIRCLE_OF_BONES)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_DISMISSAL)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_DISMISSAL)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_DOMINATION)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_DOMINATION)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_ELEMENTAL_SWARM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_ELEMENTAL_SWARM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_EMOTION_HOPELESSNESS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_EMOTION_HOPELESSNESS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_CONJURE_AIR_ELEMENTAL)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_CONJURE_AIR_ELEMENTAL)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_MOON_MOTES)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_MOON_MOTES)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_POISON)
    THEN
    RESPONSE #100
    Spell(Myself,CLERIC_POISON)
    AttackOneRound(NearestEnemyOf(Myself))
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_POWER_WORD_BLIND)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_POWER_WORD_BLIND)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_POWER_WORD_STUN)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_POWER_WORD_STUN)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SUMMON_NATURES_ALLY_9)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SUMMON_NATURES_ALLY_9)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SUMMON_MONSTER_IX)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SUMMON_MONSTER_IX)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_POWER_WORD_KILL)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_POWER_WORD_KILL)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SOLS_SEARING_ORB)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SOLS_SEARING_ORB)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_SOUL_EATER)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_SOUL_EATER)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_SPIKE_GROWTH)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_SPIKE_GROWTH)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_FLENSING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_FLENSING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_FROST_FINGERS)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_FROST_FINGERS)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_GREATER_COMMAND)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_GREATER_COMMAND)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_LIGHTNING_BOLT)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_LIGHTNING_BOLT)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_RIGID_THINKING)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_RIGID_THINKING)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(CLERIC_EARTHQUAKE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),CLERIC_EARTHQUAKE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_MASS_DOMINATE)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_MASS_DOMINATE)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    HaveSpell(WIZARD_METEOR_SWARM)
    THEN
    RESPONSE #100
    Spell(NearestEnemyOf(Myself),WIZARD_METEOR_SWARM)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    Range(NearestEnemyOf(Myself),4,0)
    THEN
    RESPONSE #100
    EquipMostDamagingMelee()
    AttackReevaluate(NearestEnemyOf(Myself),30)
    END

    IF
    See(NearestEnemyOf(Myself),0)
    !Range(NearestEnemyOf(Myself),4,0)
    THEN
    RESPONSE #100
    EquipRanged()
    AttackReevaluate(NearestEnemyOf(Myself),30)
    END
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.