# === Understanding class.txt ("player class") === # name:class name # color:color # skill-disarm-phys:base:increment # skill-disarm-magic:base:increment # skill-device:base:increment # skill-save:base:increment # skill-stealth:base:increment # skill-search:base:increment # skill-melee:base:increment # skill-shoot:base:increment # skill-throw:base:increment # skill-dig:base:increment # hitdie:increment # max-attacks:count # min-weight:weight in tenths of pounds # strength-multiplier:multiplicative factor # equip:tval:sval:min:max:eopts # obj-flag:level of application:object flag # value:level of application:object modifier # brand:min level:max level:brand code # slay:min level:max level:slay code # player-flags:level of application:player property flags # shape:level of application:monster race # title:title # attack:verb:hit_extra:min_level:chance:effect # magic:spell_first:spell_weight:num_books # book:tval:quality:name:spells:realm # book-graphics:symbol:color # book-properties:depth:weight:cost # book-alloc:commonness:min to max # book-desc:description # spell:name:level:mana:fail:exp:sproj # cooldown:cooldown // MAX spell cooldown is 255 # effect:effect:subtype (if needed):radius (if needed):parameter (if needed) # effect-yx:yrange:xrange # dice:dice string # expr:dice expression # msg_self:message to self # msg_other:message to others # desc:description # 'name' indicates the beginning of an entry. # 'color' is for color. MAngband-specific. See 'terrain.txt' for colors. # 'skill-' is for skills - physical and magical disarming, # magic devices, saving throws, stealth, to hit (normal), to hit (bows), # digging bonus. The base entry is what gets added to the character's skills # at birth, the increments are added to the base skill every 10 levels. # 'hitdie' sets the class's contribution to the maximum hitpoints gained per # level # 'max-attacks' sets the maximum possible number of blows per round. # 'min-weight' is the minimum, in tenths of pounds, imposed on a weapon's weight # when computing the number of blows per round. # 'strength-multiplier' is the multiplier for strength's contribution to the # number of blows per round; a higher value grants more blows. # 'equip' is for starting equipment - tval of the item, sval of the item, # minimum amount, maximum amount, names of birth options separated by spaces # or | (or none for no exclusion rules) which will exclude the item if set # (or, if the name of the option is preceded by NOT-, will exclude the item if # not set). # 'obj-flag' is for object flags (as in list-object-flags.h) that # classes possess innately at a certain level. # 'value' is for object modifiers which take a value that classes possess # innately at a certain level. # 'brand' is for brands that classes possess innately at a certain level. # 'slay' is for slays that classes possess innately at a certain level. # 'player-flags' is for player properties (from player_property.txt) that the # class possesses innately at a certain level. # 'shape' is for shapes that classes can polymorph into at a certain level. # Note: MAngband supports several additional flags. # ANTIMAGIC - antimagic field # BACK_STAB - deal extra damage to sleeping and fleeing creatures # EXTRA_MANA - extra mana # EXTRA_SHOTS - more extra shots # MARTIAL_ARTS - adds fighting abilities when fighting barehanded # MONSTER_SPELLS - access to monster spells # SPEED_BONUS - extra speed # STEALING_IMPROV - better chance at stealing # STEALTH_MODE - access to "Stealth Mode" # UNDEAD_POWERS - undead powers # 'title' is for class titles. # 'attack' is for barehanded attacks. # 'magic' is for general magic info - level of the first spell, weight that # hurts spells (max armor weight to avoid mana penalties), number of books used. # 'book' defines one of these books - object base, whether a town or a dungeon # book, name, number of spells, book realm. A book needs to be defined for # each class which uses it, as otherwise it is not recognised as one of that # class's books. # 'book-graphics' is for symbol and color as used in object.txt. # 'book-graphics:' lines refer to the previous book line, and need not be # included if a book of the same name has been defined earlier. # 'book-properties' is for level, weight and cost. # weight is in tenth-pounds; cost is the item's base value. # 'book-properties:' lines refer to the previous book line, and need not be # included if a book of the same name has been defined earlier. # 'book-alloc' is for allocation - commonness, and minimum and maximum depths # of occurrence. # 'book-alloc:' lines refer to the previous book line, and need not be # included if a book of the same name has been defined earlier. # 'book-desc' is for description. # 'book-desc:' lines refer to the previous book line, and need not be # included if a book of the same name has been defined earlier. # 'spell' defines an individual spell - name, level, mana required, # fail-rate, experience for first casting. 'spell:' lines always refer to # spells in the previous 'book:' line. The lines below are all used in # reference to the previous 'spell:' line. # PWMAngband: the sproj tells if the spell is projectable on others # 'effect' defines the spell effect (as listed in list-effects.h), along # with up to three effect parameters if needed # 'effect-yx' sets the y (i.e. vertical) range and x (i.e. horizontal) range # about the effect's centre. Only some effects (often detections) use those # ranges. # 'dice' provides a random value to be used by an effect (for damage, # healing, etc). As well as the normal random value fields described above, # it can contain expressions like $B, which refer forward to an 'expr' line. # 'expr' provides an expression for use in effect dice. It consists of a # code letter (eg B) for the expression, a base function to use (for example # PLAYER_LEVEL), and a sequence of operations to perform on that base. # 'msg_self' provides a message which can be used in whatever way the effect # needs, typically to print during the effect, or as a death message. # 'msg_other' provides a message to give to other players when the spell # is cast. # 'desc' is for description. As many desc: lines may be used as needed # to describe the spell. Note that lines will need spaces at their # ends or the beginning of the next line to prevent words from running # together. ### # !!! # ! 0) Don't add new classes # ! 1) Don't rename classes # ! 2) Don't change number of spells # !!! -> it will make savefiles broken ### #effect:TIMED_INC:SENTRY #dice:1 #will work only for current turn. So to make it summoned - it should be min 2. #but to buff next blow - it's alright to have 1 ############### WARRIOR ############### name:Warrior color:u skill-disarm-phys:42:10 skill-disarm-magic:28:8 skill-device:18:7 skill-save:18:10 skill-stealth:0:0 skill-search:10:12 skill-melee:70:45 skill-shoot:55:45 skill-throw:45:35 skill-dig:0:0 hitdie:10 max-attacks:6 min-weight:30 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:potion:Berserk Strength:1:1:birth_no_recall equip:hafted:Club:1:1:none equip:soft armour:Soft Leather Armour:1:1:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall #equip:ring:Speed:2:2:none #equip:stone:House Foundation Stone:40:40:none #equip:scroll:Small House Creation:4:5:none #equip:potion:Experience:1:1:none obj-flag:30:PROT_FEAR value:0:STR[3] value:0:INT[-2] value:0:WIS[-2] value:0:DEX[2] value:0:CON[2] value:0:CHR[-2] player-flags:0:NO_MANA | SHIELD_BASH title:Rookie title:Soldier title:Swordsman title:Swashbuckler title:Veteran title:Myrmidon title:Commando title:Champion title:Hero title:Lord ############### Archer ############### name:Archer color:y skill-disarm-phys:30:9 skill-disarm-magic:21:7 skill-device:24:8 skill-save:24:10 skill-stealth:3:0 skill-search:10:12 skill-melee:35:15 skill-shoot:82:55 skill-throw:45:35 skill-dig:0:0 hitdie:5 max-attacks:2 min-weight:35 strength-multiplier:4 equip:light:Rusty Lantern:1:1:none equip:hafted:Club:1:1:none equip:bow:Short Bow:1:1:birth_no_recall equip:arrow:Old Arrow:30:40:birth_no_recall equip:arrow:Old Arrow:30:40:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-1] value:0:INT[-2] value:0:WIS[-1] value:0:DEX[3] value:0:CON[1] value:0:CHR[-2] value:0:SHOTS[1d6] player-flags:0:FAST_SHOT # class brands works both on melee and ranged. races - only on melee! brand:5:50:POIS_2 title:Fletcher title:Shooter title:Dead Shot title:Bowsen title:Bowman title:Great Bowman title:High Archer title:Grand Archer title:Master Archer title:Elite Archer ############### MONK ############### name:Monk color:U skill-disarm-phys:42:10 skill-disarm-magic:28:8 skill-device:32:11 skill-save:28:10 skill-stealth:3:1 skill-search:20:16 skill-melee:44:44 skill-shoot:30:20 skill-throw:60:30 skill-dig:10:5 hitdie:8 equip:light:Wooden Torch:1:3:none equip:potion:Berserk Strength:1:1:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall obj-flag:20:PROT_FEAR obj-flag:25:FREE_ACT obj-flag:30:PROT_CONF obj-flag:35:FEATHER value:0:STR[0+1d30] value:0:INT[-2] value:0:DEX[1+1d30] value:0:CON[0+1d30] value:0:CHR[-1] value:15:SPEED[1+1d8] value:0:BLOWS[1d1] player-flags:0:NO_MANA | MARTIAL_ARTS | FAST_THROW # reduce aggro radius? title:Initiate title:Brother title:Disciple title:Immaculate title:Soft Master title:Master title:Hard Master title:Flower Master title:Dragon Master title:Grand Master #attack:verb:hit_extra:min_level:chance:effect attack:punch:none:1:0:NONE attack:kick:none:5:1:SIDE attack:strike: with your elbow:10:2:DICE attack:ram: with your knee:15:4:KNEE attack:butt:none:20:7:DAM attack:strike:none:25:10:SLOW attack:uppercut:none:30:12:STUN attack:hit: with a Cat's Claw:35:15:CUT attack:hit: with a jump kick:40:20:JUMP attack:hit: with a circle kick:45:30:CIRCLE attack:hit: with a crushing blow:50:35:CRUSH ############### MAGE ############### name:Mage color:r skill-disarm-phys:35:9 skill-disarm-magic:43:11 skill-device:36:13 skill-save:30:9 skill-stealth:2:0 skill-search:10:12 skill-melee:35:15 skill-shoot:20:15 skill-throw:20:15 skill-dig:0:0 hitdie:1 max-attacks:4 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-3] value:0:INT[3] value:0:CON[-2] value:0:CHR[1+1d35] player-flags:0:ZERO_FAIL | BEAM | CHOOSE_SPELLS obj-flag:0:CLUMSY # specialisation: cheap and powerful fireball title:Novice title:Apprentice title:Trickster title:Illusionist title:Spellbinder title:Evoker title:Conjurer title:Magician title:Mage title:Arch-Mage magic:1:300:5 book:magic book:town:[Magic for Beginners]:8:arcane book-graphics:?:R book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A standard arcane book with a few spells. equip:magic book:[Magic for Beginners]:1:1:none spell:Magic Missile:1:1:22:4:0 effect:BOLT_OR_BEAM:MISSILE:0:-10 dice:$Dd4 expr:D:PLAYER_LEVEL:- 1 / 5 + 3 msg_other: fires a magic missile. desc:Fires a magic missile that always hits its target and does desc: irresistible damage. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Detect Monsters:1:1:23:4:0 effect:DETECT_VISIBLE_MONSTERS effect-yx:22:40 desc:Detects all non-invisible monsters in the immediate area, desc: for one turn only. spell:Phase Door:1:2:24:4:0 effect:TIMED_SET:MOVE_FAST dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 effect:TELEPORT dice:10 msg_other: blinks away. desc:Teleports you randomly up to 10 squares away and makes you desc: hasty for some time. spell:Light Room:1:2:26:4:0 effect:BLAST:LIGHT_WEAK:2 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:Lights up all squares within 2 grids of the player and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Find Traps, Doors & Stairs:3:3:25:2:0 effect:DETECT_STAIRS effect-yx:22:40 effect:DETECT_DOORS effect-yx:22:40 effect:DETECT_TRAPS effect-yx:22:40 desc:Detects all traps, doors and stairs in the immediate area. spell:Fire Ball:3:2:27:3:0 # hc x5 effect:BALL:FIRE:2 dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: fires a fire ball. desc:Shoots a radius-2 fire ball. spell:Lightning Beam:5:3:30:4:0 effect:BEAM:ELEC dice:$Dd6 expr:D:PLAYER_LEVEL:- 1 / 5 + 3 msg_other: fires a lightning beam. desc:Fires a lightning beam that hurts each monster in its path. spell:Frost Attunement:6:4:5:4:0 effect:TIMED_SET:ICY_AURA dice:$B expr:B:PLAYER_LEVEL:+ 20 desc:Creates a curtain of ice around you to block enemy attacks, damaging and desc: freezing them in the process. desc: Additional effects: desc: Level 10: +10 to AC desc: Level 20: brands your physical attacks with cold book:magic book:town:[Conjurings and Tricks]:7:arcane book-graphics:?:R book-properties:10:30:400 book-alloc:30:10 to 100 book-desc:A standard arcane book with a few spells. spell:Disable Traps, Destroy Doors:5:5:30:6:0 effect:TOUCH:KILL_DOOR effect:TOUCH:KILL_TRAP msg_other: sways his hands. desc:Disables traps and destroys doors within a 1-square radius of you. spell:Teleport Self:7:6:35:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:Teleports you randomly within the current level. spell:Recharging:9:7:75:6:0 effect:RECHARGE dice:$B expr:B:PLAYER_LEVEL:/ 8 + 6 desc:Adds charges to a stack of wands or staves. desc: Chance of success and number of charges gained increase with your desc: level and decrease with level of wand or staff and number of charges. desc: A failed attempt to recharge destroys one wand or staff from the stack. spell:Frost Bolt:10:3:30:6:0 effect:BOLT_OR_BEAM:COLD dice:$B expr:B:PLAYER_LEVEL:/ 10 * 40 # sorc vs mage # @10: 7d8 7-56 ~31 vs 40 # @20: 11d8 11-88 ~50 vs 80 # @30: 14d8 14-112 ~63 vs 120 # @40: 17d8 17-136 ~77 vs 160 # @50: 21d8 21-168 ~95 vs 200 msg_other: fires a frost bolt. desc:Fires a frost bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Detect Treasure:11:3:60:5:0 cooldown:100 effect:DETECT_TREASURES effect-yx:22:40 desc:Detects all treasure in the immediate area. desc: Cooldown 100 turns. spell:Identify Rune:12:7:25:8:0 effect:IDENTIFY desc:Reveals an unknown rune on an object. # later on there is 'Wall Creation' spell.. so this one is low lvl, mana free spell:Dune Creation:13:1:40:12:0 cooldown:255 effect:SAND_WALL desc:Raises a mound of sand beneath your feet, forming a temporary barrier. desc: Cooldown 255 turns. book:magic book:town:[Incantations and Illusions]:6:arcane book-graphics:?:R book-properties:25:30:1600 book-alloc:20:25 to 100 book-desc:A standard arcane book with a few spells. spell:Reveal Monsters:15:6:40:8:0 effect:DETECT_MONSTERS effect-yx:22:40 desc:Detects all monsters in the immediate area, for one turn only. spell:Shock Wave:16:5:40:10:0 effect:BALL:SOUND:3 dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: fires a sonic ball. desc:Shoots a radius-2 sound ball. desc: Apart from doing sound damage, this also has a chance to stun desc: each monster in the area of effect. spell:Explosion:20:10:50:12:0 effect:BALL:SHARD:2 dice:$B expr:B:PLAYER_LEVEL:* 2 + 30 msg_other: fires an exploding missile. desc:Shoots a radius-2 shards ball. spell:Acid Spray:20:7:30:12:0 effect:BREATH:ACID:0:30 dice:$Dd8 expr:D:PLAYER_LEVEL:- 5 msg_other: sprays acid. desc:Sprays acid. spell:Mana Drain:22:2:30:12:0 effect:TIMED_INC:STUN dice:1d2 effect:TAP_DEVICE desc:Turns wand or staff energy into mana; tapping stuns the player briefly. spell:Teleport Other:23:12:60:12:0 effect:BOLT_STATUS:AWAY_ALL:1 dice:$B expr:B:MAX_SIGHT:* 5 msg_other: makes a rush gesture. desc:Produces a bolt that teleports the first monster in its path desc: up to 100 squares away. book:magic book:dungeon:[Sorcery and Evocations]:7:arcane book-graphics:?:r book-properties:40:30:20000 book-alloc:15:40 to 100 book-desc:An advanced arcane book with a few spells. spell:Elbereth:21:19:37:18:0 cooldown:144 effect:NOURISH:DEC_BY dice:1 effect:GLYPH:WARDING desc:Engraves 'Elbereth' in glyphs on the floor beneath you. desc: Summoned monsters can't appear on these glyphs. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Stronger monsters have a better chance of erasing them. desc: The glyphs remain until erased or until you leave the level. desc: This inscription can only be made occasionally, or it loses power. desc: The spell reduces your nourishment. desc: Cooldown 144 turns. spell:Mana Bolt:24:8:60:30:0 # 8-14 @ 24 (~60) # 8-40 @ 50 (~164) effect:BOLT_OR_BEAM:MANA dice:$Dd8 expr:D:PLAYER_LEVEL:- 10 msg_other: fires a mana bolt. desc:Fires a mana bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Mana Channel:25:10:50:20:0 effect:TIMED_SET:FASTCAST dice:7+1d5 desc:Increases spellcasting speed by 33% for 7+1d5 turns. spell:Resistance:28:20:65:20:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 desc:Grants you resistance to acid, cold, fire, lightning and poison for desc: 20+1d20 turns. spell:Teleport Level:28:17:65:20:0 effect:TELEPORT_LEVEL desc:Teleports you 1 level up or 1 level down (chosen at random). spell:Detection:30:10:70:30:0 effect:DETECT_MONSTERS effect-yx:22:40 #effect:DETECT_TREASURES #effect-yx:22:40 effect:DETECT_STAIRS effect-yx:22:40 effect:DETECT_DOORS effect-yx:22:40 effect:DETECT_TRAPS effect-yx:22:40 desc:Detects all traps, doors, stairs and monsters in the desc: immediate area. spell:Wall Creation:33:33:40:12:0 effect:SHORT_BEAM:STONE_WALL:1:1 desc:Raises a wall one tile away in the chosen direction. book:magic book:dungeon:[Wizard's Tome of Power]:5:arcane book-graphics:?:r book-properties:60:30:50000 book-alloc:10:60 to 100 book-desc:An advanced arcane book with a few spells. spell:Banishment:30:45:95:25:0 effect:BANISH desc:Removes all monsters represented by a chosen symbol from the level. desc: Uniques are not affected. desc: You take 1d4 points of damage for every monster removed. spell:Globe of Invulnerability:35:70:95:250:0 effect:TIMED_SET:INVULN dice:15+1d15 desc:Grants you resistance against non-physical attacks. desc: The shield absorbs a percentage of damage from such attacks desc: equal to your character level. spell:Mass Banishment:35:75:90:100:0 effect:MASS_BANISH desc:Removes all monsters within 20 squares of you. desc: Uniques are not affected. desc: You take 1d3 points of damage for every monster removed. spell:Thrust Away:40:12:90:40:0 effect:BEAM:FORCE dice:$Dd8 expr:D:PLAYER_LEVEL:+ 0 msg_other: fires a force beam. desc:Fires a force beam that hurts each monster in its path. spell:Mana Storm:42:16:95:200:0 effect:BALL:MANA:3 dice:$B expr:B:PLAYER_LEVEL:* 2 + 300 msg_other: invokes a mana storm. desc:Shoots a radius-3 mana ball that does irresistible desc: damage to each monster in its area of effect. ############### PWMA - DRUID. T - SHAMAN ############### name:Shaman color:o skill-disarm-phys:30:10 skill-disarm-magic:30:10 skill-device:24:10 skill-save:30:10 skill-stealth:3:0 skill-search:12:12 skill-melee:45:20 skill-shoot:40:30 skill-throw:40:30 skill-dig:0:0 hitdie:2 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Whip:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-2] value:0:WIS[3] value:0:DEX[-2] value:0:CHR[1+1d24] player-flags:0:ZERO_FAIL | CHOOSE_SPELLS | CHARM | SHAPECHANGE obj-flag:0:CLUMSY shape:5:cave bear shape:5:panther shape:10:grizzly bear shape:10:yeti shape:15:griffon shape:15:sasquatch shape:20:werebear shape:20:great eagle shape:20:abyss spider shape:25:wyvern shape:25:multi-hued hound shape:30:5-headed hydra shape:30:minotaur shape:35:7-headed hydra shape:35:plasma hound shape:35:ancient spider shape:40:11-headed hydra shape:40:giant roc shape:45:maulotaur shape:45:winged horror shape:50:jabberwock shape:50:aether hound title:Wanderer title:Nurturer title:Gardener title:Forester title:Upbringer title:Creator title:Earth Warder title:Windrider title:Stormwielder title:High Mystic magic:1:350:5 book:nature book:town:[Lesser Charms]:7:nature book-graphics:?:y book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A standard nature book with a few verses. equip:nature book:[Lesser Charms]:1:1:none spell:Sharp Thorn:1:0:5:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: flings a sharp thorn. desc:Fires magic thorn to the target. desc: Target grid must be targetable and known to the player. desc: Does not require mana. spell:Detect Life:1:1:23:2:0 effect:DETECT_LIVING_MONSTERS effect-yx:22:40 desc:Detects all living monsters in the immediate area, desc: for one turn only. spell:Remove Hunger:2:2:25:2:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Magically saves you from starvation. desc: Can be used every 255 turns. spell:Poison Cloud:3:2:27:4:0 effect:BALL:POIS:2 dice:$B expr:B:PLAYER_LEVEL:/ 2 + 10 msg_other: fires a poison cloud. desc:Shoots a radius-2 poison ball. spell:Cure Poison:4:4:30:4:0 effect:CURE:POISONED desc:Neutralizes poison. spell:Confuse Monster:5:3:30:5:0 effect:BOLT_AWARE:MON_CONF dice:5+1d$S expr:S:PLAYER_LEVEL:+ 0 msg_other: makes a complicated gesture. desc:Attempts to confuse a single monster. More effective against animals. spell:Slow Monster:6:4:30:5:0 effect:BOLT_AWARE:MON_SLOW dice:5+1d$S expr:S:PLAYER_LEVEL:+ 0 msg_other: makes a lengthy gesture. desc:Attempts to slow down a single monster. More effective against animals. book:nature book:town:[Gifts of Nature]:6:nature book-graphics:?:y book-properties:10:30:400 book-alloc:30:10 to 100 book-desc:A standard nature book with a few verses. spell:Resist Poison:7:6:32:5:0 effect:TIMED_SET:OPP_POIS dice:20+1d20 desc:Grants you resistance to poison for 20+1d20 turns. spell:Turn Stone to Mud:8:3:25:5:0 effect:LINE:KILL_WALL dice:20+1d30 msg_other: makes a moving gesture. desc:Produces a beam that destroys the first section of wall it hits, desc: unless it is a permanent wall. Each monster caught in the beam that desc: is susceptible to rock remover takes 20+1d30 points of damage. spell:Sense Surroundings:9:4:35:6:0 cooldown:120 effect:MAP_AREA effect-yx:15:32 desc:Maps out a portion of the level around you. desc: Can be used every 120 turns. spell:Lightning Strike:12:6:35:8:0 effect:STRIKE:SOUND:3 dice:$B expr:B:PLAYER_LEVEL:+ 5 effect:STRIKE:ELEC:0 dice:$Dd4 expr:D:PLAYER_LEVEL:/ 4 + 1 msg_other: strikes lightning from above. desc:Strikes a target from above with a lightning bolt, followed by a clap desc: of thunder. If targeting a direction or the target is not a passable desc: grid in the line of sight, the player will be the target. spell:Earth Rising:14:5:40:12:0 effect:BEAM:SHARD dice:$Dd6 expr:D:PLAYER_LEVEL:/ 3 + 2 msg_other: fires a shard beam. desc:Causes shards to explode in a line out of the earth, striking objects and desc: monsters. spell:Nature's Call:15:20:40:12:0 effect:CREATE_TREES desc:Grow trees around you. book:nature book:town:[Creature Dominion]:6:nature book-graphics:?:y book-properties:25:30:1600 book-alloc:20:25 to 100 book-desc:A standard nature book with a few verses. spell:Extra Growth:15:20:40:12:0 effect:TIMED_SET:GROWTH dice:20+1d20 desc:Grants you stat growth for 20+1d20 turns. spell:Forest's Embrace:18:18:40:12:0 effect:BLAST:MON_HEAL:5 dice:6+$Dd6 expr:D:PLAYER_LEVEL:/ 2 msg_other: emits a healing blast. desc:Creates a radius-5 healing ball around you. spell:Trance:20:10:45:15:0 effect:TOUCH_AWARE:MON_HOLD dice:3+1d$D expr:D:PLAYER_LEVEL:/ 7 desc:Holds every adjacent, non-resistant monster for a level-dependent desc: number of turns. Animals are entranced for longer. spell:Tremor:20:20:60:16:0 effect:EARTHQUAKE:TARGETED:4 desc:Causes a targeted 4-square radius earthquake. desc: Earthquakes may damage monsters and destroy items in some desc: squares in the area of effect. Artifacts will not be destroyed. desc: Has no effect when used in town. spell:Ancient Lore:22:30:80:20:0 effect:IDENTIFY desc:Reveals an unknown rune on an object. spell:Mass Sleep:25:15:50:15:0 effect:PROJECT_LOS_AWARE:SLEEP_ALL desc:Attempts to put to sleep each monster within line of sight. book:nature book:dungeon:[Nature Craft]:6:nature book-graphics:?:o book-properties:40:30:20000 book-alloc:15:40 to 100 book-desc:An advanced nature book with a few verses. spell:Haste Self:25:12:65:15:0 effect:TIMED_SET:SPEEDY:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Hastes you up to (+10 to speed) for a level-dependent duration. spell:Meteor Swarm:30:14:85:20:0 effect:SWARM:METEOR:1 dice:$B+m$M expr:B:PLAYER_LEVEL:/ 2 + 30 expr:M:PLAYER_LEVEL:/ 20 + 2 msg_other: fires a swarm of meteors. desc:Shoots a swarm of 3 or 4 meteors. desc: Meteors will travel until hitting a wall, a monster desc: or reaching the target location. desc: Meteors will explode as a radius-1 ball that does irresistible desc: damage to each monster in its area of effect. desc: If this kills the monster that blocked the path to the target desc: location, the next meteor may continue to find another target. spell:Toxic Moisture:33:20:75:24:0 effect:BALL:ICE:3 dice:$B expr:B:PLAYER_LEVEL:+ 50 effect:BALL:WATER:3 dice:$B expr:B:PLAYER_LEVEL:+ 50 effect:BALL:POIS:3 dice:$B expr:B:PLAYER_LEVEL:+ 50 msg_other: invokes a toxic storm. desc:Shoots a radius-3 toxic ball. Each ball will do 1/3 damage from poison, desc: 1/3 damage from water and 1/3 damage from ice. spell:Revitalize:35:70:90:90:0 effect:RESTORE_EXP effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Restores all stats and experience points to maximum. spell:Rift:35:20:60:25:0 effect:BEAM:GRAVITY dice:40+$Dd7 expr:D:PLAYER_LEVEL:+ 0 msg_other: fires a gravity beam. desc:Fires a gravity beam that hurts each monster in its path desc: and has a chance of teleporting it away. spell:Ice Storm:37:25:75:24:0 effect:PROJECT_LOS:ICE dice:3d$S expr:S:PLAYER_LEVEL:* 3 msg_other: invokes an ice storm. desc:Strikes every monster in line of sight with sheets of ice from above. book:nature book:dungeon:[Wild Forces]:6:nature book-graphics:?:o book-properties:60:30:50000 book-alloc:10:60 to 100 book-desc:An advanced nature book with a few verses. spell:Rapid Regeneration:37:20:90:100:0 effect:TIMED_SET:HEAL dice:5+1d3 desc:Speed up digestion to increase regeneration of hitpoints for desc: the next 5+1d3 turns (or until hungry). spell:Herbal Curing:40:20:90:100:0 effect:CURE:BLACKBREATH effect:CURE:STUN effect:CURE:POISONED effect:CURE:CUT desc:Cures all cuts, poison, stunning and black breath. spell:Fill Stomach:40:20:90:100:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Can save you from starvation. desc: Can be used every 255 turns. spell:Volcanic Eruption:40:30:75:50:0 effect:EARTHQUAKE:NONE:5 effect:BLAST:FIRE:5 dice:$B+1d$S expr:B:PLAYER_LEVEL:* 3 / 2 expr:S:PLAYER_LEVEL:* 3 desc:Creates a radius-5 ball of fire, followed by a radius-5 earthquake, desc: around the player. spell:Call of the Forest:40:50:75:50:0 effect:PROJECT_LOS_AWARE:AWAY_ANIMAL dice:100 msg_self:The power of nature banishes animals! msg_other: speaks an order to nearby animals! desc:Teleports away each animal within line of sight. spell:River of Plasma:43:35:75:100:0 effect:BREATH:PLASMA:0:20 dice:$Dd8 expr:D:PLAYER_LEVEL:+ 10 desc:Spews plasma in a long narrow cone from the player. ############### PRIEST ############### name:Priest color:g skill-disarm-phys:34:8 skill-disarm-magic:27:7 skill-device:30:10 skill-save:32:12 skill-stealth:2:0 skill-search:10:14 skill-melee:45:20 skill-shoot:35:20 skill-throw:35:20 skill-dig:0:0 hitdie:2 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Mace:1:1:none equip:potion:Cure Serious Wounds:2:3:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall value:0:STR[-1] value:0:INT[-3] value:0:WIS[3] value:0:DEX[-1] value:0:CON[1] value:0:CHR[2+1d24] player-flags:0:BLESS_WEAPON | ZERO_FAIL obj-flag:0:CLUMSY title:Believer title:Acolyte title:Devotee title:Adept title:Evangelist title:Priest title:Elder title:Prophet title:Patriarch title:High Priest magic:1:350:5 book:prayer book:town:[Beginners Handbook]:8:divine book-graphics:?:G book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A standard divine book with a few prayers. equip:prayer book:[Beginners Handbook]:1:1:none spell:Sign Of The Cross:1:0:5:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: made the sign of the cross. desc:Banish enemies with a holy force. desc: Target grid must be targetable and known to the player. desc: Does not require mana. spell:Detect Evil:1:1:10:4:0 effect:DETECT_EVIL effect-yx:22:40 desc:Detects all evil monsters in the immediate area, desc: for one turn only. spell:Bless:1:2:20:4:0 effect:TIMED_SET:BLESSED dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:+ 10 desc:Blesses you, giving a bonus of +5 to AC and +10 to-hit, for a desc: level-dependent duration. spell:Minor Healing:3:2:15:4:1 effect:TIMED_DEC:STUN dice:20 effect:TIMED_DEC:CUT dice:20 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Cures a level-dependent percentage of your wounds and heals 20 points worth desc: of cuts and stunning. spell:Call Light:3:2:25:2:0 effect:BLAST:LIGHT_WEAK:1:10 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:Lights up all squares in a level-dependent area and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Heroism:5:2:30:5:0 effect:TIMED_SET:HERO dice:25+1d25 effect:TIMED_SET:BOLD dice:25+1d25 effect:CURE:AFRAID effect:HEAL_HP dice:10 desc:Cures 10 points of damage, removes fear and grants you heroism desc: (resistance to fear and a bonus of +12 to-hit) for 25+1d25 turns. spell:Portal:5:4:30:4:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: blinks away. desc:Teleports you randomly over a short distance. spell:Spear of Light:7:6:30:5:0 effect:LINE:LIGHT_WEAK dice:6d8 msg_self:A line of shimmering blue light appears. msg_other:'s hands project a line of shimmering blue light. desc:Fires a beam that lights up each square and hurts each desc: light-sensitive monster in its path. book:prayer book:town:[Words of Wisdom]:7:divine book-graphics:?:G book-properties:10:30:400 book-alloc:30:10 to 100 book-desc:A standard divine book with a few prayers. spell:Remove Curse:7:6:38:5:0 effect:REMOVE_CURSE dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 0 expr:S:PLAYER_LEVEL:+ 0 desc:Attempts to remove a curse from an item. spell:Orb of Draining:9:7:40:4:0 effect:BALL:HOLY_ORB:2:30 dice:$B+3d6 expr:B:PLAYER_LEVEL:* 3 / 2 msg_other: fires a holy orb! desc:Shoots a radius-2 or radius-3 ball that does irresistible desc: damage to each monster in its area of effect. desc: Evil monsters take double damage. desc: The bigger area of effect is attained at character level 30. spell:Sense Invisible:11:8:42:4:0 effect:TIMED_SET:SINVIS dice:24+1d24 desc:Enables you to see invisible monsters for 24+1d24 turns. spell:Dispel Undead:12:14:55:6:0 effect:PROJECT_LOS_AWARE:DISP_UNDEAD:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 5 msg_other: dispels undead. desc:Inflicts irresistible damage on each undead monster within line of sight. spell:Protection from Evil:14:8:42:5:0 effect:TIMED_SET:PROTEVIL dice:$B+1d25 expr:B:PLAYER_LEVEL:* 3 desc:Protects you from evil for a level-dependent duration: desc: all melee attacks by evil monsters have a chance to be repelled, desc: unless the monster's level is higher than your character level. spell:Resurrection:16:30:90:8:0 effect:RESURRECT desc:Brings back to life a ghost character standing next to the caster. spell:Dispel Evil:18:20:70:10:0 effect:PROJECT_LOS_AWARE:DISP_EVIL:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 5 msg_other: dispels evil. desc:Inflicts irresistible damage on each evil monster within line of sight. book:prayer book:town:[Chants and Blessings]:6:divine book-graphics:?:G book-properties:25:30:1600 book-alloc:20:25 to 100 book-desc:A standard divine book with a few prayers. spell:Remembrance:20:30:90:50:1 effect:RESTORE_EXP desc:Restores experience points to maximum if it is currently below maximum. spell:Glyph of Warding:20:40:90:35:0 effect:GLYPH:WARDING desc:Inscribes a glyph of warding beneath you. desc: Summoned monsters can't appear on the glyph. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Higher level monsters are more likely to break the glyph. desc: The glyph will remain where it is, until a monster succeeds in desc: breaking it or until you leave the level. spell:Demon Bane:22:40:80:30:0 effect:TIMED_SET:ATT_DEMON:0:5 dice:20+1d20 desc:Temporarily makes your melee attacks powerfully slay demons. spell:Word of Recall:25:30:75:10:0 effect:RECALL dice:14+1d20 desc:Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by 14+1d20 turns. desc: During that delay, the effect can be canceled by invoking the prayer desc: of recall again. spell:Smite Evil:25:20:70:40:0 effect:TIMED_SET:ATT_EVIL:0:5 dice:20+1d20 desc:Temporarily makes your melee attacks slay evil creatures. spell:Banish Evil:25:25:80:25:0 effect:PROJECT_LOS_AWARE:AWAY_EVIL dice:100 msg_self:The power of your god banishes evil! msg_other: speaks a holy curse on nearby evil! desc:Teleports away each evil monster within line of sight. book:prayer book:dungeon:[Exorcism and Dispelling]:5:divine book-graphics:?:g book-properties:40:30:20000 book-alloc:15:40 to 100 book-desc:An advanced divine book with a few prayers. spell:Light of Manwe:30:20:70:35:0 effect:BALL:LIGHT:2 dice:$B expr:B:PLAYER_LEVEL:* 2 + 80 msg_other: invokes the light of Manwe. desc:Shoots a radius-2 light ball. spell:Healing:30:50:80:100:1 effect:CURE:AMNESIA effect:CURE:POISONED effect:CURE:CUT effect:CURE:STUN effect:HEAL_HP dice:2000 desc:Cures 2000 points of damage, cures all stunning, heals all desc: cut damage, neutralizes poison, and cures amnesia. spell:Enchant Weapon:32:50:80:120:0 effect:ENCHANT:TOBOTH dice:1 effect:NOURISH:DEC_BY dice:1 effect:TIMED_INC:OCCUPIED dice:2+1d5 desc:Attempts to improve the to-hit bonus and the to-dam bonus of a weapon. desc: This prayer reduces your nourishment. spell:Restoration:35:70:90:130:1 effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Restores to maximum all stats that are currently below maximum. spell:Enchant Armour:35:60:85:150:0 effect:ENCHANT:TOAC dice:1 effect:NOURISH:DEC_BY dice:1 effect:TIMED_INC:OCCUPIED dice:2+1d5 desc:Attempts to improve the armour class bonus of a piece of armour. desc: This prayer reduces your nourishment. book:prayer book:dungeon:[Wrath of the Valar]:5:divine book-graphics:?:g book-properties:60:30:50000 book-alloc:10:60 to 100 book-desc:An advanced divine book with a few prayers. spell:Word of Destruction:35:35:80:115:0 effect:DESTRUCTION:LIGHT:15 desc:Destroys everything in a 15-square radius circle around you. desc: All monsters, objects and terrain features in the area of desc: effect are destroyed, except stairs and permanent walls. desc: You will also be blinded for 10+1d10 turns, unless you desc: have resistance to blindness or light. desc: This prayer has no effect when used in the town. spell:Clairvoyance:37:50:80:150:0 effect:LIGHT_LEVEL effect:NOURISH:DEC_BY dice:1 desc:Lights up, maps out and senses all objects on the complete current desc: dungeon level. desc: This prayer reduces your nourishment. spell:Holy Word:39:32:95:20:0 effect:CURE:AFRAID effect:CURE:AMNESIA effect:CURE:POISONED effect:CURE:CUT effect:CURE:STUN effect:HEAL_HP dice:1000 effect:PROJECT_LOS_AWARE:DISP_EVIL:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 4 msg_other: shouts the holy word. desc:Inflicts irresistible damage on each evil monster within line of sight, desc: cures 1000 points of damage, cures all stunning, heals all cut damage, desc: neutralizes poison, cures amnesia, and removes fear. spell:Alter Reality:40:60:75:250:0 effect:ALTER_REALITY desc:The current level will be discarded and a new dungeon level (on the desc: same dungeon depth) will be generated. This has exactly the same desc: side effects as leaving and re-entering the level through a stair, desc: except that you won't start on a square with a stair. spell:Revive:42:70:90:90:1 cooldown:200 effect:TIMED_SET:REVIVE dice:20+1d20 desc:Allows you (or one of your allies) to avoid death once for 20+1d20 turns. desc: Can be used every 200 turns. ############### PWMA - NECROMANCER. T - WARLOCK ############### name:Warlock color:D skill-disarm-phys:30:10 skill-disarm-magic:35:12 skill-device:36:13 skill-save:30:9 skill-stealth:2:0 skill-search:10:12 skill-melee:35:25 skill-shoot:20:15 skill-throw:20:15 skill-dig:0:0 hitdie:1 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:sword:Main Gauche:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-3] value:0:INT[3] value:0:CON[-2] value:0:CHR[-4] value:0:RES_DARK[1] # UNLIGHT means extra infravision and remembering dark squares after DARKNESS scrolls etc player-flags:0:ZERO_FAIL | CHOOSE_SPELLS | UNLIGHT | SHAPECHANGE | UNDEAD_POWERS obj-flag:0:CLUMSY ########################### MOVE TO SEPARATE FORMS shape:5:fruit bat_ shape:15:vampire bat shape:25:vampire shape:35:master vampire shape:45:vampire lord shape:50:elder vampire title:Acolyte title:Curser title:Dark Student title:Initiate title:Slavemaster title:Summoner title:Controller title:Commander title:Dark Master title:Night Lord magic:1:300:5 book:shadow book:town:[Shadows for Beginners]:9:shadow book-graphics:?:s book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A standard shadow book with a few rituals. equip:shadow book:[Shadows for Beginners]:1:1:none spell:Unholy Sign:1:0:5:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: made a very rude gesture. desc:Curses enemies with a force of evil. desc: Target grid must be targetable and known to the player. desc: Does not require mana. spell:Horrify:1:2:26:2:0 effect:BOLT_AWARE:TURN_ALL dice:$Dd4 expr:D:PLAYER_LEVEL:* 2 / 3 + 2 effect:BOLT_AWARE:MON_STUN dice:5+1d5 msg_other: creates visions of terror! desc:Calls upon the dark forces and opens a channel into the mind of a desc: monster, stunning and scaring it. spell:Sense Invisible:2:4:25:3:0 effect:TIMED_SET:SINVIS dice:24+1d24 desc:Enables you to see invisible monsters for 24+1d24 turns. spell:Create Darkness:3:3:10:4:0 effect:BLAST:DARK_WEAK:1:10 dice:10 effect:DARKEN_AREA desc:Darkens all squares in a level-dependent area. If you are in a room, desc: the entire room will be darkened as well. spell:Read Minds:4:4:10:6:0 effect:READ_MINDS dice:$Dd$S expr:D:PLAYER_LEVEL:/ 10 + 1 expr:S:PLAYER_LEVEL:/ 10 + 1 effect:DETECT_SOUL effect-yx:22:40 desc:Detects all monsters which have a spirit in the immediate area, desc: and then maps in a region around them, increasing in size with desc: character level. spell:Raise Dead:5:6:35:3:0 effect:BLAST_OBVIOUS:RAISE:1:10 dice:1 msg_other: mumbles coldly. desc:This power makes humanoid corpses and skeletons in a small radius desc: around the caster rise as undead monsters at the service of the caster. desc: The loyalty of those monsters is not guaranteed, though. desc: Each animated corpse/skeleton drains additional spell points desc: depending on the type of undead monster raised. spell:Tap Unlife:7:3:50:3:0 effect:TAP_UNLIFE dice:$Dd6 expr:D:PLAYER_LEVEL:/ 4 + 2 desc:Targets the nearest undead monster and damages it to gain player mana. spell:Frost Bolt:7:3:35:6:0 effect:BOLT_OR_BEAM:COLD dice:$Dd8 expr:D:PLAYER_LEVEL:- 5 / 3 + 6 msg_other: fires a frost bolt. desc:Fires a frost bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Resist Cold:9:10:50:5:0 effect:TIMED_SET:OPP_COLD dice:20+1d20 desc:Grants you resistance to cold for 20+1d20 turns. book:shadow book:town:[Dark Conjurings]:7:shadow book-graphics:?:s book-properties:10:30:400 book-alloc:30:10 to 100 book-desc:A standard shadow book with a few rituals. spell:Crush:10:6:40:5:0 effect:DAMAGE dice:d$S expr:S:PLAYER_LEVEL:* 2 effect:PROJECT_LOS:MON_CRUSH dice:$B expr:B:PLAYER_LEVEL:* 4 desc:Instantly kill any monster in line-of-sight with less than four times the desc: player's level in hitpoints, also hurting the player. Other monsters are desc: unharmed. spell:Sleep Evil:12:5:50:5:0 effect:PROJECT_LOS_AWARE:SLEEP_EVIL desc:Attempts to put to sleep each evil monster within line of sight. spell:Shadow Touch:12:12:48:5:0 effect:TIMED_SET:ATT_VAMP dice:$B+1d$S expr:B:PLAYER_LEVEL:* 3 / 10 + 20 expr:S:PLAYER_LEVEL:* 4 / 10 + 10 desc:Temporarily grants your weapon a vampiric brand, draining life from desc: monsters when you hit them and giving it to you. spell:Shadow Shift:15:10:50:10:0 effect:DAMAGE dice:2d5 msg_self:shadow shifting effect:TELEPORT dice:30 msg_other: shifts away. desc:Displaces your spirit a short distance, hurting your body as it is desc: dragged along. spell:Command:15:14:53:12:0 effect:BOLT_AWARE:COMMAND msg_other: emits a silent order. desc:Attempts to control the will of a single summoned undead monster. desc: Uniques are not affected. spell:Disenchant:16:12:50:15:0 effect:BOLT:DISEN dice:2d$S expr:S:PLAYER_LEVEL:* 2 + 10 msg_other: fires a disenchantment bolt. desc:Casts a bolt which wounds, and makes spellcasting monsters less successful desc: in casting spells. spell:Frost Ball:19:6:50:8:0 effect:BALL:COLD:2 dice:$B expr:B:PLAYER_LEVEL:+ 30 msg_other: fires a frost ball. desc:Shoots a radius-2 frost ball. book:shadow book:town:[Shadows and Illusions]:6:shadow book-graphics:?:s book-properties:25:30:1600 book-alloc:20:25 to 100 book-desc:A standard shadow book with a few rituals. spell:Absorb Soul:20:15:46:5:0 effect:TIMED_SET:SOUL dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 50 expr:S:PLAYER_LEVEL:* 2 + 30 desc:This heals you by a substantial amount every time you kill a monster desc: within its duration. It is especially useful when your character is desc: in Undead Form. spell:Dispel Life:22:20:50:10:0 # 4th parameter means "only affect living" effect:PROJECT_LOS_AWARE:MON_DRAIN:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 3 msg_other: dispels life. desc:Inflicts irresistible damage on each living monster within line of sight. spell:Nether Bolt:25:15:75:30:0 effect:BOLT_OR_BEAM:NETHER:0:-20 dice:11d$S expr:S:PLAYER_LEVEL:+ 0 msg_other: fires a nether bolt. desc:Fires a nether bolt that always hits its target. Does not affect undead. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Banish Spirits:25:25:80:25:0 effect:PROJECT_LOS_AWARE:AWAY_SPIRIT dice:100 desc:Teleports away each monster with a spirit within line of sight. spell:Power Sacrifice:27:0:20:20:0 effect:RESTORE_MANA dice:50 effect:DAMAGE dice:50 msg_self:self sacrifice desc:Exchanges 50 hitpoints for 50 mana. spell:Ice Storm:27:11:70:24:0 effect:BALL:ICE:3 dice:$B expr:B:PLAYER_LEVEL:* 2 + 50 msg_other: invokes an ice storm. desc:Shoots a radius-3 ice ball. book:shadow book:dungeon:[Dark Evocations]:5:shadow book-graphics:?:D book-properties:40:30:20000 book-alloc:15:40 to 100 book-desc:An advanced shadow book with a few rituals. spell:Undead Form:30:15:72:21:0 effect:UNDEAD_FORM desc:Kills you, turning you into a ghost (even in no_ghost mode). desc: Unlike other characters, warlocks in Undead Form will retain desc: all their gear, but they will lose one hit point every turn and won't desc: be able to use any means of resurrection except the town Temple. desc: Be also warned that any common method of healing will damage your desc: ghost instead... spell:Drain Life:30:15:67:19:0 effect:BOLT:DRAIN dice:100 msg_other: fires a vampiric bolt. desc:Drains part of the life-force from a nearby monster and gives it to you. desc: Does not affect undead, demons, golems, elementals or vortices. spell:Cold Brand:31:60:95:150:0 effect:BRAND_WEAPON:NONE:1 effect:NOURISH:DEC_BY dice:1 desc:Brands the currently wielded melee weapon with cold desc: and at the same time attempts to improve the to-hit bonus and the desc: to-dam bonus of the same weapon. desc: The spell has no effect if the weapon is an artifact, an ego item desc: or a worthless item. desc: This spell reduce your nourishment. spell:Zone of Unmagic:32:16:60:110:0 effect:BLAST:DISEN:4 dice:$B expr:B:PLAYER_LEVEL:* 3 desc:Produces a zone of disenchantment affecting the player and monsters desc: within radius 4. spell:Grond's Blow:35:35:80:115:0 effect:DESTRUCTION:DARK:15 desc:Destroys everything in a 15-square radius circle around you. desc: All monsters, objects and terrain features in the area of desc: effect are destroyed, except stairs and permanent walls. desc: You will also be blinded for 10+1d10 turns, unless you desc: have resistance to blindness or dark. desc: This spell has no effect when used in the town. book:shadow book:dungeon:[Great Shadows]:5:shadow book-graphics:?:D book-properties:60:30:50000 book-alloc:10:60 to 100 book-desc:An advanced shadow book with a few rituals. spell:Unleash Chaos:38:15:90:100:0 effect:PROJECT_LOS_AWARE:TURN_ALL dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:WAKE effect:BALL:CHAOS dice:8d$S expr:S:PLAYER_LEVEL:+ 0 effect:BREATH:CHAOS dice:8d$S expr:S:PLAYER_LEVEL:+ 0 effect:BEAM:CHAOS dice:8d$S expr:S:PLAYER_LEVEL:+ 0 effect:RANDOM dice:3 desc:Fires a chaos beam, arc or ball in the chosen direction, wakes everything desc: in the area, and attempts to frighten everything in line of sight. spell:Fume of Mordor:40:50:80:150:0 cooldown:120 effect:DARKEN_LEVEL:NONE:1 effect:MAP_AREA effect-yx:15:32 desc:Darkens, maps out, and detects all objects on the complete current desc: dungeon level. desc: Can be used every 120 turns. spell:Curse:40:50:60:180:0 effect:DAMAGE dice:100 msg_self:performing a curse effect:CURSE dice:$Dd$S expr:D:PLAYER_LEVEL:/ 12 + 1 expr:S:MONSTER_PERCENT_HP_GONE:+ 50 desc:Deals direct damage to a single monster, more the more damaged the monster desc: is already, at the cost of 100 hitpoints. spell:Darkness Storm:45:27:75:75:0 effect:BALL:DARK:3 dice:$B+10d10 expr:B:PLAYER_LEVEL:* 5 msg_other: invokes a darkness storm. desc:Shoots a radius-3 darkness ball. spell:Touch of Death:50:75:72:90:0 effect:TIMED_SET:DEADLY dice:12+1d12 desc:Gives all your melee blows a chance to score a critical hit desc: within its duration. ############### PALADIN ############### name:Paladin color:G skill-disarm-phys:34:8 skill-disarm-magic:27:7 skill-device:24:10 skill-save:25:11 skill-stealth:0:0 skill-search:10:12 skill-melee:65:40 skill-shoot:40:30 skill-throw:40:30 skill-dig:0:0 hitdie:7 max-attacks:5 min-weight:30 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Protection from Evil:1:1:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:INT[-3] value:0:WIS[1] value:0:DEX[-1] value:0:CON[2] value:0:CHR[1+1d24] player-flags:0:BLESS_WEAPON | SHIELD_BASH title:Gallant title:Keeper title:Protector title:Defender title:Warder title:Knight title:Guardian title:Chevalier title:Paladin title:Paladin Lord magic:1:400:5 book:prayer book:town:[Beginners Handbook]:5:divine equip:prayer book:[Beginners Handbook]:1:1:none spell:Detect Evil:1:1:30:4:0 effect:DETECT_EVIL effect-yx:22:40 desc:Detects all evil monsters in the immediate area, desc: for one turn only. spell:Bless:3:3:35:4:0 effect:TIMED_SET:BLESSED dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:+ 10 desc:Blesses you, giving a bonus of +5 to AC and +10 to-hit, for a desc: level-dependent duration. spell:Call Light:5:4:35:4:0 effect:BLAST:LIGHT_WEAK:1:10 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:Lights up all squares in a level-dependent area and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Minor Healing:7:3:25:4:1 effect:TIMED_DEC:STUN dice:20 effect:TIMED_DEC:CUT dice:20 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Cures a level-dependent percentage of your wounds and heals 20 points worth desc: of cuts and stunning. spell:Portal:9:8:40:3:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: blinks away. desc:Teleports you randomly over a short distance. book:prayer book:town:[Words of Wisdom]:5:divine spell:Heroism:12:5:30:5:0 effect:TIMED_SET:HERO dice:25+1d25 effect:TIMED_SET:BOLD dice:25+1d25 effect:CURE:AFRAID effect:HEAL_HP dice:10 desc:Cures 10 points of damage, removes fear and grants you heroism desc: (resistance to fear and a bonus of +12 to-hit) for 25+1d25 turns. spell:Remove Curse:13:11:45:4:0 effect:REMOVE_CURSE dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 0 expr:S:PLAYER_LEVEL:+ 0 desc:Attempts to remove a curse from an item. spell:Resist Elements:15:13:45:4:1 effect:CLEAR_VALUE effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:SET_VALUE dice:10+1d10 desc:Gives you temporary resistance to cold and fire, for 10+1d10 turns each. spell:Sense Invisible:18:15:50:4:0 effect:TIMED_SET:SINVIS dice:24+1d24 desc:Enables you to see invisible monsters for 24+1d24 turns. spell:Dispel Undead:20:24:60:3:0 effect:PROJECT_LOS_AWARE:DISP_UNDEAD:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 4 msg_other: dispels undead. desc:Inflicts irresistible damage on each undead monster within line of sight. book:prayer book:town:[Chants and Blessings]:5:divine spell:Elemental Brand:20:30:85:40:0 effect:BRAND_WEAPON effect:NOURISH:DEC_BY dice:1 desc:Brands the currently wielded melee weapon with fire (50%) or cold (50%), desc: and at the same time attempts to improve the to-hit bonus and the desc: to-dam bonus of the same weapon. desc: The prayer has no effect if the weapon is an artifact, an ego item desc: or a worthless item. desc: This prayer reduces your nourishment. spell:Protection from Evil:22:15:50:5:0 effect:TIMED_SET:PROTEVIL dice:$B+1d25 expr:B:PLAYER_LEVEL:* 3 desc:Protects you from evil for a level-dependent duration: desc: all melee attacks by evil monsters have a chance to be repelled, desc: unless the monster's level is higher than your character level. spell:Demon Bane:22:40:80:30:0 effect:TIMED_SET:ATT_DEMON:0:5 dice:20+1d20 desc:Temporarily makes your melee attacks powerfully slay demons. spell:Dispel Evil:25:32:70:4:0 effect:PROJECT_LOS_AWARE:DISP_EVIL:0:1 dice:1d$S expr:S:PLAYER_LEVEL:* 4 msg_other: dispels evil. desc:Inflicts irresistible damage on each evil monster within line of sight. spell:Smite Evil:25:20:70:40:0 effect:TIMED_SET:ATT_EVIL:0:5 dice:20+1d20 desc:Temporarily makes your melee attacks slay evil creatures. book:prayer book:dungeon:[Exorcism and Dispelling]:4:divine spell:Word of Recall:30:60:75:10:0 effect:RECALL dice:14+1d20 desc:Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by 14+1d20 turns. desc: During that delay, the effect can be canceled by invoking the prayer desc: of recall again. spell:Enchant Weapon:32:50:80:120:0 effect:ENCHANT:TOBOTH dice:1 effect:NOURISH:DEC_BY dice:1 desc:Attempts to improve the to-hit bonus and the to-dam bonus of a weapon. desc: This prayer reduces your nourishment. spell:Sanctuary:34:20:75:80:1 effect:TIMED_SET:SHIELD dice:30+1d20 desc:Grants you AC based on your level for 30+1d20 turns. spell:Enchant Armour:35:60:85:150:0 effect:ENCHANT:TOAC dice:1 effect:NOURISH:DEC_BY dice:1 desc:Attempts to improve the armour class bonus of a piece of armour. desc: This prayer reduces your nourishment. book:prayer book:dungeon:[Wrath of the Valar]:4:divine spell:Healing:35:50:80:100:1 effect:CURE:AMNESIA effect:CURE:POISONED effect:CURE:CUT effect:CURE:STUN effect:HEAL_HP dice:2000 desc:Cures 2000 points of damage, cures all stunning, heals all desc: cut damage, neutralizes poison, and cures amnesia. spell:Clairvoyance:37:50:80:150:0 cooldown:100 effect:LIGHT_LEVEL desc:Lights up, maps out and senses all objects on the complete current desc: dungeon level. desc: Cooldown 100 turns. spell:Restoration:40:80:90:250:1 effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Restores to maximum all stats that are currently below maximum. spell:Banish Evil:45:70:80:200:0 effect:PROJECT_LOS_AWARE:AWAY_EVIL dice:100 msg_self:The power of your god banishes evil! msg_other: speaks a holy curse on nearby evil! desc:Teleports away each evil monster within line of sight. ############### ROGUE ############### name:Rogue color:z skill-disarm-phys:43:11 skill-disarm-magic:36:10 skill-device:32:10 skill-save:28:10 skill-stealth:3:1 skill-search:20:16 skill-melee:35:45 skill-shoot:66:30 skill-throw:72:45 skill-dig:0:0 hitdie:4 # got exp 10% (harder). hardcoded in player.c max-attacks:5 min-weight:20 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:INT[1] value:0:WIS[-3] value:0:DEX[3] value:0:CON[-1] value:0:CHR[-1+-1d40] # too cheezy as players are able to grind same depth with stealth mode for long time # value:5:SPEED[1+1d15] player-flags:0:CHOOSE_SPELLS | STEAL player-flags:0:BACK_STAB | STEALING_IMPROV | STEALTH_MODE title:Vagabond title:Cutpurse title:Footpad title:Robber title:Burglar title:Filcher title:Sharper title:Rogue title:Thief title:Master Thief magic:5:350:5 book:shadow book:town:[Shadows for Beginners]:5:shadow equip:shadow book:[Shadows for Beginners]:1:1:none spell:Detect Creatures:5:1:50:4:0 # make it detect noisy monsters effect:DETECT_VISIBLE_MONSTERS effect-yx:22:40 desc:Detects all non-invisible monsters in the immediate area, desc: for one turn only. spell:Smoke Bomb:7:2:55:4:0 effect:TELEPORT dice:9 msg_other: blinks away. desc:Teleports you randomly up to 9 squares away. spell:Create Poison:8:3:60:5:0 effect:CREATE_POISON desc:Allows you to create potions of poison from any potion and desc: rarely isolates a nutrious substance to restore mana. desc: Attention! It will turn the full stack of potions into poison. spell:Detect Objects:10:3:60:5:0 cooldown:100 effect:DETECT_TREASURES:NONE:1 effect-yx:22:40 effect:NOURISH:INC_BY dice:0 effect:RANDOM dice:2 desc:Detects all objects in the immediate area. It's a bit unreliable, desc: and works 50/50. desc: Cooldown 100 turns. spell:Detect Stairs:12:3:50:5:0 effect:DETECT_STAIRS effect-yx:22:40 desc:Detects all stairs in the immediate area. book:shadow book:town:[Dark Conjurings]:5:shadow spell:Detoxify:15:9:90:5:0 effect:CURE:POISONED desc:Neutralizes poison. spell:Escape:17:6:35:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 2 msg_other: teleports away. desc:Teleports you randomly within the current level. spell:Avoid Traps:18:25:85:10:0 effect:TIMED_SET:TRAPSAFE dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 30 desc:Renders you safe from traps for a level-dependent duration. spell:Recharge Devices:20:10:50:6:0 effect:RECHARGE dice:$B expr:B:PLAYER_LEVEL:/ 10 + 4 desc:Adds charges to a stack of wands or staves. desc: Chance of success and number of charges gained increase with your desc: level and decrease with level of wand or staff and number of charges. desc: A failed attempt to recharge destroys one wand or staff from the stack. spell:Poison Brand:20:30:40:20:0 effect:TIMED_SET:ATT_POIS:0:5 dice:20+1d20 desc:Temporarily makes your melee attacks branded with poison. book:shadow book:town:[Shadows and Illusions]:5:shadow spell:Invisibility:22:14:45:20:0 effect:TIMED_SET:INVIS:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 20 desc:Makes you invisible for a short duration. desc: High level, questor, invisible and injured monsters desc: cannot be fooled by this trick. spell:Hit and Run:23:20:40:20:0 effect:TIMED_SET:ATT_RUN dice:10 desc:Prepares you to teleport a short distance after stealing. spell:Stair Creation:24:12:40:25:0 effect:CREATE_STAIRS effect:TIMED_INC:OCCUPIED dice:7 effect:NOURISH:DEC_BY dice:1 desc:A stair (going up or down, chosen at random) is created on the space desc: where you are standing. This will destroy any terrain feature that desc: was there before. It will also destroy all items currently on the desc: floor where the spell is cast. desc: It takes 7 turns to build, during which you are vulnerable. desc: It also slightly reduces your satiation. spell:Reveal Creatures:25:3:40:8:0 effect:DETECT_MONSTERS effect-yx:22:40 desc:Detects all monsters in the immediate area, for one turn only. spell:Cloudkill:26:10:60:15:0 effect:BALL:POIS:3 dice:$B expr:B:PLAYER_LEVEL:/ 2 + 40 msg_other: fires a cloud of death. desc:Shoots a radius-3 poison ball. book:shadow book:dungeon:[Dark Evocations]:5:shadow spell:Deep Nights:27:12:80:10:0 cooldown:100 effect:DARKEN_LEVEL:NONE:1 desc:Darkens, maps out, and detects all objects on the complete current desc: dungeon level. desc: Cooldown 100 turns. spell:Cloak of Changement:28:15:75:15:0 effect:CLOAK_CHANGT dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 20 effect:TIMED_SET:MOVE_FAST dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 desc:Disguises you as another player's class. desc: Also makes you walk faster for a short while. spell:Teleport to Target:29:20:65:20:0 effect:TELEPORT_TO dice:$B expr:B:PLAYER_LEVEL:/ 5 + 10 desc:Teleports you next to a chosen target. spell:Begone:30:10:30:50:0 effect:BOLT_STATUS:AWAY_ALL:1 dice:$B expr:B:MAX_SIGHT:* 4 msg_other: makes a rush gesture. desc:Produces a bolt that teleports the first monster in its path desc: up to 100 squares away. spell:Create Traps:31:15:75:25:0 effect:TOUCH:MAKE_TRAP:3:1 desc:A trap is created on each empty floor space that is directly desc: adjacent to you. book:shadow book:dungeon:[Great Shadows]:4:shadow spell:Day of the Misrule:35:25:70:65:0 effect:NOURISH:INC_BY dice:0 effect:NOURISH:DEC_BY dice:1 effect:RANDOM dice:2 effect:TIMED_SET:BOLD:0:5 dice:30+1d30 effect:CURE:AFRAID effect:HEAL_HP dice:30 effect:TIMED_SET:FAST dice:30+1d30 msg_self:%s of the Night rejoice! It's the Day of the Misrule! desc:Hastes you (+10 to speed), cures 30 points of damage, removes fear desc: for 30+1d30 turns. desc: You may spend some satiation on this magic. spell:Far Escape:40:17:35:80:0 effect:TELEPORT_LEVEL effect:NOURISH:DEC_BY dice:1 desc:Teleports you 1 level up or 1 level down (chosen at random). desc: You spend some satiation on this magic. spell:Fast Recall:45:40:40:18:0 effect:NOURISH:INC_BY dice:0 effect:NOURISH:DEC_BY dice:1 effect:RECALL dice:$B+1d$S expr:B:PLAYER_LEVEL:n + 50 expr:S:PLAYER_LEVEL:n + 56 desc:Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by a level-dependent desc: duration. During that delay, the effect can be canceled by invoking desc: the spell of recall again. desc: You may spend some satiation on this magic. spell:Trick or Treat:50:37:30:50:0 effect:SUMMON:MONSTERS:0:1 dice:8 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 msg_other: summons some monsters. desc:Challenge gods for a bet: they summon a rival to you and desc: for such daring they reward you with a blessing. ############### RANGER ############### name:Ranger color:y skill-disarm-phys:36:10 skill-disarm-magic:42:10 skill-device:32:10 skill-save:28:10 skill-stealth:3:0 skill-search:15:15 skill-melee:60:40 skill-shoot:72:45 skill-throw:66:30 skill-dig:0:0 hitdie:6 max-attacks:5 min-weight:35 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:bow:Short Bow:1:1:birth_no_recall equip:arrow:Old Arrow:20:30:birth_no_recall equip:arrow:Old Arrow:20:30:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:WIS[2] value:0:DEX[1] value:0:CON[-1] value:0:CHR[0] player-flags:0:FAST_SHOT | CHOOSE_SPELLS title:Runner title:Strider title:Scout title:Courser title:Tracker title:Guide title:Explorer title:Pathfinder title:Ranger title:Ranger Lord magic:3:400:5 book:nature book:town:[Lesser Charms]:4:nature equip:nature book:[Lesser Charms]:1:1:none spell:Detect Life:3:1:25:2:0 effect:DETECT_LIVING_MONSTERS effect-yx:22:40 desc:Detects all living monsters in the immediate area, desc: for one turn only. spell:Remove Hunger:5:2:23:2:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Magically saves you from starvation. desc: Can be used every 255 turns. spell:Detect Stairs:7:3:50:5:0 effect:DETECT_STAIRS effect-yx:22:40 desc:Detects all stairs in the immediate area. spell:Herbal Curing:9:6:30:4:0 effect:CURE:BLACKBREATH effect:CURE:STUN effect:CURE:POISONED effect:CURE:CUT desc:Cures all cuts, poison, stunning and black breath. book:nature book:town:[Gifts of Nature]:4:nature spell:Resist Poison:12:10:32:5:0 effect:TIMED_SET:OPP_POIS dice:20+1d20 desc:Grants you resistance to poison for 20+1d20 turns. spell:Turn Stone to Mud:15:5:25:5:0 effect:LINE:KILL_WALL dice:20+1d30 msg_other: makes a moving gesture. desc:Produces a beam that destroys the first section of wall it hits, desc: unless it is a permanent wall. Each monster caught in the beam that desc: is susceptible to rock remover takes 20+1d30 points of damage. spell:Farsight:17:6:30:25:0 effect:TIMED_SET:FARSIGHT dice:$B+1d20&m$M expr:B:PLAYER_LEVEL:+ 0 expr:M:PLAYER_LEVEL:- 7 / 10 desc:Increases your shooting range, infravision and chance to-hit for a desc: level-dependent duration. spell:Extra Growth:18:20:40:12:0 effect:TIMED_SET:GROWTH dice:20+1d20 desc:Grants you stat growth for 20+1d20 turns. book:nature book:town:[Creature Dominion]:4:nature spell:Sense Surroundings:20:8:35:8:0 cooldown:120 effect:MAP_AREA effect-yx:15:32 desc:Maps out a portion of the level around you. desc: Induces temporary sensory overload. desc: Can be used every 120 turns. spell:Cover Tracks:20:20:40:40:0 effect:TIMED_SET:COVERTRACKS:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:* 2 desc:Prevents you from leaving scent for monsters to track you by for a desc: level-dependent duration. spell:Create Arrows:22:20:40:40:0 effect:CREATE_ARROWS desc:Allows the player to turn a staff into a stack of arrows, with quality desc: depending on staff level and player level. spell:Forest's Embrace:23:23:40:12:0 effect:BLAST:MON_HEAL:5 dice:6+$Dd6 expr:D:PLAYER_LEVEL:/ 2 msg_other: emits a healing blast. desc:Creates a radius-5 healing ball around you. book:nature book:dungeon:[Nature Craft]:4:nature spell:Haste Self:25:12:65:15:0 effect:TIMED_SET:SPEEDY:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Hastes you up to (+10 to speed) for a level-dependent duration. spell:Ancient Lore:27:30:80:20:0 effect:IDENTIFY desc:Reveals an unknown rune on an object. spell:Berserker:28:30:80:35:0 effect:TIMED_SET:SHERO:0:5 dice:25+1d25 effect:TIMED_SET:BOLD:0:5 dice:25+1d25 effect:CURE:AFRAID effect:HEAL_HP dice:30 desc:Cures 30 points of damage, removes fear and grants you berserk desc: strength (resistance to fear, a bonus of +24 to-hit and a penalty desc: of -10 to AC) for 25+1d25 turns. spell:Decoy:30:30:40:60:0 effect:GLYPH:DECOY desc:Leaves a magical decoy that looks and sounds like the player. book:nature book:dungeon:[Wild Forces]:4:nature spell:Power Shots:31:12:50:40:0 effect:BOW_BRAND_SHOT:MISSILE dice:5 desc:Covers your missiles with the elements. spell:Enchant Weapon:34:50:90:60:0 effect:ENCHANT:TOBOTH dice:1 effect:NOURISH:DEC_BY dice:1 desc:Attempts to improve the to-hit bonus and the to-dam bonus of a weapon. desc: This spell reduces your nourishment. spell:Poison Shots:37:20:85:45:0 effect:BOW_BRAND_SHOT:POIS dice:5 desc:Covers your missiles with venom. spell:Elemental Brand:40:60:95:120:0 effect:BRAND_AMMO desc:Brands one stack of ammunition with fire, cold or poison desc: (selected at random) and at the same time attempts to improve desc: the to-hit bonus and the to-dam bonus of the same ammunition. desc: The spell has no effect if the ammunition is an artifact, an ego item desc: or a worthless item. ############### BLACKGUARD ############### name:Blackguard color:s skill-disarm-phys:20:15 skill-disarm-magic:20:10 skill-device:24:10 skill-save:18:10 skill-stealth:-1:-1 skill-search:8:10 skill-melee:65:40 skill-shoot:1:1 skill-dig:0:0 hitdie:9 max-attacks:5 min-weight:100 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:sword:Tulwar:1:1:none equip:shield:Leather Shield:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall obj-flag:1:IMPAIR_HP value:0:STR[2] value:0:WIS[-3] value:0:CON[2] value:0:CHR[0+-1d10] player-flags:0:CHOOSE_SPELLS | SHIELD_BASH | COMBAT_REGEN | SHAPECHANGE # 1) can't have positive stealth (even with items boni) # 2) at 40+ any polymorph form causes agro (40 rad) and hunger # 3) at 40+ degen mana faster (as they generate too much rage-mana) # 4) BpR above 5 gives severe malus to AC and DAM_RED value:25:RES_LIGHT[-1] value:40:DAM_RED[-1] value:40:STEALTH[-1] #value:40:MOVES[-1] obj-flag:0:CLUMSY shape:20:werewolf shape:40:volkodlak title:Rat title:Bully title:Thug title:Ruffian title:Brigand title:Raider title:Tormentor title:Marauder title:Destroyer title:Tyrant magic:1:600:5 book:shadow book:town:[Shadows for Beginners]:5:shadow equip:shadow book:[Shadows for Beginners]:1:1:none spell:Seek Battle:1:1:15:2:0 effect:DETECT_FEARFUL_MONSTERS effect-yx:22:40 desc:Detects all monsters susceptible to fear in the immediate area, desc: for one turn only. spell:Berserk Strength:3:2:20:4:0 effect:TIMED_SET:SHERO:0:5 dice:25+1d25 effect:TIMED_SET:BOLD:0:5 dice:25+1d25 effect:CURE:AFRAID desc:Removes fear and grants you berserk strength (resistance to fear, desc: a bonus of +24 to-hit and a penalty of -10 to AC) for 25+1d25 turns. spell:Whirlwind Attack:5:4:25:6:0 effect:SWEEP desc:Deals a melee attack to each adjacent enemy. spell:Shatter Stone:7:3:20:8:0 effect:SHORT_BEAM:KILL_WALL:1 dice:20+1d30 desc:Destroys an adjacent section of wall or rubble, unless it is a permanent desc: wall. Deals 20+1d30 damage to monsters vulnerable to rock remover. spell:Leap into Battle:10:5:30:10:0 effect:TELEPORT_TO dice:4 desc:Teleports you next to a chosen target up to 4 squares away. book:shadow book:town:[Dark Conjurings]:5:shadow spell:Dark Blessing:12:6:24:12:0 effect:TIMED_SET:HOLD_LIFE dice:20+1d20 desc:Grants you resistance to draining attacks for 20+1d20 turns. spell:Grim Purpose:13:8:30:12:0 effect:CLEAR_VALUE effect:TIMED_SET:FREE_ACT effect:TIMED_SET:OPP_CONF effect:SET_VALUE dice:12+1d12 desc:Your mind becomes too focused to be slowed, paralyzed or confused desc: for 12+1d12 turns. spell:Maim Foe:15:6:35:14:0 effect:MELEE_BLOWS:MON_STUN dice:6 desc:Attempts a melee attack against the targeted monster. Stuns the enemy desc: for 6 turns if hit. spell:Unholy Pact:16:8:32:16:0 effect:TIMED_SET:REGEN dice:20+1d20 desc:Greatly increases your regeneration rate for 20+1d20 turns. desc: The effect of this spell is cumulative with other means of regeneration. spell:Howl of the Damned:18:8:30:16:0 effect:PROJECT_LOS:TURN_ALL dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Attempts to scare every monster in line of sight for a level-dependent desc: duration. Monsters that resist fear are not affected. book:shadow book:town:[Shadows and Illusions]:5:shadow spell:Phantom's Weapon:20:10:40:20:0 effect:TIMED_SET:HOLD_WEAPON dice:20+1d20 desc:Grants extra damage each turn and makes you immune to disarming desc: for 20+1d20 turns. spell:Soul Harvest:22:11:44:22:0 effect:TIMED_SET:SOUL dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 50 expr:S:PLAYER_LEVEL:* 2 + 30 desc:This heals you by a substantial amount every time you kill a monster desc: within its duration. spell:Relentless Taunting:24:10:32:20:0 effect:TIMED_SET:TAUNT dice:12+1d12 desc:Makes any monster that can move more inclined to run toward you, and less desc: likely to use a ranged attack (including spells and innate abilities). spell:Demonic Soul:25:12:48:24:0 effect:TIMED_SET:SAFE dice:20+1d20 effect:TIMED_SET:GROWTH dice:20+1d20 desc:Grants you stat growth and perfect saving throw for 20+1d20 turns. spell:Aura of Despair:26:13:52:26:0 effect:TIMED_SET:DESPAIR dice:20+1d20 desc:Gives monsters around you a penalty to their saving throws and doubles desc: the duration if they become afraid for 20+1d20 turns. book:shadow book:dungeon:[Dark Evocations]:5:shadow spell:Venom:28:18:35:30:0 effect:TIMED_SET:ATT_POIS:0:5 dice:18+1d18 desc:Coats all your melee weapons with poison for 18+1d18 turns. spell:Dark Minions:28:14:56:28:0 effect:SUMMON:DEMON:0:20 dice:1 effect:SUMMON:UNDEAD:0:20 dice:1 msg_other: summons some minions. desc:Attempts to summon one undead monster and one demon generated at the desc: current dungeon level. This spell has no effect when used in the town. spell:Bloodlust:30:25:37:80:0 effect:TIMED_SET:BLOODLUST:0:-1 dice:10 desc:Gives you a powerful desire to kill, increased every time you satisfy it. desc: Gives you extra melee damage and extra blows, but comes desc: with dangerous side-effects. spell:Demonic Skin:32:16:64:32:0 effect:TIMED_SET:SHIELD dice:30+1d20 desc:Grants you AC based on your level for 30+1d20 turns. spell:Unholy Reprieve:34:45:60:120:0 effect:DAMAGE dice:66 effect:RESTORE_EXP effect:RESTORE_STAT:CON effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Restores strength, intelligence, constitution, and experience at the cost desc: of 66 HP. book:shadow book:dungeon:[Great Shadows]:5:shadow spell:Demonic Resistance:36:18:72:36:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 desc:Grants you resistance to acid, cold, fire, lightning and poison for desc: 20+1d20 turns. spell:Forceful Blow:38:16:50:150:0 effect:MELEE_BLOWS:FORCE dice:2d$B expr:B:PLAYER_LEVEL:* 4 desc:Attempts a melee attack and hits the target with force, knocking it back desc: with a chance to stun it. spell:Demonic Flight:40:20:80:40:0 effect:TIMED_SET:FLIGHT:0:5 dice:5+1d5 desc:Grants flying for 5+1d5 turns. spell:Path of the Unholy:42:21:84:42:0 effect:TELEPORT dice:40 msg_other: teleports away. effect:TIMED_SET:ICY_AURA dice:10+1d10 effect:TIMED_SET:ESP dice:10+1d10 effect:TIMED_SET:ZFARSIGHT dice:10+1d10 desc:Grants infravision, telepathic powers, and surrounds you with an icy aura desc: for 10+1d10 turns, but also teleports you around. desc: Creates a curtain of ice around you to block enemy attacks, damaging and desc: freezing them in the process, but also reduces stealth and movement speed. desc: Additional effects: desc: Level 10: +10 to AC desc: Level 40: reduce malus to stealth and movement spell:Quake:44:39:55:175:0 cooldown:255 effect:EARTHQUAKE:NONE:13 desc:Causes a radius 13 earthquake centered around the player. desc: Cooldown 255 turns. ############### SORCERER ############### name:Sorceror color:R # uses spell instead. logic: sorc is too lazy to do stuff 'by hands' skill-disarm-phys:10:6 skill-disarm-magic:10:6 skill-device:40:15 skill-save:30:9 skill-stealth:2:0 skill-search:10:12 skill-melee:30:11 skill-shoot:20:15 skill-throw:20:15 skill-dig:0:0 hitdie:0 max-attacks:1 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-5] value:0:INT[5] value:0:CON[-3] # sullen old sorcerer who focused on magical arts to get POWER beyond imagination value:0:CHR[-2] value:0:MANA[5] player-flags:0:ZERO_FAIL | BEAM | CHOOSE_SPELLS obj-flag:0:CLUMSY title:Novice title:Apprentice title:Trickster title:Illusionist title:Spellbinder title:Evoker title:Conjurer title:Magician title:Sorcerer title:Arch-Mage magic:1:300:5 book:magic book:town:[Magic for Beginners]:8:arcane equip:magic book:[Magic for Beginners]:1:1:none spell:Magic Missile:1:1:12:4:0 # 6-42 @ 24 (~24) # 9-108 @ 50 (~58) effect:BOLT_OR_BEAM:MISSILE:0:-10 dice:$Dd$S expr:D:PLAYER_LEVEL:- 1 / 5 + 3 expr:S:PLAYER_LEVEL:/ 10 + 4 msg_other: fires a magic missile. desc:Fires a magic missile that always hits its target and does desc: irresistible damage. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Detect Monsters:1:1:13:4:0 effect:DETECT_VISIBLE_MONSTERS effect-yx:22:40 desc:Detects all non-invisible monsters in the immediate area, desc: for one turn only. spell:Phase Door:2:2:14:4:0 effect:TELEPORT dice:10 msg_other: blinks away. desc:Teleports you randomly up to 10 squares away. spell:Light Room:2:2:16:4:0 effect:LIGHT_AREA effect:BLAST:LIGHT_WEAK:2 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 msg_other: calls light. desc:Lights up all squares within 2 grids of the player and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Find Traps, Doors & Stairs:3:3:15:3:0 effect:DETECT_STAIRS effect-yx:22:40 effect:DETECT_DOORS effect-yx:22:40 effect:DETECT_TRAPS effect-yx:22:40 desc:Detects all traps, doors and stairs in the immediate area. spell:Fire Ball:3:2:17:3:0 effect:BALL:FIRE:2 dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: fires a fire ball. desc:Shoots a radius-2 fire ball. spell:Detect Treasure:4:4:18:4:0 cooldown:150 effect:DETECT_TREASURES effect-yx:22:40 desc:Detects all treasure in the immediate area. desc: Cooldown 150 turns. spell:Lightning Beam:5:4:20:4:0 effect:BEAM:ELEC dice:$Dd6 expr:D:PLAYER_LEVEL:- 1 / 5 + 3 msg_other: fires a lightning beam. desc:Fires a lightning beam that hurts each monster in its path. book:magic book:town:[Conjurings and Tricks]:8:arcane spell:Disable Traps, Destroy Doors:5:5:20:6:0 effect:TOUCH:KILL_TRAP effect:TOUCH:KILL_DOOR msg_other: sways his hands. desc:Disables traps and destroys doors within a 1-square radius of you. spell:Teleport Self:6:6:25:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:Teleports you randomly within the current level. spell:Frost Bolt:7:3:30:6:0 effect:BOLT_OR_BEAM:COLD dice:$Dd8 expr:D:PLAYER_LEVEL:- 5 / 3 + 6 msg_other: fires a frost bolt. desc:Fires a frost bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Dig:10:7:34:8:0 # regular damage, not vuln effect:LINE:KILL_WALL dice:$B expr:B:PLAYER_LEVEL:/ 10 * 50 msg_other: makes a moving gesture. desc:Produces a beam that destroys the first section of wall it hits, desc: unless it is a permanent wall. Each monster caught in the beam that desc: is susceptible to rock remover takes damage. spell:Identify Rune:12:7:40:6:0 effect:IDENTIFY effect:NOURISH:DEC_BY dice:1 desc:Reveals an unknown rune on an object. spell:Map Area:13:10:45:7:0 # CD so player will use Find Traps, Doors & Stairs sometimes cooldown:120 effect:MAP_AREA effect-yx:22:40 desc:Maps out a portion of the level around you. desc: Cooldown 120 turns. spell:Radiate Fear:14:12:45:8:0 effect:BLAST_OBVIOUS:TURN_ALL:5 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: emits a blast of terror. desc:Attempts to scare monsters around you for a level-dependent duration. spell:Reveal Monsters:15:6:40:10:0 effect:DETECT_MONSTERS effect-yx:22:40 desc:Detects all monsters in the immediate area, for one turn only. book:magic book:town:[Incantations and Illusions]:8:arcane spell:Elemental Bolt:17:9:40:14:0 effect:CLEAR_VALUE effect:BOLT_OR_BEAM:ACID:0:-10 effect:BOLT_OR_BEAM:FIRE:0:-10 effect:BOLT_OR_BEAM:COLD:0:-10 effect:BOLT_OR_BEAM:ELEC:0:-10 effect:SET_VALUE dice:$Dd8&m4 expr:D:PLAYER_LEVEL:- 5 / 4 + 5 msg_other: fires an elemental bolt. desc:Fires an elemental bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. # TODO: implement CD + mana restore after we will add CD ending indicator to UI spell:Meditation:20:5:30:15:0 #cooldown:255 #effect:RESTORE_MANA #dice:500 effect:TIMED_SET:MEDITATE dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Helps increasing your mana capacity at the cost of hit points desc: for a level-dependent duration. #desc: Cooldown 255 turns. spell:Stone Prison:20:15:44:30:0 effect:CREATE_WALLS desc:A wall is created on each empty floor space that is directly desc: adjacent to you. spell:Teleport Other:23:12:50:15:0 effect:BOLT_STATUS:AWAY_ALL:1 dice:$B expr:B:MAX_SIGHT:* 5 msg_other: makes a rush gesture. desc:Produces a bolt that teleports the first monster in its path desc: up to 100 squares away. spell:Recharging:24:26:70:19:0 effect:RECHARGE dice:$B expr:B:PLAYER_LEVEL:/ 8 + 6 desc:Adds charges to a stack of wands or staves. desc: Chance of success and number of charges gained increase with your desc: level and decrease with level of wand or staff and number of charges. desc: A failed attempt to recharge destroys one wand or staff from the stack. spell:Speed:25:12:55:20:1 effect:TIMED_SET:SPEEDY:0:5 dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Hastes you up to (+10 to speed) for a level-dependent duration. spell:Wipe:27:20:65:50:0 # CD so player will use Teleport Other sometimes cooldown:30 effect:WIPE_AREA:NONE:10 msg_other: wrecks havoc. desc:Wipes everything in a 10-square radius around you. desc: All monsters, objects and terrain features in the area of desc: effect are wiped, except stairs and permanent walls. desc: This spell has no effect when used in the town. desc: Cooldown 30 turns. spell:Sunfire:28:15:60:35:0 effect:BALL:LIGHT:2 dice:$B expr:B:PLAYER_LEVEL:* 2 + 130 msg_other: invokes the sunfire. desc:Shoots a radius-2 light ball. book:magic book:dungeon:[Sorcery and Evocations]:7:arcane spell:Resistance:28:20:55:60:1 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Grants you resistance to acid, cold, fire, lightning and poison for desc: a level-dependent duration. spell:Recall:30:25:65:70:1 effect:RECALL dice:14+1d20 desc:Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by 14+1d20 turns. desc: During that delay, the effect can be canceled by invoking the spell desc: of recall again. spell:Wraithform:30:30:95:70:1 effect:TIMED_SET:WRAITHFORM dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Grants you the ability to pass through non-permanent walls desc: for a level-dependent duration. spell:Destruction:33:21:80:80:0 # CD so player will use Wipe sometimes cooldown:60 effect:DESTRUCTION:LIGHT:15 desc:Destroys everything in a 15-square radius circle around you. desc: All monsters, objects and terrain features in the area of desc: effect are destroyed, except stairs and permanent walls. desc: You will also be blinded for 10+1d10 turns, unless you desc: have resistance to blindness or light. desc: This spell has no effect when used in the town. desc: Cooldown 60 turns. spell:Telepathy:34:40:75:150:0 effect:TIMED_SET:ESP dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Grants you the power of telepathy for a level-dependent duration. spell:Mass Banishment:35:75:90:100:0 # CD so player will use Destruction sometimes cooldown:120 effect:MASS_BANISH desc:Removes all monsters within 20 squares of you. desc: Uniques are not affected. desc: You take 1d3 points of damage for every monster removed. desc: Cooldown 120 turns. spell:Plasma Blast:36:21:45:120:0 # HC +1 rad at 45 and 50 lvl (BLAST 1 radius actually means 2 compared to balls :D) effect:BLAST:PLASMA:1 dice:$B expr:B:PLAYER_LEVEL:* 2 + 250 msg_other: emits a plasma blast. desc:Creates a radius-3 plasma ball around you. desc: At level 45, its radius becomes 2; at level 50, radius becomes 3. book:magic book:dungeon:[Wizard's Tome of Power]:7:arcane spell:Disruption Shield:38:70:90:100:0 effect:TIMED_SET:MANASHIELD dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 10 expr:S:PLAYER_LEVEL:/ 2 + 5 desc:Creates a shield of mana around you that absorbs all damage desc: inflicted on your character... as long as you have mana desc: to fuel it. spell:Water Needle:39:22:55:250:0 effect:BOLT:WATER dice:$B expr:B:PLAYER_LEVEL:* 2 + 400 msg_other: sends forth a needle born of rain. desc:Unleashes a water-forged needle swift enough to pierce stone. spell:Clairvoyance:43:50:95:200:0 effect:LIGHT_LEVEL desc:Lights up, maps out and senses all objects on the complete current desc: dungeon level. spell:Mana Storm:45:16:75:200:0 # HC rad increase effect:BALL:MANA:1 dice:$B expr:B:PLAYER_LEVEL:* 2 + 350 msg_other: invokes a mana storm. desc:Shoots a mana bolt that later turns into a powerful ball. desc:At level 47 it becomes a radius-2 ball, and at level 50 a radius-3 ball. desc:Deals almost irresistible damage to each monster in its area of effect. spell:Sea of Runes:47:60:75:40:0 effect:SAFE_GUARD desc:Inscribes a circle of glyphs of warding around you. desc: Summoned monsters can't appear on the glyphs. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Higher level monsters are more likely to break the glyphs. desc: The glyphs will remain where they are, until a monster succeeds in desc: breaking them or until you leave the level. #spell:Tidal Wave:45:22:55:250:0 #effect:BALL:WATER:3 #dice:$B #expr:B:PLAYER_LEVEL:* 2 + 450 #msg_other: invokes a tidal wave. #desc:Shoots a radius-3 water ball. spell:Anarchy Force:49:31:65:250:0 effect:STAR_BALL:CHAOS:3 dice:$B+m8 expr:B:PLAYER_LEVEL:* 2 + 100 msg_other: invokes a chaos storm. desc:Shoots a radius-3 chaos ball in all eight cardinal directions. spell:Annihilation Bolt:50:20:60:180:0 # HCed: evil not not resistant.. only undead effect:BOLT:NETHER dice:500 msg_other: fires an annihilation bolt. desc:Fires a powerful magic missile that always hits its target desc: and does nether damage. ############### UNBELIEVER ############### name:Unbeliever color:m skill-disarm-phys:42:10 skill-disarm-magic:21:7 skill-device:0:0 skill-save:32:14 skill-stealth:0:0 skill-search:18:15 skill-melee:70:45 skill-shoot:55:45 skill-throw:55:45 skill-dig:0:0 hitdie:9 max-attacks:6 min-weight:30 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:potion:Berserk Strength:1:1:birth_no_recall equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:potion:Cure Light Wounds:2:3:birth_no_recall equip:scroll:Phase Door:3:4:birth_no_recall value:0:STR[3] # Believing in science (or religion) instead of magic is not the reason to be stupid... value:0:INT[-4+1d10] # ...but in magical world it's definitely not wise. value:0:WIS[-3] value:0:DEX[2] value:0:CON[2] value:0:CHR[0+1d24] value:0:ANTI_MAGIC[1d1] player-flags:0:NO_MANA # + SEE_INVIS in 1 range # + drain magic from non-natural magic creatures -> restore life # + make curse works rare (like save) # + drink from fountains mainly water # - can't uncurse items # - can't use MD (exception: tp staff with 70% fail) ######################## #player-flags:0:CAN_SWIM .. make swimming movement slower.. rework it. #obj-flag:0:CANT_FLY #obj-flag:0:SLOW_DIGEST #value:0:STEALTH[1] #value:50:RES_DISEN[1] title:Asker title:Thinker title:Faithless title:Critic title:Betrayer title:Renegate title:Undisciple title:Disbeliever title:Knower title:Magicbane ############### ARCHER in PWMA ############### name:Hunter color:Y skill-disarm-phys:42:10 skill-disarm-magic:28:8 skill-device:32:10 skill-save:28:10 skill-stealth:2:0 skill-search:15:15 skill-melee:56:30 skill-shoot:82:55 skill-throw:82:55 skill-dig:0:0 hitdie:4 max-attacks:2 min-weight:35 strength-multiplier:3 equip:light:Rusty Lantern:1:1:none equip:hafted:Club:1:1:none equip:bow:Short Bow:1:1:birth_no_recall equip:arrow:Old Arrow:25:35:birth_no_recall equip:arrow:Old Arrow:25:35:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-2] value:0:INT[-2] value:0:WIS[2] value:0:DEX[2] value:0:CHR[-1] value:0:SHOTS[1d3] player-flags:0:CHOOSE_SPELLS | FAST_THROW # increase vision radius? title:Rock Thrower title:Slinger title:Fowler title:Huntsman title:Tracker title:Montero title:Shikari title:Hunter title:Master Hunter title:Night Hunter magic:5:400:5 book:nature book:town:[Lesser Charms]:4:nature equip:nature book:[Lesser Charms]:1:1:none spell:Lightning Shots:5:1:10:4:0 effect:BOW_BRAND_SHOT:ELEC dice:3 desc:Covers your missiles with lightning. spell:Detect Life:7:3:14:7:0 effect:DETECT_LIVING_MONSTERS effect-yx:22:40 desc:Detects all living monsters in the immediate area, desc: for one turn only. spell:Cold Shots:10:3:18:12:0 effect:BOW_BRAND_SHOT:COLD dice:5 desc:Covers your missiles with frost. spell:Remove Hunger:12:6:24:12:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Magically saves you from starvation. desc: Can be used every 255 turns. book:nature book:town:[Gifts of Nature]:4:nature spell:Fire Shots:15:5:26:20:0 effect:BOW_BRAND_SHOT:FIRE dice:7 desc:Covers your missiles with fire. spell:Farsight:17:6:30:25:0 effect:TIMED_SET:FARSIGHT dice:$B+1d20&m$M expr:B:PLAYER_LEVEL:+ 0 expr:M:PLAYER_LEVEL:- 7 / 10 desc:Increases your shooting range, infravision and chance to-hit for a desc: level-dependent duration. spell:Cure Poison:18:9:36:18:0 effect:CURE:POISONED desc:Neutralizes poison. spell:Acid Shots:20:7:34:30:0 effect:BOW_BRAND_SHOT:ACID dice:9 desc:Covers your missiles with acid. book:nature book:town:[Creature Dominion]:4:nature spell:Thunder Shots:22:8:38:35:0 effect:BOW_BRAND:ELEC:1 dice:20 desc:Turns your missiles into explosive lightning shots. spell:Resist Poison:24:12:48:24:0 effect:TIMED_SET:OPP_POIS dice:20+1d20 desc:Grants you resistance to poison for 20+1d20 turns. spell:Confusion Shots:25:9:42:40:0 effect:BOW_BRAND:MON_CONF desc:Turns your missiles into confusing shots. spell:Poison Shots:27:10:46:45:0 effect:BOW_BRAND_SHOT:POIS dice:11 desc:Covers your missiles with venom. book:nature book:dungeon:[Nature Craft]:4:nature spell:Sense Surroundings:28:14:56:28:0 cooldown:120 effect:MAP_AREA effect-yx:15:32 desc:Maps out a portion of the level around you. desc: Can be used every 120 turns. spell:Piercing Shots:30:11:50:50:0 effect:BOW_BRAND:ARROW desc:Turns your missiles into deadly piercing shots. spell:Explosive Shots:32:12:54:55:0 effect:BOW_BRAND:SHARD:1 dice:10 desc:Turns your missiles into explosive shots. spell:Ice Shots:35:14:58:60:0 effect:BOW_BRAND:COLD:1 dice:30 desc:Turns your missiles into explosive ice shots. book:nature book:dungeon:[Wild Forces]:4:nature spell:Flame Shots:37:16:62:70:0 effect:BOW_BRAND:FIRE:1 dice:35 desc:Turns your missiles into explosive flame shots. spell:Acid Shots:40:18:66:80:0 effect:BOW_BRAND:ACID:1 dice:40 desc:Turns your missiles into explosive acid shots. spell:Power Shots:42:20:70:90:0 effect:BOW_BRAND_SHOT:MISSILE dice:20 desc:Covers your missiles with the elements. spell:Sonic Shots:45:25:70:100:0 effect:BOW_BRAND:SOUND:1 dice:25 desc:Turns your missiles into explosive sonic shots. ############### TELEPATH ############### name:Telepath color:b skill-disarm-phys:34:8 skill-disarm-magic:28:8 skill-device:30:13 skill-save:30:6 skill-stealth:1:0 skill-search:15:15 skill-melee:42:20 skill-shoot:30:20 skill-throw:30:20 skill-dig:0:0 hitdie:3 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-1] value:0:INT[-2] value:0:WIS[3] value:0:DEX[-1] value:0:CHR[0+1d15] player-flags:0:BEAM | CHOOSE_SPELLS obj-flag:0:PROT_AMNESIA title:Novice title:Talent title:Empath title:Mindbender title:Mindcrafter title:Psionicist title:Clairvoyant title:Telepath title:Meta title:Pegasus Rider magic:1:400:5 book:psi book:town:of Telepathy:8:psi book-graphics:?:B book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A glowing stone, engraved with runes of power. equip:psi book:of Telepathy:1:1:none spell:Mind Blast:1:1:12:4:0 effect:BOLT_OR_BEAM:PSI dice:$Dd$S expr:D:PLAYER_LEVEL:- 1 / 4 + 3 expr:S:PLAYER_LEVEL:/ 15 + 4 msg_other: hurls a mind blast. desc:Fires a mental blast that will damage minded creatures. desc: This also has a chance to stun, confuse, put to sleep or scare desc: affected monsters. spell:Sense Monsters:2:2:14:4:0 effect:DETECT_VISIBLE_MONSTERS effect-yx:22:40 desc:Detects all non-invisible monsters in the immediate area, desc: for one turn only. spell:Minor Displacement:3:3:16:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:+ 7 msg_other: blinks away. desc:Teleports you randomly to a short distance. spell:Light Control:4:4:18:5:0 effect:BLAST:LIGHT_WEAK:1:10 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:Lights up all squares in a level-dependent area and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Spiritual Hammer:5:2:20:6:0 effect:BOLT:MISSILE dice:$Dd6 expr:D:PLAYER_LEVEL:- 1 / 4 + 1 msg_other: hurls a spiritual hammer. desc:Hurls a spiritual hammer that will damage any creature. spell:Confusion Blast:6:5:22:6:0 effect:BOLT_AWARE:MON_CONF dice:5+1d5 msg_other: hurls a confusing blast. desc:Attempts to confuse a single monster. spell:Cell Adjustment:7:6:24:7:0 effect:TIMED_DEC:STUN dice:20 effect:TIMED_DEC:CUT dice:20 effect:HEAL_HP dice:6+$Dd6 expr:D:PLAYER_LEVEL:/ 2 desc:Cures up to 6+Xd6 points of damage (based on level) and desc: heals 20 points worth of cuts and stunning. spell:Major Displacement:8:7:26:8:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:Teleports you randomly within the current level. book:psi book:town:of Mind Support:7:psi book-graphics:?:B book-properties:10:30:400 book-alloc:30:10 to 100 book-desc:A glowing stone, engraved with runes of power. spell:Dig:9:8:28:9:0 effect:LINE:KILL_WALL dice:20+1d30 msg_other: makes a moving gesture. desc:Produces a beam that destroys the first section of wall it hits, desc: unless it is a permanent wall. Each monster caught in the beam that desc: is susceptible to rock remover takes 20+1d30 points of damage. spell:Mind Vision:10:9:30:10:0 effect:MIND_VISION desc:Allows you to infiltrate other players' minds desc: and see through their eyes. spell:Hypnosis:11:10:32:11:0 effect:PROJECT_LOS_AWARE:SLEEP_ALL desc:Attempts to put to sleep each monster within line of sight. spell:Sense Surroundings:12:10:34:12:0 effect:MAP_AREA effect-yx:15:32 desc:Maps out a portion of the level around you. spell:Psychometry:14:12:37:14:0 effect:IDENTIFY desc:Reveals an unknown rune on an object. spell:Remove Hunger:16:14:40:16:0 cooldown:255 effect:NOURISH:INC_TO dice:10 msg_self:You focus your mind to convert energy into food. desc:Magically saves you from starvation. desc: Can be used every 255 turns. spell:Mass Stun:18:15:43:18:0 effect:PROJECT_LOS_AWARE:MON_STUN dice:5+1d5 desc:Attempts to stun each monster within line of sight. book:psi book:town:of Mindcraft:7:psi book-graphics:?:B book-properties:25:30:1600 book-alloc:20:25 to 100 book-desc:A glowing stone, engraved with runes of power. spell:Kinetic Blast:20:10:46:20:0 effect:BEAM:FORCE dice:$B+1d$S expr:B:PLAYER_LEVEL:+ 50 expr:S:PLAYER_LEVEL:* 2 msg_other: hurls a kinetic blast. desc:Fires a beam of pure mental force that crushes each monster in its path. spell:Precognition:22:17:48:22:0 effect:DETECT_MONSTERS effect-yx:22:40 effect:DETECT_STAIRS effect-yx:22:40 effect:DETECT_DOORS effect-yx:22:40 effect:DETECT_TRAPS effect-yx:22:40 desc:Detects all traps, doors, stairs and monsters in the desc: immediate area. spell:Psychic Drain:24:21:50:24:0 effect:BOLT:PSI_DRAIN dice:$Dd6 expr:D:PLAYER_LEVEL:/ 2 msg_other: hurls a psychic bolt. desc:Drains part of the life-force from a nearby monster and replenishes desc: your mana with it. Does not affect undead, demons, golems, elementals or desc: vortices. spell:Telekinesis:25:21:53:25:0 effect:TELE_OBJECT desc:Allows you to send objects from your inventory desc: to another player's inventory. spell:Force Shield:27:23:56:29:0 effect:TIMED_SET:SHIELD dice:30+1d20 desc:Grants you AC based on your level for 30+1d20 turns. spell:Prismatic Shield:29:25:59:33:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 desc:Grants you resistance to acid, cold, fire, lightning and poison for desc: 20+1d20 turns. spell:Mind Wave:30:15:61:35:0 effect:BLAST:INERTIA:2:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:BLAST:SOUND:2:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:BLAST:PSI:2:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: radiates a powerful mind wave. desc:Creates a radius-5 to radius-7 mental wave around you. Each blast will do desc: 1/3 damage from mental force, 1/3 damage from sound and 1/3 damage from desc: inertia. book:psi book:dungeon:of Telekinesis:6:psi book-graphics:?:b book-properties:40:30:20000 book-alloc:15:40 to 100 book-desc:A stone glowing brightly, engraved with runes of power. spell:Recall:31:25:62:37:0 effect:RECALL dice:14+1d20 desc:Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by 14+1d20 turns. desc: During that delay, the effect can be canceled by invoking the power desc: of recall again. spell:Awareness:32:27:64:39:0 effect:TIMED_SET:ESP dice:$B+1d10 expr:B:PLAYER_LEVEL:+ 0 desc:Grants you the power of telepathy for a level-dependent duration. spell:Space/Time Anchor:33:27:65:41:0 effect:TIMED_SET:ANCHOR dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Grants you resistance to gravity and time for a level-dependent duration. desc: Watch out, this also prevents any means of teleportation around you! spell:Displace Other:34:29:67:43:0 effect:BLAST_OBVIOUS:AWAY_ALL:2:10 dice:100 msg_other: makes a rush gesture. desc:Creates a radius-5 to radius-7 wave around you that teleports each monster desc: in its path up to 100 squares away. spell:Biofeedback:35:30:68:45:0 effect:TIMED_SET:BIOFEEDBACK dice:1d$S expr:S:PLAYER_LEVEL:+ 10 desc:Increases regeneration rate. Also reduces damage from missile, desc: shards or sound attacks. desc: This power can cause nasty effects when Adrenaline Channeling is desc: activated. spell:Probability Travel:36:30:70:47:0 effect:TIMED_SET:PROBTRAVEL dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Allows you to teleport 1 level up or 1 level down at will. desc: This also allows fast traveling on current level (pass walls). book:psi book:dungeon:of Empathy:6:psi book-graphics:?:b book-properties:60:30:50000 book-alloc:10:60 to 100 book-desc:A stone glowing brightly, engraved with runes of power. spell:Time Bolt:38:15:73:51:0 effect:BOLT_OR_BEAM:TIME dice:$Dd$S expr:D:PLAYER_LEVEL:/ 12 + 10 expr:S:PLAYER_LEVEL:+ 0 msg_other: breaks the space/time continuum. desc:Fires a time bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. desc: Nonliving creatures may resist to some extent. spell:Clairvoyance:40:34:76:55:0 cooldown:100 effect:LIGHT_LEVEL desc:Lights up, maps out and senses all objects on the complete current desc: dungeon level. desc: Cooldown 100 turns. spell:Kinetic Wave:42:20:79:59:0 effect:BLAST:FORCE:3:10 dice:$B expr:B:PLAYER_LEVEL:* 4 msg_other: radiates a powerful kinetic wave. desc:Creates a radius-7 to radius-8 wave of pure mental force around you. spell:Rapid Healing:45:38:82:65:0 effect:CURE:CUT effect:CURE:STUN effect:CURE:POISONED effect:CURE:AMNESIA effect:HEAL_HP dice:1000 msg_self:Your body begins to rapidly recover. desc:Cures 1000 points of damage, cures all stunning, heals all desc: cut damage, neutralizes poison, and cures amnesia. spell:Brain Smash:48:24:77:70:0 effect:BOLT_OR_BEAM:SMASH dice:$Dd15 expr:D:PLAYER_LEVEL:* 3 / 5 msg_other: hurls a powerful mind blast. desc:Fires a powerful mental blast that will damage minded creatures. desc: This also has a chance to blind, confuse, put to sleep or slow desc: affected monsters. spell:Adrenaline Channeling:50:42:72:75:0 effect:TIMED_SET:ADRENALINE dice:10+1d10 desc:Attempts to control the adrenaline flow in your body, increasing your desc: fighting abilities for 10+1d10 turns. desc: At a first stage, cures 30 points of damage, removes fear and grants desc: you berserk strength (resistance to fear, a bonus of +24 to-hit and a desc: penalty of -10 to AC). desc: At a second stage, increases strength, dexterity and constitution. desc: At a third stage, grants a bonus of +8 to-dam. desc: At a fourth stage, increases attack speed by 1. desc: At a fifth and last stage, hastes you (+10 to speed). desc: This power can cause damage if used too often or when Biofeedback is desc: activated. ############### ELEMENTALIST ############### name:Elementalist color:x skill-disarm-phys:35:9 skill-disarm-magic:49:11 skill-device:36:13 skill-save:30:9 skill-stealth:2:0 skill-search:10:12 skill-melee:34:15 skill-shoot:20:15 skill-throw:20:15 skill-dig:0:0 hitdie:1 max-attacks:3 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-4] value:0:INT[4] value:0:CON[-2] value:0:CHR[1] value:0:MANA[3] value:10:RES_FIRE[1] value:15:RES_COLD[1] value:20:RES_ACID[1] value:25:RES_ELEC[1] value:50:TUNNEL[100] player-flags:0:ZERO_FAIL | BEAM | CHOOSE_SPELLS | ELEMENTAL_SPELLS obj-flag:0:CLUMSY title:Novice title:Apprentice title:Trickster title:Illusionist title:Spellbinder title:Evoker title:Conjurer title:Magician title:Master title:Elementalist magic:1:300:5 book:elemental book:town:[Air]:8:elemental book-graphics:?:x book-properties:5:30:100 book-alloc:25:5 to 100 book-desc:A standard spellbook with a few spells. spell:Shocking Grasp:3:2:21:4:0 effect:TIMED_SET:ATT_ELEC dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 5 expr:S:PLAYER_SPELL_POWER:* 5 desc:Charges your hands with a powerful electrical field to shock your foes. spell:Lightning Bolt:9:4:31:7:0 effect:BOLT_OR_BEAM:ELEC dice:$Dd$S expr:D:PLAYER_LEVEL:- 5 / 4 + 7 expr:S:PLAYER_SPELL_POWER:+ 6 msg_other: fires a lightning bolt. desc:Fires a lightning bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Resist Lightning:14:6:39:11:0 effect:TIMED_SET:OPP_ELEC dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary resistance to lightning. spell:Resist Poison:21:9:51:17:0 effect:TIMED_SET:OPP_POIS dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary resistance to poison. spell:Lightning Ball:27:12:61:22:0 effect:BALL:ELEC:2 dice:$B expr:B:BALL_ELEMENT:+ 25 msg_other: fires a lightning ball. desc:Shoots a lightning ball. spell:Toxic Cloud:31:13:67:25:0 effect:BALL:POIS:3 dice:$B expr:B:BLAST_ELEMENT:- 20 msg_other: fires a toxic cloud. desc:Shoots a poison ball. spell:Shock Wave:36:16:76:29:0 effect:BALL:SOUND:3 dice:$B expr:B:BLAST_ELEMENT:+ 125 msg_other: fires a sonic ball. desc:Shoots a sound ball. spell:Thunderstorm:43:23:83:35:0 effect:STAR:ELEC dice:$Dd$S&m8 expr:D:PLAYER_LEVEL:- 5 / 4 + 7 expr:S:PLAYER_SPELL_POWER:+ 6 effect:BLAST:SOUND:3 dice:$B expr:B:BLAST_ELEMENT:+ 225 msg_other: invokes a thunderstorm! desc:Creates a sonic blast around you that shoots lightning beams in each of desc: the eight directions starting from your character. book:elemental book:town:[Fire]:8:elemental book-graphics:?:x book-properties:5:30:100 book-alloc:25:5 to 100 book-desc:A standard spellbook with a few spells. equip:elemental book:[Fire]:1:1:none spell:Burning Hands:1:1:17:4:0 effect:SHORT_BEAM:FIRE:1 dice:$Dd$S expr:D:PLAYER_LEVEL:- 1 / 4 + 4 expr:S:PLAYER_SPELL_POWER:+ 3 msg_other:'s hands are covered with fire. desc:Covers your hands with fire to burn your foes. spell:Fire Bolt:8:4:29:6:0 effect:BOLT_OR_BEAM:FIRE dice:$Dd$S expr:D:PLAYER_LEVEL:- 5 / 4 + 6 expr:S:PLAYER_SPELL_POWER:+ 6 msg_other: fires a fire bolt. desc:Fires a fire bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Illumination:13:5:37:10:0 effect:LIGHT_AREA dice:$B expr:B:PLAYER_SPELL_POWER:+ 1 * 3 / 2 msg_other: fires a minor fire ball. desc:Conjures a minor fire ball to light up all squares in the nearby area. desc: If you are in a room, the entire room will be lit up as well. spell:Resist Fire:19:8:47:15:0 effect:TIMED_SET:OPP_FIRE dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary resistance to fire. spell:Fire Ball:26:12:59:21:0 effect:BALL:FIRE:2 dice:$B expr:B:BALL_ELEMENT:+ 20 msg_other: fires a fire ball. desc:Shoots a fire ball. spell:Fireflash:33:15:71:27:0 effect:BALL_OBVIOUS:MON_STUN:3 dice:5+1d5 effect:BALL:FIRE:3 dice:$B expr:B:BLAST_ELEMENT:- 10 msg_other: fires a fire flash. desc:Shoots a fire ball that has a chance to stun each monster in the area of desc: effect. spell:Plasma Ball:37:16:77:30:0 effect:BALL:PLASMA:3 dice:$B expr:B:BLAST_ELEMENT:+ 150 msg_other: fires a plasma ball. desc:Shoots a plasma ball. spell:Inferno:44:24:82:36:0 effect:STAR:FIRE dice:$Dd$S&m8 expr:D:PLAYER_LEVEL:- 5 / 4 + 6 expr:S:PLAYER_SPELL_POWER:+ 6 effect:BLAST:PLASMA:3 dice:$B expr:B:BLAST_ELEMENT:+ 250 msg_other: invokes a hellish storm. desc:Creates a plasma blast around you that shoots fire beams in each of desc: the eight directions starting from your character. book:elemental book:town:[Earth]:8:elemental book-graphics:?:x book-properties:5:30:100 book-alloc:25:5 to 100 book-desc:A standard spellbook with a few spells. spell:Stone to Mud:4:2:23:4:0 effect:LINE:KILL_WALL dice:20+1d30&m$M expr:M:PLAYER_SPELL_POWER:+ 1 / 2 msg_other: makes a moving gesture. desc:Produces some beams that destroy the first section of wall they hit, desc: unless it is a permanent wall. Each monster susceptible to rock remover desc: caught in a beam takes 20+1d30 points of damage. spell:Acid Bolt:10:5:33:8:0 effect:BOLT_OR_BEAM:ACID dice:$Dd$S expr:D:PLAYER_LEVEL:- 5 / 4 + 8 expr:S:PLAYER_SPELL_POWER:+ 6 msg_other: fires an acid bolt. desc:Fires an acid bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Resist Acid:15:7:41:12:0 effect:TIMED_SET:OPP_ACID dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary resistance to acid. spell:Wall Creation:22:10:53:18:0 effect:CREATE_WALLS dice:$B expr:B:PLAYER_SPELL_POWER:* 3 / 2 desc:Creates some walls around the player. spell:Acid Ball:28:13:63:23:0 effect:BALL:ACID:2 dice:$B expr:B:BALL_ELEMENT:+ 30 msg_other: fires an acid ball. desc:Shoots an acid ball. spell:Stoneskin:32:14:69:26:0 effect:TIMED_SET:SHIELD dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary AC based on your level. spell:Explosion:38:17:79:31:0 effect:BALL:SHARD:3 dice:$B expr:B:BLAST_ELEMENT:+ 10 msg_other: fires an exploding missile. desc:Shoots a shard ball. spell:Wall of Force:46:27:80:38:0 effect:BALL:FORCE:3 dice:$B expr:B:BLAST_ELEMENT:+ 200 msg_other: fires a force ball. desc:Shoots a force ball. book:elemental book:town:[Water]:9:elemental book-graphics:?:x book-properties:5:30:100 book-alloc:25:5 to 100 book-desc:A standard spellbook with a few spells. spell:Freezing Aura:2:1:19:4:0 effect:TIMED_SET:ICY_AURA dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 5 expr:S:PLAYER_SPELL_POWER:* 5 desc: Creates a curtain of ice around you to block enemy attacks, damaging and desc: freezing them in the process, but also reduces stealth and movement speed. desc: Additional effects: desc: Level 10: +10 to AC desc: Level 20: brands your physical attacks with cold desc: Level 40: reduce malus to stealth and movement spell:Frost Bolt:7:3:27:5:0 effect:BOLT_OR_BEAM:COLD dice:$Dd$S expr:D:PLAYER_LEVEL:- 5 / 4 + 5 expr:S:PLAYER_SPELL_POWER:+ 6 msg_other: fires a frost bolt. desc:Fires a frost bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Enchanted Water:11:5:27:5:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Summons enchanted water to nourish the body. desc: Can be used every 255 turns. spell:Resist Cold:16:7:43:13:0 effect:TIMED_SET:OPP_COLD dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Grants you temporary resistance to cold. spell:Potion of Vitality:20:9:49:16:0 effect:TIMED_SET:BOLD dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 effect:CURE:AFRAID effect:HEAL_HP dice:10 effect:TIMED_SET:HERO dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 10 expr:S:PLAYER_SPELL_POWER:* 10 desc:Conjures a magical brew that cures 10 points of damage, removes fear and desc: grants you temporary heroism (resistance to fear and a bonus of +12 to-hit). spell:Frost Ball:25:11:57:20:0 effect:BALL:COLD:2 dice:$B expr:B:BALL_ELEMENT:+ 15 msg_other: fires a frost ball. desc:Shoots a frost ball. spell:Ice Storm:34:15:73:28:0 effect:BALL:ICE:3 dice:$B expr:B:BLAST_ELEMENT:+ 0 msg_other: invokes an ice storm. desc:Shoots an ice ball. spell:Tidal Wave:39:18:81:32:0 effect:BALL:WATER:3 dice:$B expr:B:BLAST_ELEMENT:+ 175 msg_other: invokes a tidal wave. desc:Shoots a water ball. spell:Maelstrom:45:25:81:37:0 effect:STAR:COLD dice:$Dd$S&m8 expr:D:PLAYER_LEVEL:- 5 / 4 + 5 expr:S:PLAYER_SPELL_POWER:+ 6 effect:BLAST:WATER:3 dice:$B expr:B:BLAST_ELEMENT:+ 275 msg_other: invokes a maelstrom! desc:Creates a water blast around you that shoots frost beams in each of desc: the eight directions starting from your character. book:elemental book:town:[Elemental]:8:elemental book-graphics:?:x book-properties:10:30:400 book-alloc:10:10 to 100 book-desc:A standard spellbook with a few spells. spell:Elemental Power:5:3:25:4:0 effect:TIMED_SET:EPOWER dice:20+1d20&m$M expr:M:PLAYER_SPELL_POWER:* 5 desc:Calls the power of the elements to boost the effectiveness desc: of all other spells for 20+1d20 turns. spell:Elemental Bolt:11:6:35:9:0 effect:CLEAR_VALUE effect:BOLT_OR_BEAM:ACID:0:-10 effect:BOLT_OR_BEAM:FIRE:0:-10 effect:BOLT_OR_BEAM:COLD:0:-10 effect:BOLT_OR_BEAM:ELEC:0:-10 effect:SET_VALUE dice:$Dd$S&m4 expr:D:PLAYER_LEVEL:- 5 / 4 + 4 expr:S:PLAYER_SPELL_POWER:/ 2 + 6 msg_other: fires an elemental bolt. desc:Fires an elemental bolt that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Minor Havoc:17:8:45:14:0 effect:EARTHQUAKE dice:$B expr:B:PLAYER_SPELL_POWER:/ 2 + 5 desc:Causes a minor elemental disturbance around you. desc: This may damage monsters and destroy items in some desc: squares in the area of effect. desc: Artifacts will not be destroyed by this spell. desc: This spell has no effect when used in the town. spell:Resistance:23:11:55:19:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:$B+1d$S expr:B:PLAYER_SPELL_POWER:* 5 expr:S:PLAYER_SPELL_POWER:* 5 desc:Grants you temporary resistance to acid, cold, fire, lightning and poison. spell:Elemental Ball:29:14:65:24:0 effect:CLEAR_VALUE effect:BALL:ACID:2 effect:BALL:FIRE:2 effect:BALL:COLD:2 effect:BALL:ELEC:2 effect:SET_VALUE dice:$B+m4 expr:B:XBALL_ELEMENT:+ 10 msg_other: fires an elemental ball. desc:Shoots an elemental ball. spell:Elemental Brand:35:16:75:29:0 effect:ELEM_BRAND dice:$B expr:B:PLAYER_SPELL_POWER:/ 2 + 1 desc:Brands the currently wielded melee weapon with some elements and attempts desc: to improve the to-hit and to-dam bonuses of that weapon. desc: The spell has no effect if the weapon is an artifact, an ego item desc: or a worthless item. spell:Major Havoc:40:20:83:33:0 effect:DESTRUCTION:LIGHT dice:$B expr:B:PLAYER_SPELL_POWER:+ 10 desc:Causes a major elemental disturbance around you. desc: All monsters, objects and terrain features in the area of desc: effect are destroyed, except stairs and permanent walls. desc: You will also be blinded for 10+1d10 turns, unless you desc: have resistance to blindness or light. desc: This spell has no effect when used in the town. spell:Elemental Storm:41:21:85:34:0 effect:CLEAR_VALUE effect:STAR:ACID effect:STAR:FIRE effect:STAR:COLD effect:STAR:ELEC effect:SET_VALUE dice:$Dd$S&m8 expr:D:PLAYER_LEVEL:- 5 / 4 + 4 expr:S:PLAYER_SPELL_POWER:/ 2 + 6 effect:CLEAR_VALUE effect:BLAST:ACID:3 effect:BLAST:FIRE:3 effect:BLAST:COLD:3 effect:BLAST:ELEC:3 effect:SET_VALUE dice:$B expr:B:XBLAST_ELEMENT:+ 200 msg_other: invokes an elemental storm. desc:Creates an elemental ball around you that shoots elemental beams in each of desc: the eight directions starting from your character. ############### SUMMONER ############### name:Summoner color:t skill-disarm-phys:20:6 skill-disarm-magic:20:6 skill-device:36:13 skill-save:30:9 skill-stealth:2:0 skill-search:10:14 skill-melee:34:15 skill-shoot:20:15 skill-throw:20:15 skill-dig:0:0 hitdie:0 max-attacks:1 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:hafted:Quarterstaff:1:1:none equip:scroll:Summon Monster:10:10:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-5] value:0:INT[-5] value:0:WIS[5] value:0:DEX[-5] value:0:CON[-5] value:0:CHR[1+1d12] player-flags:0:BLESS_WEAPON | ZERO_FAIL | CHOOSE_SPELLS | SUMMON_SPELLS obj-flag:0:CLUMSY title:Novice title:Apprentice title:Evoker title:Spiritualist title:Conjurer title:Spiritwalker title:Summoner title:Controller title:Master title:Summoner Lord magic:1:300:5 book:prayer book:town:[Beginners Handbook]:6:divine equip:prayer book:[Beginners Handbook]:1:1:none spell:Summon Bee Swarm:1:0:5:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: make a flick gesture. desc:Summons angry bees on the target. desc: Target grid must be targetable and known to the player. desc: Does not require mana. spell:Summon Monster:2:1:22:4:0 effect:SUMMON:MONSTER:0:100 dice:1 msg_other: summons a monster. desc:Attempts to summon one monster generated at the current dungeon level. desc: This spell has no effect when used in the town. spell:Detect Evil:3:1:23:4:0 effect:DETECT_EVIL effect-yx:22:40 desc:Detects all evil monsters in the immediate area, desc: for one turn only. spell:Call Light:4:2:26:4:0 effect:BLAST:LIGHT_WEAK:1:10 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:Lights up all squares in a level-dependent area and hurts desc: all light-sensitive monsters in the area of effect. desc: If you are in a room, the entire room will be lit up as well. spell:Minor Healing:5:3:27:4:1 effect:TIMED_DEC:STUN dice:20 effect:TIMED_DEC:CUT dice:20 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Cures a level-dependent percentage of your wounds and heals 20 points worth desc: of cuts and stunning. #TODO: add after wipe #spell:Heal Other:5:3:27:4:0 #effect:BOLT_STATUS:MON_HEAL #dice:$B+m$M #expr:B:PLAYER_LEVEL:+ 10 #expr:M:PLAYER_LEVEL:/ 3 + 12 #desc:Cures a level-dependent amount of damage points. spell:Portal:7:5:30:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: blinks away. desc:Teleports you randomly over a short distance. book:prayer book:town:[Words of Wisdom]:5:divine spell:Farsight:10:7:35:5:0 effect:TIMED_SET:ZFARSIGHT dice:$B+1d20&m$M expr:B:PLAYER_LEVEL:+ 0 expr:M:PLAYER_LEVEL:/ 4 desc:Increases your infravision for a level-dependent duration. spell:Sense Invisible:13:10:40:6:0 effect:TIMED_SET:SINVIS dice:24+1d24 desc:Enables you to see invisible monsters for 24+1d24 turns. spell:Charm:16:15:48:8:0 effect:BOLT_AWARE:CONTROL msg_other: makes a hypnotic move. desc:Attempts to control the will of a single summoned monster. desc: Uniques are not affected. spell:Summon Jelly:18:6:54:20:0 effect:SUMMON:JELLY:0:100 dice:1 msg_other: summons a jelly. desc:Attempts to summon one jelly generated at the current dungeon level. desc: This spell has no effect when used in the town. spell:Nature's Touch:20:16:60:10:1 effect:CURE:CUT effect:CURE:STUN effect:CURE:POISONED effect:CURE:AMNESIA effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 6 desc:Cures up to 300 points of damage, cures all stunning, heals all desc: cut damage, neutralizes poison, and cures amnesia. book:prayer book:town:[Chants and Blessings]:5:divine spell:Regeneration:22:20:66:12:0 effect:TIMED_SET:REGEN dice:20+1d20 desc:Greatly increases your regeneration rate for 20+1d20 turns. desc: The effect of this spell is cumulative with other means of regeneration. spell:Summon Golem:24:8:60:24:0 effect:SUMMON:GOLEM:0:100 dice:1 msg_other: summons a golem. desc:Attempts to summon one golem generated at the current dungeon level. desc: This spell has no effect when used in the town. spell:Thunderstorm:25:10:65:25:0 effect:CLEAR_VALUE effect:STAR:LIGHT:3 effect:STAR:SOUND:3 effect:STAR:ELEC:3 effect:SET_VALUE dice:$B expr:B:PLAYER_LEVEL:+ 20 msg_other: invokes a thunderstorm! desc:Shoots thunder beams in each of the eight directions starting from your desc: character. Each beam will do 1/3 damage from lightning, 1/3 damage from desc: sound and 1/3 damage from light. spell:Summon Vortex:28:10:64:28:0 effect:SUMMON:VORTEX:0:100 dice:1 msg_other: summons a vortex. desc:Attempts to summon one vortex generated at the current dungeon level. desc: This spell has no effect when used in the town. spell:Recovery:30:70:80:15:1 effect:RESTORE_EXP effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Restores experience points and all stats to maximum if they are currently desc: below maximum. book:prayer book:dungeon:[Exorcism and Dispelling]:4:divine spell:Detonate:30:20:70:60:0 effect:DETONATE desc:Makes all your summoned jellies within line of sight explode with a slowing desc: effect, and all your summoned vortices within line of sight explode with a desc: ball effect. spell:Summon Hydra:32:12:68:32:0 effect:SUMMON:HYDRA:0:100 dice:1 msg_other: summons a hydra. desc:Attempts to summon one hydra generated at the current dungeon level. desc: This spell has no effect when used in the town. spell:Summon Control:35:35:72:36:0 effect:PROJECT_LOS_AWARE:CONTROL msg_other: screams a raging order. desc:Attempts to control the will of each summoned monster within line of sight. desc: Uniques are not affected. spell:Resilience:38:40:76:40:0 effect:RESILIENCE desc:Increases the lifespan of all controlled monsters. book:prayer book:dungeon:[Wrath of the Valar]:4:divine spell:Banishment:40:45:80:80:0 effect:BANISH desc:Removes all monsters represented by a chosen symbol from the level. desc: Uniques are not affected. desc: You take 1d4 points of damage for every monster removed. spell:Elemental Harmony:42:42:72:20:0 effect:TIMED_INC:HARMONY dice:10+1d10 desc:Attunes you to nature, boosting your defenses for several turns. desc: Each cast of this spell when it is active promotes it to the next stage. desc: At a first stage, blesses you, giving a bonus of +5 to AC and +10 to-hit. desc: At a second stage, increases strength, dexterity and constitution. desc: At a third stage, shields you, granting AC based on your level. desc: At a fourth stage, grants you resistance to acid, cold, fire, lightning desc: and poison. desc: At a fifth and last stage, hastes you (+10 to speed). spell:Mass Banishment:45:75:70:90:0 effect:MASS_BANISH desc:Removes all monsters within 20 squares of you. desc: Uniques are not affected. desc: You take 1d3 points of damage for every monster removed. spell:Suppress Summoning:50:30:75:70:0 effect:TIMED_SET:ANTISUMMON dice:50+1d20 desc:Prevents summoning around you for a level-dependent duration. ############### SHAPECHANGER ############### name:Shapechanger # Add exp penalty? so it will be easier to hunt forms # in our dungeon bracket system color:M skill-disarm-phys:36:10 skill-disarm-magic:34:8 skill-device:35:10 skill-save:28:10 skill-stealth:1:0 skill-search:10:12 skill-melee:60:40 skill-shoot:66:30 skill-throw:66:30 skill-dig:0:0 hitdie:5 max-attacks:5 min-weight:35 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:potion:Berserk Strength:1:1:birth_no_recall equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:potion:Cure Light Wounds:2:3:birth_no_recall equip:scroll:Phase Door:3:4:birth_no_recall value:0:STR[1] value:0:INT[-1] value:0:WIS[-1] value:0:DEX[1] value:0:CON[1] value:0:CHR[-5] player-flags:0:MONSTER_SPELLS | SHAPECHANGE title:Pretender title:Modifier title:Copier title:Multiple title:Shapeshifter title:Metamorph title:Changer title:Mast. Changer title:Gdm. Changer title:Ult. Changer magic:0:400:1 # Hack -- mimic realm spells # Spells are all put in one book, and they use RSF_XXX flags as effect flag book:mimic realm:xxx:xxx:73:mimic spell:Shriek:0:1:1:0:0 effect:PROJECT_LOS:MON_SPEED dice:25 effect:WAKE flag:SHRIEK msg_self:You make a high-pitched shriek. msg_other: makes a high-pitched shriek. desc:Awakens all nearby sleeping monsters and hastens all monsters within line desc: of sight (#%d). spell:Whip:0:2:2:0:0 effect:LASH:MISSILE:2 flag:WHIP msg_other: lashes with a whip. desc:Fires a beam, dealing damage determined by blows (#%d). spell:Spit:0:3:3:0:0 effect:LASH:MISSILE:3 flag:SPIT msg_other: spits. desc:Fires a beam, dealing damage determined by blows (#%d). spell:Shot:0:0:6:0:0 effect:BOLT:SHOT flag:SHOT dice:$Dd5 expr:D:PLAYER_LEVEL:/ 8 + 1 msg_other: fires a shot. desc:Fires a shot that always hits its target (#%d). spell:Arrow:0:0:8:0:0 effect:BOLT:ARROW flag:ARROW dice:$Dd6 expr:D:PLAYER_LEVEL:/ 8 + 1 msg_other: fires an arrow. desc:Fires an arrow that always hits its target (#%d). spell:Bolt:0:0:10:0:0 effect:BOLT:BOLT flag:BOLT dice:$Dd7 expr:D:PLAYER_LEVEL:/ 8 + 1 msg_other: fires a bolt. desc:Fires a bolt that always hits its target (#%d). spell:Boulder:0:0:14:0:0 effect:BOLT:BOULDER flag:BOULDER dice:$Dd12 expr:D:PLAYER_LEVEL:/ 7 + 1 msg_other: hurls a boulder. desc:Fires a boulder that always hits its target (#%d). spell:Create Webs:0:4:8:0:0 effect:WEB flag:WEAVE msg_other: creates a web. desc:Creates a web (#%d). spell:Acid Ball:0:17:24:0:0 effect:BALL:ACID:2 flag:BA_ACID dice:15+1d$S expr:S:PLAYER_LEVEL:* 3 msg_other: fires an acid ball. desc:Shoots a radius-2 or radius-3 acid ball (#%d). spell:Lightning Ball:0:9:12:0:0 effect:BALL:ELEC:2 flag:BA_ELEC dice:8+1d$S expr:S:PLAYER_LEVEL:* 3 / 2 msg_other: fires a lightning ball. desc:Shoots a radius-2 or radius-3 lightning ball (#%d). spell:Fire Ball:0:19:27:0:0 effect:BALL:FIRE:2 flag:BA_FIRE dice:10+1d$S expr:S:PLAYER_LEVEL:* 7 / 2 msg_other: fires a fire ball. desc:Shoots a radius-2 or radius-3 fire ball (#%d). spell:Frost Ball:0:9:13:0:0 effect:BALL:COLD:2 flag:BA_COLD dice:10+1d$S expr:S:PLAYER_LEVEL:* 3 / 2 msg_other: fires a frost ball. desc:Shoots a radius-2 or radius-3 frost ball (#%d). spell:Venomous Cloud:0:5:7:0:0 effect:BALL:POIS:2 flag:BA_POIS dice:$Dd4 expr:D:PLAYER_LEVEL:/ 2 + 3 msg_other: fires a venomous cloud. desc:Shoots a radius-2 or radius-3 poison ball (#%d). spell:Shard Ball:0:9:13:0:0 effect:BALL:SHARD:2 flag:BA_SHAR dice:10+1d$S expr:S:PLAYER_LEVEL:* 3 / 2 msg_other: fires a shard ball. desc:Shoots a radius-2 or radius-3 shard ball (#%d). spell:Nether Ball:0:20:29:0:0 effect:BALL:NETHER:2 flag:BA_NETH dice:$B+10d10 expr:B:PLAYER_LEVEL:* 4 msg_other: fires a nether ball. desc:Shoots a radius-2 or radius-3 nether ball (#%d). spell:Water Ball:0:18:25:0:0 effect:BALL:WATER:2 flag:BA_WATE dice:50+1d$S expr:S:PLAYER_LEVEL:* 5 / 2 msg_other: fires a water ball. desc:Shoots a radius-2 or radius-3 water ball (#%d). spell:Mana Storm:0:35:50:0:0 effect:BALL:MANA:2 flag:BA_MANA dice:$B+10d10 expr:B:PLAYER_LEVEL:* 5 msg_other: invokes a mana storm. desc:Shoots a radius-2 or radius-3 mana ball (#%d). spell:Darkness Storm:0:30:40:0:0 effect:BALL:DARK:2 flag:BA_DARK dice:$B+10d10 expr:B:PLAYER_LEVEL:* 4 msg_other: invokes a darkness storm. desc:Shoots a radius-2 or radius-3 darkness ball (#%d). spell:Starburst:0:9:13:0:0 effect:BALL:LIGHT:2 flag:BA_LIGHT dice:10+1d$S expr:S:PLAYER_LEVEL:* 3 / 2 msg_other: invokes a starburst. desc:Shoots a radius-2 or radius-3 light ball (#%d). spell:Storm:0:30:40:0:0 effect:BALL:WATER:3 dice:30+$Dd5 expr:D:PLAYER_LEVEL:/ 3 effect:BALL:ELEC:3 dice:20+$Dd5 expr:D:PLAYER_LEVEL:/ 3 effect:BALL:ICE:3 flag:STORM dice:20+$Dd5 expr:D:PLAYER_LEVEL:/ 3 msg_other: creates a tempest of wind and water. desc:Shoots a radius-3 water/lightning/ice ball (#%d). spell:Drain Mana:0:3:6:0:0 effect:BOLT_AWARE:DRAIN_MANA flag:DRAIN_MANA dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: drains mana away. desc:Drains mana from its target and cures an amount of damage points desc: equal to 6 times the amount of mana drained (#%d). spell:Mind Blast:0:7:10:0:0 effect:BOLT:BLAST flag:MIND_BLAST dice:8d8 msg_other: hurls a mind blast. desc:Fires a mental blast that will damage minded creatures. This also has desc: a chance to confuse the target (#%d). spell:Brain Smash:0:18:26:0:0 effect:BOLT:SMASH flag:BRAIN_SMASH dice:12d15 msg_other: hurls a powerful mind blast. desc:Fires a powerful mental blast that will damage minded creatures. This also desc: has a chance to blind, confuse, put to sleep or slow the target (#%d). spell:Cause Wounds:0:15:22:0:0 effect:BOLT:CURSE flag:WOUND dice:$Dd5 expr:D:PLAYER_LEVEL:/ 3 * 2 msg_other: incants terribly. desc:Causes damage to its target. This also has a chance to cause open wounds desc: (#%d). spell:Acid Bolt:0:8:11:0:0 effect:BOLT:ACID flag:BO_ACID dice:$B+7d8 expr:B:PLAYER_LEVEL:/ 3 msg_other: fires an acid bolt. desc:Fires an acid bolt that always hits its target (#%d). spell:Lightning Bolt:0:5:7:0:0 effect:BOLT:ELEC flag:BO_ELEC dice:$B+4d8 expr:B:PLAYER_LEVEL:/ 3 msg_other: fires a lightning bolt. desc:Fires a lightning bolt that always hits its target (#%d). spell:Fire Bolt:0:9:13:0:0 effect:BOLT:FIRE flag:BO_FIRE dice:$B+9d8 expr:B:PLAYER_LEVEL:/ 3 msg_other: fires a fire bolt. desc:Fires a fire bolt that always hits its target (#%d). spell:Frost Bolt:0:7:10:0:0 effect:BOLT:COLD flag:BO_COLD dice:$B+6d8 expr:B:PLAYER_LEVEL:/ 3 msg_other: fires a frost bolt. desc:Fires a frost bolt that always hits its target (#%d). spell:Poison Bolt:0:9:13:0:0 effect:BOLT:POIS flag:BO_POIS dice:$B+9d8 expr:B:PLAYER_LEVEL:/ 3 msg_other: spews a stream of poison. desc:Fires a poison bolt that always hits its target (#%d). spell:Nether Bolt:0:13:19:0:0 effect:BOLT:NETHER flag:BO_NETH dice:$B+5d5 expr:B:PLAYER_LEVEL:* 3 / 2 + 30 msg_other: fires a nether bolt. desc:Fires a nether bolt that always hits its target (#%d). spell:Water Bolt:0:15:22:0:0 effect:BOLT:WATER flag:BO_WATE dice:$B+10d10 expr:B:PLAYER_LEVEL:+ 0 msg_other: fires a water bolt. desc:Fires a water bolt that always hits its target (#%d). spell:Mana Bolt:0:23:33:0:0 effect:BOLT:MANA flag:BO_MANA dice:50+1d$S expr:S:PLAYER_LEVEL:* 5 / 2 msg_other: fires a mana bolt. desc:Fires a mana bolt that always hits its target (#%d). spell:Plasma Bolt:0:12:17:0:0 effect:BOLT:PLASMA flag:BO_PLAS dice:$B+8d7 expr:B:PLAYER_LEVEL:+ 10 msg_other: fires a plasma bolt. desc:Fires a plasma bolt that always hits its target (#%d). spell:Ice Bolt:0:9:13:0:0 effect:BOLT:ICE flag:BO_ICE dice:$B+6d6 expr:B:PLAYER_LEVEL:+ 0 msg_other: fires an ice bolt. desc:Fires an ice bolt that always hits its target (#%d). spell:Magic Missile:0:3:4:0:0 effect:BOLT:MISSILE flag:MISSILE dice:$B+2d6 expr:B:PLAYER_LEVEL:/ 3 msg_other: fires a magic missile. desc:Fires a magic missile that always hits its target (#%d). spell:Lightning Beam:0:8:12:0:0 effect:BEAM:ELEC flag:BE_ELEC dice:$B+5d5 expr:B:PLAYER_LEVEL:* 2 + 30 msg_other: shoots a spark of lightning. desc:Fires a lightning beam that always hits its target (#%d). spell:Nether Beam:0:16:24:0:0 effect:BEAM:NETHER flag:BE_NETH dice:$B+5d5 expr:B:PLAYER_LEVEL:* 2 + 30 msg_other: hurls a lance of nether. desc:Fires a nether beam that always hits its target (#%d). spell:Scare:0:5:10:0:0 effect:BOLT_AWARE:TURN_ALL flag:SCARE dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: conjures up scary horrors. desc:Attempts to scare a single monster for a level-dependent duration (#%d). spell:Blind:0:4:8:0:0 effect:BOLT_AWARE:MON_BLIND flag:BLIND dice:5+1d5 msg_other: sets off a blinding flash. desc:Attempts to blind a single monster (#%d). spell:Confuse:0:4:8:0:0 effect:BOLT_AWARE:MON_CONF flag:CONF dice:5+1d5 msg_other: makes a complicated gesture. desc:Attempts to confuse a single monster (#%d). spell:Slow:0:9:18:0:0 effect:BOLT_AWARE:MON_SLOW flag:SLOW dice:20 msg_other: makes a lengthy gesture. desc:Attempts to slow down a single monster (#%d). spell:Hold:0:5:10:0:0 effect:BOLT_AWARE:MON_HOLD flag:HOLD dice:3+1d5 msg_other: gestures and mumbles calmly. desc:Attempts to hold a single monster (#%d). spell:Haste:0:14:28:0:0 effect:TIMED_SET:SPEEDY:0:5 flag:HASTE dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 msg_other: starts moving faster. desc:Hastes you up to (+10 to speed) for a level-dependent duration (#%d). spell:Heal:0:16:32:0:0 effect:CURE:CUT effect:CURE:POISONED effect:CURE:AFRAID effect:HEAL_HP flag:HEAL dice:$B expr:B:PLAYER_LEVEL:* 6 msg_other: concentrates on %s wounds. desc:Cures a level-dependent amount of damage points, removes fear, desc: neutralizes poison and heals all cut damage (#%d). spell:Heal Other:0:16:32:0:0 effect:BOLT_STATUS:MON_HEAL flag:HEAL_KIN dice:$B expr:B:PLAYER_LEVEL:* 6 msg_other: tries to heal %s comrades. desc:Cures a level-dependent amount of damage points, and heals all cut and stun desc: damage (#%d). spell:Blink:0:2:4:0:0 effect:TELEPORT flag:BLINK dice:10 msg_other: blinks away. desc:Teleports you randomly up to 10 squares away (#%d). spell:Teleport:0:6:12:0:0 effect:TELEPORT flag:TPORT dice:$B expr:B:MAX_SIGHT:* 2 + 5 msg_other: teleports away. desc:Teleports you randomly within the current level (#%d). spell:Teleport To:0:12:24:0:0 effect:BOLT_AWARE:TELE_TO flag:TELE_TO msg_other: commands %s target to come hither. desc:Teleports its target next to you (#%d). spell:Teleport Self To:0:12:24:0:0 effect:TELEPORT_TO flag:TELE_SELF_TO dice:$B expr:B:PLAYER_LEVEL:/ 5 + 10 msg_other: blinks toward %s target. desc:Teleports you next to its target (#%d). spell:Teleport Away:0:12:24:0:0 effect:BOLT_STATUS:AWAY_ALL:1 flag:TELE_AWAY dice:$B expr:B:MAX_SIGHT:* 5 msg_other: makes a rush gesture. desc:Produces a bolt that teleports the first monster in its path desc: up to 100 squares away. (#%d). spell:Teleport Level:0:18:36:0:0 effect:BOLT_AWARE:TELE_LEVEL flag:TELE_LEVEL msg_other: commands %s target to go far away. desc:Teleports its target 1 level up or 1 level down (chosen at random) (#%d). spell:Darkness:0:3:6:0:0 effect:DARKEN_AREA effect:BLAST:DARK_WEAK:3 flag:DARKNESS dice:10 msg_other: gestures in shadow. desc:Darkens a radius-{3} area (plus the entire room if you are currently in desc: one) (#%d). spell:Traps:0:10:20:0:0 effect:BALL_OBVIOUS:MAKE_TRAP:3:-1 flag:TRAPS msg_other: casts a spell and cackles evilly. desc:A trap is created on empty floor space that is directly adjacent desc: to the target. This spell has no effect when used in the town (#%d). spell:Forget:0:8:16:0:0 effect:BOLT_AWARE:FORGET flag:FORGET dice:5+1d5 msg_other: tries to make %s target forget things. desc:Attempts to cause amnesia to a single monster for a level-dependent desc: duration (#%d). spell:Anime Dead:0:7:14:0:0 effect:BLAST_OBVIOUS:RAISE:1:10 flag:ANIM_DEAD msg_other: mumbles coldly. desc:This power makes humanoid corpses and skeletons in a small radius desc: around the caster rise as undead monsters (#%d). spell:Summon Kin:0:35:47:0:0 effect:SUMMON:KIN:0:10 flag:S_KIN dice:8 msg_other: magically summons %s kin. desc:Attempts to summon up to eight similar monsters generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Monster:0:20:40:0:0 effect:SUMMON:MONSTER:0:10 flag:S_MONSTER dice:1 msg_other: magically summons a monster! desc:Attempts to summon one monster generated at the current dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Monsters:0:35:47:0:0 effect:SUMMON:MONSTERS:0:10 flag:S_MONSTERS dice:8 msg_other: magically summons monsters! desc:Attempts to summon up to eight monsters generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Animals:0:30:45:0:0 effect:SUMMON:ANIMAL:0:10 flag:S_ANIMAL dice:12 msg_other: magically summons animals. desc:Attempts to summon up to twelve animals generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Spiders:0:30:45:0:0 effect:SUMMON:SPIDER:0:10 flag:S_SPIDER dice:12 msg_other: magically summons spiders. desc:Attempts to summon up to twelve spiders generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Hounds:0:35:47:0:0 effect:SUMMON:HOUND:0:10 flag:S_HOUND dice:12 msg_other: magically summons hounds. desc:Attempts to summon up to twelve hounds generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Hydras:0:30:45:0:0 effect:SUMMON:HYDRA:0:10 flag:S_HYDRA dice:6 msg_other: magically summons hydras. desc:Attempts to summon up to six hydras generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Ainu:0:25:42:0:0 effect:SUMMON:AINU:0:10 flag:S_AINU dice:1 msg_other: magically summons an ainu! desc:Attempts to summon one ainu generated at the current dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Demon:0:25:42:0:0 effect:SUMMON:DEMON:0:10 flag:S_DEMON dice:1 msg_other: magically summons a demon! desc:Attempts to summon one demon generated at the current dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Undead:0:25:42:0:0 effect:SUMMON:UNDEAD:0:10 flag:S_UNDEAD dice:1 msg_other: magically summons an undead monster! desc:Attempts to summon one undead monster generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Dragon:0:25:42:0:0 effect:SUMMON:DRAGON:0:10 flag:S_DRAGON dice:1 msg_other: magically summons a dragon! desc:Attempts to summon one dragon generated at the current dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon High Demons:0:40:50:0:0 effect:SUMMON:HI_DEMON:0:10 flag:S_HI_DEMON dice:8 msg_other: magically summons greater demons! desc:Attempts to summon up to eight greater demons generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon High Undead:0:40:50:0:0 effect:SUMMON:HI_UNDEAD:0:10 flag:S_HI_UNDEAD dice:8 msg_other: magically summons greater undead! desc:Attempts to summon up to eight greater undead monsters generated at the desc: current dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon High Dragons:0:40:50:0:0 effect:SUMMON:HI_DRAGON:0:10 flag:S_HI_DRAGON dice:8 msg_other: magically summons ancient dragons! desc:Attempts to summon up to eight ancient dragons generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Wraiths:0:40:50:0:0 effect:SUMMON:WRAITH:0:10 flag:S_WRAITH dice:8 msg_other: magically summons mighty undead monsters! desc:Attempts to summon up to eight wraiths generated at the current dungeon desc: level. desc: This spell has no effect when used in the town (#%d). spell:Summon Uniques:0:40:50:0:0 effect:SUMMON:UNIQUE flag:S_UNIQUE dice:8 msg_other: magically summons special opponents! desc:Attempts to summon up to eight unique monsters generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Abominations:0:40:50:0:0 effect:SUMMON:ABOMINATION flag:S_ABOMINATION dice:8 msg_other: magically summons abominations! desc:Attempts to summon up to eight abominations generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). spell:Summon Spirits:0:40:50:0:0 effect:SUMMON:SPIRIT flag:S_SPIRIT dice:8 msg_other: magically summons spirits! desc:Attempts to summon up to eight spirits generated at the current desc: dungeon level. desc: This spell has no effect when used in the town (#%d). # one of Tom Bombadil apprentices.. call himself 'villager'... ############### VILLAGER ############### name:Villager color:W skill-disarm-phys:31:10 skill-disarm-magic:35:9 skill-device:20:7 skill-save:25:10 skill-stealth:1:0 skill-search:14:13 skill-melee:50:28 skill-shoot:51:35 skill-throw:51:35 skill-dig:0:25 hitdie:5 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):3:3:none equip:potion:Cure Light Wounds:2:3:birth_no_recall equip:scroll:Phase Door:3:4:birth_no_recall player-flags:0:CHOOSE_SPELLS | SUMMON_PERMA | CAN_FARM #/// +dog #/// pass trees #/// at 30+ can summon animal which is SUMMON_PERMA #/// when Hungry - can steal veggies from T fields # - obj-flag:0:CLUMSY title:Rambler title:Walker title:Tripper title:Tourist title:Traveller title:Discoverer title:Spelunker title:Voyager title:Navigator title:Explorer magic:1:400:1 book:travel guide:town:[Basics]:8:common book-graphics:?:W book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A standard travel guide with a few tasks. equip:travel guide:[Basics]:1:1:none spell:Flash of Morning:1:1:1:1:0 effect:BEAM:LIGHT_WEAK dice:2d$S expr:S:PLAYER_LEVEL:* 2 effect:LIGHT_AREA desc:You call out for the sun - and it answers with a warm flash. desc: Sends a narrow beam of light ahead and lights up the room if indoors. desc: Hurts creatures that don't like brightness. spell:Magic Seeds:5:1:1:1:0 cooldown:15 effect:CREATE_TREES desc:Grow trees around you. desc: Cooldown 15 turns. spell:Sniff the Wind:10:1:10:4:0 cooldown:120 effect:DETECT_VISIBLE_MONSTERS effect-yx:22:40 effect:DETECT_DOORS effect-yx:22:40 effect:DETECT_STAIRS effect-yx:22:40 effect:DETECT_TRAPS effect-yx:22:40 desc:Finds doors, stairs, traps in the immediate area. desc:Also detects all non-invisible monsters in the immediate area, desc: for one turn only. desc: Cooldown 120 turns. spell:Skip-Hop:15:3:18:12:0 cooldown:11 effect:TELEPORT dice:5 effect:TIMED_SET:SPEEDY:0:5 dice:5+1d5 desc:Teleports you several tiles and grants a brief speed boost. desc: Cooldown 11 turns. spell:Dew Catcher:20:5:26:20:0 cooldown:30 effect:CURE:POISONED effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: gently cups hands and drinks morning dew. desc:Heals a tiny bit of HP by catching dew from the air. Cures poison. desc: Cooldown 30 turns. spell:Commanding Chant:25:9:42:40:0 effect:SHORT_BEAM:SOUND:2 dice:$B expr:B:PLAYER_LEVEL:* 7 msg_other: chants firmly - the air around trembles! desc:A commanding chant ripples outward, forcing nearby creatures to obey - or break. desc: The power fades quickly; only those right beside you are struck. spell:Whistle Friend:30:30:1:2:0 effect:SUMMON:ANIMAL:0:100 dice:1 msg_other: whistles into the wind - and something answers. desc:You let out a soft whistle or hum, just the way forest folk do. desc: Some friendly creature hears - and comes to walk beside you. desc: This spell does nothing in town. spell:Shoo Now:35:50:90:100:0 cooldown:255 effect:MASS_BANISH msg_other: murmurs something old - and things disappear one by one. desc:You sing a verse that leaves no room for argument. desc: Most creatures nearby simply vanish - sent somewhere far from here. desc: Each one gone takes a bit of your strength with it. desc: Cooldown 255 turns. ############### TAMER ############### name:Tamer color:Y skill-disarm-phys:20:6 skill-disarm-magic:20:6 skill-device:32:10 skill-save:28:9 skill-stealth:0:0 skill-search:10:12 skill-melee:30:11 skill-shoot:35:20 skill-throw:25:15 skill-dig:0:0 hitdie:1 max-attacks:2 min-weight:35 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-2] value:0:INT[-1] value:0:WIS[3] value:0:DEX[0] value:0:CON[-1] value:0:CHR[1+1d15] player-flags:0:CHOOSE_SPELLS # got different pets title:Leashling title:Critterhand title:Beastfriend title:Muzzlebearer title:Whistler title:Packmate title:Caller title:Trailhowler title:Beastmaster title:Alpha magic:1:350:2 book:nature book:town:[Lesser Charms]:15:nature equip:nature book:[Lesser Charms]:1:1:none spell:Froggie's Jump:1:1:26:1:0 cooldown:30 effect:TELEPORT dice:1 effect:BLAST:POIS:1 dice:$B expr:B:WEAPON_DAMAGE:+ 0 effect:TIMED_INC:UNSUMMON_MINIONS dice:1 msg_other: emits a poison cloud and jumps away like a frog. desc:You emit poison cloud and retreat at random to a short distance. desc: Also you resummon your pet. desc: Cooldown 30 turns. # we need lvl dependent cooldown for this. spell:Veterinary:3:1:26:2:0 effect:SHORT_BEAM:MON_HEAL:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: project healing energy. desc:Heals certain amount of damage points, cures cut and stun of your target. desc: Requires to be in close range. spell:Once Bitten:5:3:32:5:0 effect:TIMED_SET:OPP_POIS dice:20+1d20 effect:CURE:POISONED effect:MELEE_BLOWS:POIS dice:$B expr:B:WEAPON_DAMAGE:+ 0 effect:MELEE_BLOWS:MISSILE dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: attacks enemy like a snake. desc:You make fast attack, like a snake. desc: Also neutralizes poison and grants you resistance to poison for 20+1d20 turns. spell:Falcon Gift:10:5:37:10:0 cooldown:60 effect:NOURISH:INC_BY dice:0 effect:NOURISH:INC_BY dice:1 effect:RANDOM dice:2 effect:STRIKE:MISSILE:0 dice:$B expr:B:PLAYER_LEVEL:* 3 effect:TIMED_SET:HERO dice:25+1d25 msg_self:Your falcon flew to the hunt... desc:Falcon strikes a target and then it will share his prey with you by desc: restoring some satiation. It's not much, but still can save you desc: from starvation. desc: Also it grants you precision bonus for 25+1d25 turns. desc: If targeting a direction or the target is not a passable desc: grid in the line of sight, the player will be the target. desc: Cooldown 60 turns. spell:Sensitive Snout:15:9:42:15:0 effect:DETECT_ANIMALS effect-yx:22:40 effect:TIMED_SET:SINVIS dice:24+1d24 desc:Detects all animals in the immediate area, for one turn only. desc: Also you feel invisible monsters for 24+1d24 turns. spell:Growl and Howl:20:15:47:20:0 cooldown:30 effect:PROJECT_LOS_AWARE:TURN_ALL dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: makes a complicated gesture to his wolf. desc:Your wolf makes a long, terrifying howl. desc: Cooldown 30 turns. spell:Rabbit's Feet:23:1:33:10:0 cooldown:255 effect:TIMED_INC:MOVE_FAST dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 desc:Increases your movement speed for a short while. desc: Cooldown 255 turns. spell:Bear Therapy:25:20:53:30:0 effect:CURE:BLACKBREATH effect:NOURISH:INC_BY dice:0 effect:NOURISH:INC_BY dice:0 effect:RANDOM dice:3 effect:CURE:AMNESIA effect:CURE:CUT effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Your pet licks your wounds to cure them. Also, its warm helps you to desc: remember who you are and cures amnesia. desc: There are rumours that it also cures black breath sometimes. spell:Chase!:30:20:58:40:0 cooldown:60 effect:BOLT_STATUS:MON_SPEED dice:100 msg_other: makes a lengthy gesture. desc:Your pet will attack the target with double diligence. desc: Cooldown 60 turns. spell:Good Treatment:33:1:33:60:0 cooldown:60 effect:TIMED_INC:REGEN_PET dice:$B expr:B:PLAYER_LEVEL:/ 10 + 1 desc:You treat your pet so it regenerates its wounds. desc: Cooldown 60 turns spell:Cat Magnetism:35:30:63:50:0 cooldown:255 effect:TIMED_SET:STEALTH dice:30+1d10 effect:TIMED_SET:SINFRA dice:30+1d10 desc:Grants infravision and ability to walk silently. desc: Cooldown 255 turns spell:Shoo:40:50:55:50:0 effect:PROJECT_LOS_AWARE:AWAY_ANIMAL dice:100 msg_self:The power of nature banishes animals! msg_other: gives an order to nearby animals! desc:Teleports away each animal within line of sight. spell:Eagles Help:43:1:33:20:0 cooldown:255 effect:TELEPORT_LEVEL msg_other: blinks away. desc:Brings you far away from current spot to another level. desc: Cooldown 255 turns spell:Burn A Hole:45:50:50:75:0 effect:SHORT_BEAM:KILL_WALL:1 dice:100+10d30 desc:Destroys an adjacent section of wall or rubble, unless it is a permanent desc: wall. Deals 100+10d30 damage to monsters vulnerable to rock remover. spell:Dragon Friends:50:75:50:100:0 cooldown:255 effect:SUMMON:ANIMAL:0:100 flag:S_DRAGON dice:1 msg_other: summons a dragon! desc:Attempts to summon a dragon friend. desc: It takes 255 turns for dragons to heed your call again. ############### CLASS TEMPLATE for Druid ############### name:Druid color:Y skill-disarm-phys:20:12 skill-disarm-magic:20:12 skill-device:20:12 skill-save:18:12 skill-stealth:0:0 skill-search:8:15 skill-melee:35:20 skill-shoot:35:30 skill-dig:0:0 hitdie:5 equip:light:Wooden Torch:1:3:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-1] value:0:INT[0] value:0:WIS[1] value:0:DEX[-2] value:0:CON[-2] value:0:CHR[1+1d24] player-flags:0:MARTIAL_ARTS | SHAPECHANGE # hp independent from poly form obj-flag:0:CLUMSY # later: can wear only light (<10) armor - penalties? # path fo druid: has to find his books in the dungeon. they can't be bought value:0:BLOWS[1d1] value:0:STEALTH[0+1d15] #shapes shape:1:bird-form shape:5:rat-form shape:10:boar-form shape:15:cat-form shape:20:wolf-form shape:25:bear-form obj-flag:30:ESP_ANIMAL title:Mossfoot title:Thornwalker title:Burrower title:Hollowkin title:Furcaller title:Skinshifter title:Moonbound title:Gnarlroot title:Wildsoul title:Deephowl magic:1:350:3 book:nature book:dungeon:[Druid Lore]:13:nature book-graphics:?:y book-properties:10:30:0 book-alloc:15:10 to 100 book-desc:An ancient book which contains secrets of nature. equip:nature book:[Druid Lore]:1:1:none spell:Emit Poison:1:1:1:2:0 cooldown:4 effect:DAMAGE dice:d$S expr:S:PLAYER_LEVEL:* 2 effect:BLAST:POIS:4 dice:d$B expr:B:PLAYER_LEVEL:+ 2 msg_other: emits a poison cloud. desc:Creates vast sphere of poison around you. desc: Beware: you suffer from it too. desc: Cooldown 4 turns spell:Pathfinding:5:3:1:4:0 effect:DETECT_STAIRS effect-yx:14:27 desc:Finds doors in the immediate area. spell:Herbal Tea:10:7:1:8:0 cooldown:255 effect:NOURISH:INC_BY dice:0 effect:NOURISH:INC_BY dice:1 effect:RANDOM dice:2 effect:CURE:POISONED effect:CURE:BLACKBREATH desc:Cures poison, blackbreath and gives minimal nourishment. desc: Cooldown 255 turns. spell:Stone to Mud:15:8:1:12:0 effect:SHORT_BEAM:KILL_WALL:1 dice:20+1d30 msg_other: makes a moving gesture. desc:Destroys the first section of wall it hits, unless it is a permanent wall. desc: Each monster caught in the beam that is susceptible to rock remover desc: takes 20+1d30 points of damage. spell:Hibernation:20:10:1:16:0 effect:RESTORE_EXP effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR effect:TIMED_INC:SLOW dice:12+1d5 effect:TIMED_INC:OCCUPIED dice:7+1d5 desc:You become sleepy for some time, but restore your attributes and experience. spell:Stinking Cloud I:25:12:1:24:0 effect:BALL:POIS:1 dice:$B expr:B:PLAYER_LEVEL:* 2 msg_other: invokes a stinking cloud. desc:Shoots a radius-1 poisonous cloud. spell:Extra Growth:30:20:1:40:0 cooldown:255 effect:TIMED_SET:GROWTH dice:20+1d20 desc:Grants you stat growth for 20+1d20 turns. desc: Cooldown 255 turns. spell:Stinking Cloud II:33:24:1:50:0 effect:BALL:WATER:1 dice:$B expr:B:PLAYER_LEVEL:* 2 effect:BALL:POIS:2 dice:$B expr:B:PLAYER_LEVEL:* 2 msg_other: invokes a stinking cloud. desc:Shoots a radius-2 poisonous cloud with toxic vapor in the center. spell:Nature's Call:35:23:1:65:0 cooldown:25 effect:CREATE_TREES desc:Grow trees around you. desc: Cooldown 25 turns. spell:Call of the Forest:40:50:1:75:0 effect:PROJECT_LOS_AWARE:AWAY_ANIMAL dice:100 msg_self:The power of nature banishes animals! msg_other: speaks an order to nearby animals! desc:Teleports away each animal within line of sight. spell:Forest's Embrace:43:30:1:100:0 cooldown:10 effect:BLAST:MON_HEAL:4 dice:6+$Dd6 expr:D:PLAYER_LEVEL:/ 2 msg_other: emits a healing blast. desc:Creates a radius-4 healing ball around you. desc: Cooldown 10 turns. spell:Quickfeet:45:12:1:125:0 effect:TIMED_SET:FAST:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Hastes you (+10 to speed) for a level-dependent duration. spell:Stinking Cloud III:50:37:1:150:0 effect:BALL:WATER:2 dice:$B expr:B:PLAYER_LEVEL:* 3 effect:BALL:POIS:3 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: invokes a stinking cloud. desc:Shoots a radius-3 poisonous cloud with toxic vapor in the center. ############### CLASS TEMPLATE for Fighter #.. like mercenary, so >coward than warr name:Fighter color:u skill-disarm-phys:20:6 skill-disarm-magic:15:6 skill-device:18:7 skill-save:33:7 skill-stealth:0:0 skill-search:10:12 skill-melee:65:45 skill-shoot:33:30 skill-dig:0:0 hitdie:8 max-attacks:5 min-weight:30 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:potion:Berserk Strength:1:1:birth_no_recall equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[2] value:0:INT[-1] value:0:WIS[-2] value:0:DEX[1] value:0:CON[1] value:0:CHR[-3] # mana: STR+INT... cheap skills, but very slow regen obj-flag:0:IMPAIR_MANA # can pseudo-ID curses title:Greenhorn title:Brawler title:Enforcer title:Bruiser title:Hardman title:Ironback title:Sellsteel title:Blade-for-Hire title:Merc title:Warlord magic:1:550:1 book:skillbook:town:[Mastery]:10:skills book-graphics:?:U book-properties:1:30:25 book-alloc:40:1 to 100 book-desc:A book containing practical techniques. equip:skillbook:[Mastery]:1:1:none spell:Windmill:1:1:22:1:0 cooldown:4 # includes BpR (state.num_blows counted!). so it's pretty good effect:SWEEP msg_other: makes a reckless attack. desc:Unleash a rain of blows in a killing dance on each adjacent enemy. desc: Cooldown 4 turns. spell:Sideroll:5:0:25:1:0 cooldown:2 effect:TELEPORT dice:1 effect:TELEPORT dice:2 effect:RANDOM dice:2 desc:You try to sideroll to avoid enemy attack. Sometimes it works.. desc: Does not require mana. desc: Cooldown 2 turns. spell:Pain Point:10:2:22:1:0 cooldown:7 effect:TIMED_SET:DEADLY dice:3 desc:You find the spot that hurts the most and go for it. desc: For 3 turns, your melee blows may deal additional critical hits. desc: Cooldown 7 turns. spell:Take a nap:15:1:22:1:0 effect:RESTORE_STAT:DEX effect:RESTORE_STAT:CON effect:RESTORE_STAT:CON effect:RESTORE_STAT:STR effect:RESTORE_STAT:STR effect:RANDOM dice:5 effect:TIMED_INC:OCCUPIED dice:5+1d10 desc:Take a nap for some time and restore either strength or constitution.. desc: and sometimes even dexterity. desc: Beware to sleep in sloppy places.. spell:Focus:20:3:30:12:0 effect:CURE:CONFUSED desc:You focus and remove confusion. spell:Bandages:25:15:90:100:0 cooldown:11 effect:HEAL_HP dice:6+$Dd6 expr:D:PLAYER_LEVEL:/ 2 effect:TIMED_DEC:CUT dice:20 effect:TIMED_INC:OCCUPIED dice:2d3 desc:You apply fast & dirty first aid to stop bleeding. desc: Cooldown 11 turns. spell:Stinky Ointment:30:5:5:1:0 effect:TIMED_SET:OPP_ACID dice:10+1d10 desc:Applies a stinky ointment to themselves, which neutralizes desc: the effects of acid. spell:Eight:35:3:1:110:0 cooldown:3 effect:TIMED_SET:HOLD_WEAPON dice:3 desc:Grants extra damage sometimes and makes you immune to disarming desc: for 3 turns. desc: Cooldown 3 turns. spell:Royal Kick:40:16:50:150:0 effect:MELEE_BLOWS:FORCE dice:2d$B expr:B:PLAYER_LEVEL:* 2 desc:Attempts a skillful kick that knocks the enemy back with a chance desc: to stun it. spell:Get Lucky:50:70:90:90:0 cooldown:255 effect:TIMED_INC:REVIVE dice:7+1d7 desc:As you've come so far.. you might avoid death once in a while. desc: Can be used every 255 turns. #Expertise skill ############### CLASS TEMPLATE for Knight ############### name:Knight color:W skill-disarm-phys:34:8 skill-disarm-magic:27:7 skill-device:24:10 skill-save:25:11 skill-stealth:0:0 skill-search:10:12 skill-melee:65:40 # only for crossbows (other 0) skill-shoot:40:30 skill-dig:0:0 hitdie:7 max-attacks:5 min-weight:30 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Protection from Evil:1:1:birth_no_recall equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:DEX[-2] value:0:CON[-2] value:0:INT[-1] value:0:CHR[1+1d24] # /// AGGRAVATE 2 range hardcoded (eg minotaur is 3) title:Gallant title:Keeper title:Protector title:Defender title:Warder title:Knight title:Guardian title:Chevalier title:Lord title:Glorious Lord magic:1:600:1 book:prayer book:town:[Beginners Handbook]:4:divine equip:prayer book:[Beginners Handbook]:1:1:none spell:Balanced Stance:1:1:1:1:0 effect:CURE:CONFUSED effect:TIMED_SET:BALANCED_STANCE dice:9999 msg_other: took balanced stance. desc:You are preparing for balanced tactics. desc: Getting into this stance removes confusion. spell:Defensive Stance:1:1:1:1:0 effect:CURE:STUN effect:TIMED_SET:DEFENSIVE_STANCE dice:9999 msg_other: took defensive stance. desc:You are preparing for more defensive tactics. desc: Getting into this stance removes stun. spell:Offensive Stance:1:1:1:1:0 effect:CURE:AFRAID effect:TIMED_SET:OFFENSIVE_STANCE dice:9999 msg_other: took offensive stance. desc:You are preparing for more offensive tactics. desc: Getting into this stance removes fear. spell:Steel Mirror:35:1:25:1:0 cooldown:255 effect:TIMED_INC:REFLECTION dice:$B expr:B:PLAYER_LEVEL:/ 3 desc:You are preparing to reflect incoming projectiles. desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Traveller ############### name:Traveller color:Y skill-disarm-phys:22:9 skill-disarm-magic:22:9 skill-device:32:10 skill-save:28:10 skill-stealth:1:0 skill-search:15:15 skill-melee:40:30 skill-shoot:40:30 skill-dig:0:0 hitdie:4 max-attacks:3 min-weight:35 strength-multiplier:4 equip:light:Wooden Torch:2:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):3:4:birth_no_recall equip:scroll:Satisfy Hunger (tattered):3:4:none equip:scroll:Phase Door:4:5:birth_no_recall equip:potion:Cure Light Wounds:3:4:birth_no_recall obj-flag:0:CLUMSY # starts with additional items # 'seen it all': obj-flag:40:PROT_FEAR value:0:STR[0] value:0:INT[0] value:0:WIS[1] value:0:DEX[0] value:0:CON[0] value:0:CHR[1+1d30] #/// + cat title:Footsore title:Roadling title:Pathfinder title:Campmaker title:Signreader title:Hillwalker title:Farstepper title:Trailwarden title:Worldworn title:Deeprover magic:1:350:1 book:travel guide:town:[Basics]:12:common equip:travel guide:[Basics]:1:1:none spell:Weary Feet:1:1:25:1:0 cooldown:100 effect:TIMED_INC:MOVE_FAST dice:$B expr:B:PLAYER_LEVEL:+ 5 desc:Makes you able to run faster for some time. desc: Cooldown 100 turns. spell:Cartography:3:1:1:1:0 # hc, radius increases with lvls effect:MAP_AREA effect-yx:5:5 desc:You map out a portion of the level around. desc: Your mapping abilities depend on your level. spell:Travel:5:2:1:1:0 effect:TELEPORT_LEVEL effect:DEEP_DESCENT effect:TELEPORT_TO dice:10 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 effect:TELEPORT dice:50 effect:TELEPORT dice:10 effect:RANDOM dice:6 msg_other: blinks away. desc:Roads go ever ever on, desc: Over rock and under tree, desc: By caves where never sun has shone, desc: By streams that never find the sea; desc: Over snow by winter sown, desc: And through the merry flowers of June, desc: Over grass and over stone, desc: And under mountains in the moon. spell:Kindle the Light:10:4:1:1:0 effect:BLAST:LIGHT_WEAK:2 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 msg_other: kindles a small magical bonfire. desc:Lights up all squares within 2 grids of the player and hurts desc: all light-sensitive monsters in the area of effect. spell:Firebolt:15:3:1:1:0 cooldown:3 effect:BOLT:FIRE:1 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: fires a bolt of fire. desc:Shoots a fire bolt. desc: Cooldown 3 turns. spell:Environmental Survival:20:7:1:1:0 cooldown:100 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 3 desc:You collect magical healing herbs from time to time, which when applied, desc: cure your wounds. desc: Cooldown 100 turns. spell:Detect Evil:25:1:1:1:0 cooldown:100 effect:DETECT_EVIL effect-yx:22:40 desc:Detects all evil monsters in the immediate area, desc: for one turn only. desc: Cooldown 100 turns. spell:Hand-to-Mouth:30:2:1:1:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Magically saves you from starvation. desc: Cooldown 255 turns. spell:Buff:35:12:1:1:0 cooldown:100 effect:TIMED_SET:HERO dice:10+1d10 effect:TIMED_SET:BLESSED dice:10+1d10 effect:TIMED_SET:FAST:0:5 dice:10+1d10 desc:Grants a bonus to attack, AC and speed. desc: Cooldown 100 turns. spell:Heartstone:40:20:1:1:0 effect:RECALL dice:12+1d10 desc:Moves you from the dungeon back to the town or from the town desc: to the deepest level you have visited in the dungeon. desc: The effect is somewhat delayed. During that delay, the effect desc: can be canceled by invoking the spell again. spell:Emergency Passage:45:25:1:1:0 effect:TELEPORT_LEVEL desc:You can try to find a hidden slot which leads to unknown level (up or down). spell:Glyph of Warding:50:50:1:1:0 cooldown:100 effect:GLYPH:WARDING desc:Inscribes a glyph of warding beneath you. desc: Summoned monsters can't appear on the glyph. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Higher level monsters are more likely to break the glyph. desc: The glyph will remain where it is, until a monster succeeds in desc: breaking it or until you leave the level. desc: You can cast this spell every 100 turns. ############### CLASS TEMPLATE for Bard ############### name:Bard color:Y skill-disarm-phys:25:8 skill-disarm-magic:30:8 skill-device:32:10 skill-save:32:11 skill-stealth:3:0 skill-search:14:12 skill-melee:35:20 skill-shoot:45:25 skill-dig:0:0 hitdie:3 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-1+1d40] value:0:INT[0] value:0:WIS[1] value:0:DEX[2] value:0:CON[-2+1d30] value:0:CHR[2+1d15] value:0:RES_SOUND[1] title:Busker title:Stringrat title:Jinglejack title:Stagehand title:Tunebringer title:Soundweaver title:Chorusman title:Notehurler title:Skald title:Echoheart magic:1:350:1 book:prayer book:town:[Beginners Handbook]:11:divine equip:prayer book:[Beginners Handbook]:1:1:none spell:Discord:1:1:1:1:0 # hardcoded radius/dmg # ... inc dmg, but add more `immune to sound` mobs? cooldown:4 effect:WAKE effect:BLAST:SOUND:1 dice:$B expr:B:PLAYER_LEVEL:* 2 desc:Makes nasty damaging sound in some radius. desc: It wakes up everything around... desc: Cooldown 4 turns. spell:Song of Healing:5:2:1:1:0 cooldown:11 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 5 effect:TIMED_INC:OCCUPIED dice:2 desc:You play music which heals you. desc: Playing this takes some time during which you can not act. desc: Cooldown 11 turns. spell:Lullaby:10:1:32:3:0 cooldown:60 effect:PROJECT_LOS_AWARE:SLEEP_ALL effect:PROJECT_LOS_AWARE:MON_CONF dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: sings strange magical lullaby. desc:Attempts to confuse each monster within line of sight and put them to sleep. desc: Cooldown 60 turns. spell:Sound Wave:15:10:1:5:0 cooldown:30 effect:WAKE effect:ARC:SOUND:0:30 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_self:You make a horrible deadly noise. msg_other: makes a horrible deadly noise. desc:Cries a beam of sound which pierces enemies. desc: Cooldown 30 turns. spell:Elbereth Gilthoniel:20:10:30:11:0 cooldown:255 effect:GLYPH:WARDING effect:TIMED_INC:OCCUPIED dice:3 desc:Makes glyph of warding beneath you. desc: Summoned monsters can't appear on the glyph. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Higher level monsters are more likely to break the glyph. desc: The glyph will remain where it is, until a monster succeeds in desc: breaking it or until you leave the level. desc: You sing this hymn some time during which you can not act. desc: Cooldown 255 turns. ### make it work on regular (non-summ) monster #spell:Charm:20:10:30:11:0 #cooldown:100 #effect:BOLT_AWARE:CONTROL #msg_other: makes a hypnotic sound. #desc:Attempts to charm a single summoned monster. #desc: Uniques are not affected. #desc: Cooldown 100 turns. spell:Song of Remedy:25:14:65:15:0 effect:TIMED_SET:BOLD dice:30 effect:CURE:BLACKBREATH effect:CURE:AMNESIA effect:CURE:STUN effect:CURE:AFRAID effect:RESTORE_STAT:DEX effect:RESTORE_STAT:CON effect:RESTORE_STAT:STR effect:TIMED_INC:OCCUPIED dice:2 msg_other: sing strange melody. desc:Removes fear and grants you fear resistance and cures various conditions. desc: Playing this takes some time during which you can not act. spell:Commanding Voice:30:22:20:30:0 effect:PROJECT_LOS_AWARE:MON_SLOW dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: invokes a command of power! desc:Invokes a command which slows down all enemies around. spell:Song of Battle:35:5:65:45:0 effect:TIMED_SET:HERO dice:30 effect:TIMED_SET:GROWTH dice:30 effect:TIMED_SET:SAFE dice:30 effect:TIMED_INC:OCCUPIED dice:2 msg_other: sing strange melody. desc:Raise your attributes, attack and perfect saving throw for some time. desc: Playing this takes some time during which you can not act. spell:Resonance:40:30:1:50:0 cooldown:11 effect:WAKE effect:EARTHQUAKE:NONE:2 msg_other: invokes an earsplitting sound! desc:Destroys everything in a 3-square radius circle around you. desc: Cooldown 11 turns. spell:Song of Speed:45:7:65:85:0 effect:TIMED_SET:FAST:0:5 dice:30 effect:TIMED_SET:REGEN dice:30 effect:TIMED_INC:OCCUPIED dice:2 effect:TIMED_INC:OCCUPIED dice:2 msg_other: sing strange melody. desc:Greatly increases your speed and regeneration rate temporarily. desc: The effect of this spell is cumulative with other means of regeneration. desc: Playing this takes some time during which you can not act. spell:Ballad of Elements:50:50:35:100:0 effect:STRIKE:PLASMA:2 dice:$B expr:B:PLAYER_LEVEL:* 4 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:30 msg_other: ignites air with his song. desc:Grants you resistance to acid, cold, fire, lightning and poison and desc: strikes a target from above with a plasma. desc: Target grid must be targetable and known to the player. ############### CLASS TEMPLATE for Battlemage ############### name:Battlemage color:Y skill-disarm-phys:42:10 skill-disarm-magic:42:10 skill-device:32:10 skill-save:28:10 skill-stealth:1:0 skill-search:12:12 skill-melee:60:40 skill-shoot:20:15 skill-dig:0:0 hitdie:5 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:INT[1] value:0:WIS[0] value:0:DEX[0] value:0:CON[0] value:0:CHR[-1] value:50:RES_FIRE[1] value:50:RES_COLD[1] value:50:RES_ACID[1] value:50:RES_ELEC[1] value:50:DAM_RED[1] # especially good with 2H weapons ((p->lev / 10) + 5 blows) # ?to add can't wear shields? player-flags:0:ZERO_FAIL # + not CLUMSY.. title:Gruntmage title:Sparkslinger title:Hexblade title:Runebasher title:Scorchhand title:Spellcleaver title:Ironchant title:Stormbrand title:Warcaster title:Spellreaper magic:1:350:1 book:magic book:town:[Magic for Beginners]:12:arcane equip:magic book:[Magic for Beginners]:1:1:none spell:Offensive Telekinesis:1:1:5:1:0 cooldown:7 #hc 1d5 dmg (2x starts with lvl 10) effect:BOLT_RADIUS:MISSILE:5 dice:$B expr:B:PLAYER_LEVEL:+ 5 msg_other: flings a piece of rock. desc:Fires surrounding rubble or piece of rock to the target. desc: Damage is greatly increased every 5 levels (up to level 35). desc: At level 10+, each cast also consumes a small amount of extra mana. desc: Cooldown 7 turns. spell:Fiery Brand:5:2:5:1:0 effect:TIMED_SET:ATT_FIRE:0:5 dice:20+1d20 effect:TIMED_SET:OPP_FIRE dice:20+1d20 desc:Makes your melee attacks branded with fire and grants fire resistance. spell:Frozen Nova:10:3:5:3:0 #hc dam 1d7 and rad 1-3 cooldown:15 effect:BLAST:COLD:1 dice:$B expr:B:PLAYER_LEVEL:+ 15 effect:TIMED_SET:OPP_COLD dice:20+1d20 msg_other: blinks away. desc:Casts frozen nova around you and grants cold resistance. desc: Damage and radius scale with level. desc: Cooldown 15 turns. spell:Defensive Telekinesis:15:5:5:20:0 cooldown:255 effect:TIMED_SET:SHIELD dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_INC:REFLECTION dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Use telekinetic force to block attacks and possibly reflect incoming projectiles. desc: Cooldown 255 turns. spell:Astral Scouting:20:1:5:7:0 cooldown:10 #effect:WAKE in case if not disturb mobs on the way (test) effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 4 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 4 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 2 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 4 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 2 effect:LIGHT_AREA effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 4 desc:Multiteleport around current level. desc: If you visit a room, it will be lit up. desc: Cooldown 10 turns. spell:Lightning Storm:25:10:5:15:0 cooldown:11 effect:BLAST:ELEC:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:STAR:ELEC dice:$B expr:B:PLAYER_LEVEL:* 3 effect:BREATH:ELEC:0:20 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_SET:OPP_ELEC dice:20+1d20 msg_other: conjures a lightning Storm. desc:Congures a lightning Storm around you and whirl it toward target. desc: Cooldown 11 turns. spell:Toxic Ray:30:15:5:5:0 # HC dmg x1d7 cooldown:7 effect:BEAM:POIS dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_SET:OPP_POIS dice:20+1d20 effect:CURE:POISONED desc:Directs a toxic ray at the target. Also cures poison and desc:grants poison resistance. desc: Cooldown 7 turns. spell:Teleport Other:33:12:60:12:0 cooldown:30 effect:BOLT_STATUS:AWAY_ALL:1 dice:$B expr:B:MAX_SIGHT:* 5 msg_other: makes a rush gesture. desc:Produces a bolt that teleports the first monster in its path desc: up to 100 squares away. desc: Cooldown 30 turns. spell:Battle Healing:35:25:25:4:0 cooldown:10 effect:CURE:CUT effect:CURE:STUN effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Cures a level-dependent percentage of your wounds and heals cuts and stunning. desc: Cooldown 10 turns. spell:Thunderclap:40:20:30:35:0 cooldown:30 effect:BLAST:ELEC:1 dice:$B expr:B:PLAYER_LEVEL:* 10 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Stomp floor with lightning power to push back surrounding enemies. desc: Cooldown 30 turns. spell:Black Hole:45:20:5:25:0 cooldown:30 effect:EARTHQUAKE:NONE:7 effect:EARTHQUAKE:NONE:6 effect:EARTHQUAKE:NONE:5 effect:EARTHQUAKE:NONE:4 effect:EARTHQUAKE:NONE:3 effect:EARTHQUAKE:NONE:2 effect:EARTHQUAKE:NONE:1 effect:RANDOM dice:7 effect:BLAST:GRAVITY:8 dice:40+$Dd7 expr:D:PLAYER_LEVEL:+ 0 msg_other: conjures a gravity black hole. desc:Produces a zone of huge gravity which invoke earthquake within desc: radius 8 and has a chance of teleporting monsters away. desc: Cooldown 30 turns. spell:Battle Telekinesis:50:15:5:40:0 # lowcost effect:LINE:KILL_WALL dice:20+1d30 effect:BOLT:SHARD dice:$B expr:B:PLAYER_LEVEL:* 4 effect:BOLT:FORCE dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: flings a sharp piece of rock. desc:Almost effortlessly hurls huge objects at the target, pushing them back. desc: Also this spell excellent on tunneling walls. ############### CLASS TEMPLATE for Necromancer ############### name:Necromancer color:Y skill-disarm-phys:25:9 skill-disarm-magic:42:11 skill-device:35:14 skill-save:30:9 skill-stealth:1:0 skill-search:10:12 skill-melee:35:20 skill-shoot:20:15 skill-dig:1:1 hitdie:0 max-attacks:2 min-weight:40 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall # -4 4 0 -3 -5 value:0:STR[-1+-1d15] value:0:INT[4] value:0:CON[-1+-1d20] value:0:CHR[-2+-1d15] value:0:RES_NETHER[1] player-flags:0:ZERO_FAIL | CHOOSE_SPELLS | UNLIGHT | BEAM # raise undead monsters automatically upon their death # in melee got small additional life leech (traumaturgy) VS "living" monsters obj-flag:0:CLUMSY title:Graveborn title:Fleshpriest title:Cryptcaller title:Marrowmancer title:Skinspeaker title:Bonethief title:Undying title:Ashmarked title:Wormtongue title:Rotheart magic:1:300:1 book:shadow book:town:[Shadows for Beginners]:12:shadow equip:shadow book:[Shadows for Beginners]:1:1:none spell:Bone Dart:1:0:5:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: flings a sharp bone. desc:Fires a sharp bone to the target. desc: Target grid must be targetable and known to the player. desc: Does not require mana. spell:Poison Jab:3:1:25:1:0 effect:MELEE_BLOWS:POIS dice:$B expr:B:PLAYER_LEVEL:+ 1 effect:TIMED_INC:ATT_POIS:0:5 dice:2 effect:CURE:POISONED desc:Inflict a blow imbued by deadly poison. desc: Also cures your poison. spell:Bone Armour:5:2:30:3:0 effect:TIMED_SET:SHIELD dice:$B expr:B:PLAYER_LEVEL:+ 50 effect:TIMED_INC:UNSUMMON_MINIONS dice:1 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 effect:CURE:CUT desc:Annihilate your minions and creates armour from their flesh and bones. desc: Also heals you and cures cuts. spell:Nether Bolt:10:3:33:4:0 effect:BOLT_OR_BEAM:NETHER:0:-10 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: fires a nether bolt. desc:Fires a nether missile that always hits its target. desc: Sometimes a beam is fired instead that hurts each monster desc: in its path. desc: The chance to get a beam goes up with your character level. spell:Summon Golem:15:8:1:7:0 cooldown:6 effect:TIMED_INC:GOLEM dice:2 msg_other: summons a golem. desc:Attempts to summon golem. desc: Cooldown 6 turns. spell:Dark Portal:20:12:30:10:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 2 effect:DETECT_EVIL effect-yx:22:40 msg_other: blinks away. desc:Teleports you randomly over a medium distance. desc: This travel through the astral grants the ability to feel desc: the presence of evil. spell:Cry of Cthulhu:25:15:30:15:0 effect:PROJECT_LOS_AWARE:MON_STUN dice:3+1d3 effect:PROJECT_LOS_AWARE:MON_CONF dice:5+1d5 desc:Curse your enemies into oblivion. spell:Exhaust Life:30:20:35:25:0 effect:BLAST:MON_DRAIN:1:1 dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: dispels life. desc:Inflicts irresistible damage on each living monster around you. spell:Dungeons Flavour:35:20:55:20:0 effect:DEEP_DESCENT effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 desc:Sends you to the deepest depths of the dungeon. desc: There you get resistance to acid, cold, fire, lightning and poison for desc: 20+1d20 turns. spell:Necromancy Mastery:40:30:35:33:0 cooldown:45 effect:SUMMON:UNDEAD:0:100 dice:1 desc:Summon undead remains to fight on your side. desc: Cooldown 45 turns. spell:Detonate Skeleton:45:40:40:40:0 effect:DETONATE desc:Makes all your animated skeletons within line of sight explode. spell:Bone Shell:50:50:40:50:0 effect:BALL:POIS:2 dice:$B expr:B:PLAYER_LEVEL:* 5 effect:BOLT:MISSILE dice:$B+10d10 expr:B:PLAYER_LEVEL:* 3 msg_other: fires a bone bolt. desc:Fires a dead sharp bolt that always hits its target. desc: After hitting it blows up dealing poison damage. ############### CLASS TEMPLATE for Hermit / Cleric ############### # Spiritual guide, this holy monk has sworn not to take a weapon in his hand. # This sacred vow does not interfere with his ability to crush enemies’ skulls # with his bare hands. name:Hermit color:G skill-disarm-phys:10:15 skill-disarm-magic:10:15 skill-device:10:15 skill-save:20:15 skill-stealth:0:0 skill-search:10:15 skill-melee:20:30 skill-shoot:20:25 skill-dig:0:0 hitdie:3 equip:light:Wooden Torch:1:3:none equip:potion:Cure Serious Wounds:2:3:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall value:0:STR[0] value:0:INT[-2] value:0:WIS[2+1d30] value:0:DEX[0] value:0:CON[0+1d20] value:0:CHR[0+1d20] value:0:BLOWS[1d1] value:0:STEALTH[0+1d12] player-flags:0:MARTIAL_ARTS | BEAM obj-flag:0:CLUMSY title:Believer title:Acolyte title:Devotee title:Adept title:Evangelist title:Chaplain title:Elder title:Prophet title:Patriarch title:Cardinal magic:1:350:1 book:prayer book:town:[Beginners Handbook]:12:divine equip:prayer book:[Beginners Handbook]:1:1:none #? summon angel #? friendly to angels spell:Light Ray I:1:1:22:3:0 # hc distance up to 10 effect:BOLT_RADIUS:LIGHT:1 dice:$D expr:D:PLAYER_LEVEL:+ 0 effect:LINE:LIGHT_WEAK dice:1d$D expr:D:PLAYER_LEVEL:+ 0 effect:LIGHT_AREA msg_self:A line of shimmering light appears. msg_other:'s hands project a line of shimmering light. desc:Fires a light missile to a level-dependent distance. desc: Also it creates a beam that lights up each square and hurts each desc: light-sensitive monster in its path. desc: If you are in a room, the entire room will be lit up as well. spell:Safe Guard:5:2:35:7:0 # ?cooldown reduced with lvls cooldown:3 effect:TELEPORT dice:12 effect:TIMED_INC:STEALTH dice:2 effect:CURE:AFRAID effect:CURE:AMNESIA effect:CURE:POISONED effect:CURE:CUT effect:CURE:STUN msg_other: blinks away. desc:Your guardian teleports you randomly up to 12 squares away and desc: removes negative conditions. desc: Cooldown 3 turns. spell:Holy Force:10:3:30:11:0 cooldown:7 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:BLAST:LIGHT:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Hits the target with holy force, knocking it back with a chance to stun it. desc: Cooldown 7 turns. spell:Art Of Healing:15:4:32:16:0 cooldown:11 effect:TIMED_SET:REGEN dice:20+1d20 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 10 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:Cures a level-dependent percentage of your wounds. desc: Also greatly increases your regeneration rate for 20+1d20 turns. desc: The effect of this spell is cumulative with other means of regeneration. desc: Cooldown 11 turns. spell:Light Ray II:20:5:22:22:0 effect:BOLT_RADIUS:LIGHT:1 dice:$D + 1d$D expr:D:PLAYER_LEVEL:+ 0 effect:LINE:LIGHT dice:1d$D expr:D:PLAYER_LEVEL:+ 0 effect:LIGHT_AREA msg_self:A line of shimmering light appears. msg_other:'s hands project a line of shimmering light. desc:Fires a light missile that always hits its target at medium distance. desc: Also it creates a beam that lights up each square and hurts each desc: light-sensitive monster in its path. desc: If you are in a room, the entire room will be lit up as well. spell:Vasa Sacra:25:7:40:25:0 cooldown:255 # ?make holy water soulbond.. if drinked - create warding? # ?remove nutrition.. make only 1 potion at once effect:CREATE_HOLY_WATER effect:GLYPH:WARDING msg_self: pour sacred water into a jar and stirs in some dust from the floor... msg_other: pours sacred water into a jar and stir in some dust from the floor... desc:Allows you to bless any potion and turn it into holy water. desc: Blessing ritual makes floor beneath you blessed. desc: Summoned monsters can't appear on the blessed floor. desc: If a monster tries to move onto the blessed floor or melee you while desc: you're standing on it, it must first desecrate the floor. desc: Higher level monsters are more likely to desecrate the blessed floor. desc: The blessed floor will remain where it is, until a monster succeeds in desc: desecrating it or until you leave the level. desc: Attention! It will bless full stack of potions. desc: Also this ritual requires nutrition. desc: Cooldown 255 turns. spell:Holy Fire:30:11:33:33:0 # hc for extra mana: distance +1 at 50 / dmg up to x4 effect:SHORT_BEAM:HOLY_ORB:2 dice:$B+3d6 expr:B:PLAYER_LEVEL:+ 0 effect:BLAST:LIGHT:3 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: splashes a holy fire! desc:Splashes fire which deals irresistible damage to the closest targets. desc: Evil monsters take double damage. All surrounding monsters are also desc: burned by the light. spell:Holy Protection:35:14:40:44:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID effect:SET_VALUE dice:20+1d20 desc:Grants you resistance to acid, cold, fire, lightning and poison for desc: 20+1d20 turns. spell:Light Ray III:40:15:22:55:0 effect:BOLT_OR_BEAM:LIGHT:0:-10 dice:$D + 3d6 expr:D:PLAYER_LEVEL:* 2 effect:LINE:LIGHT dice:$D expr:D:PLAYER_LEVEL:+ 0 effect:LIGHT_AREA msg_self:A line of shimmering light appears. msg_other:'s hands project a line of shimmering light. desc:Fires a holy light missile that always hits its target. desc: It also creates a beam that lights up each square and hurts each desc: light-sensitive monster in its path. desc: Sometimes especially strong beam is fired instead. desc: The chance to get a beam goes up with your character level. desc: If you are in a room, the entire room will be lit up as well. spell:Greater Heal:45:50:33:77:0 cooldown:2 effect:HEAL_HP dice:1000 desc:Cures a significant amount of damage. desc: Cooldown 2 turns. spell:Path of Light:49:30:33:100:0 cooldown:30 effect:BREATH:LIGHT:0:20 dice:$B expr:B:PLAYER_LEVEL:* 5 desc:Shoots light in a long narrow cone from the player. desc: Cooldown 30 turns. spell:Salvation:50:75:1:200:0 cooldown:255 effect:TIMED_SET:REVIVE dice:10+1d10 effect:TIMED_SET:INVULN dice:5+1d5 effect:RESTORE_EXP effect:RESTORE_STAT:CHR effect:RESTORE_STAT:CON effect:RESTORE_STAT:DEX effect:RESTORE_STAT:WIS effect:RESTORE_STAT:INT effect:RESTORE_STAT:STR desc:Allows you to avoid death once in a while. desc: Remove all negative conditions and restore stats. desc: Also grants you resistance against non-physical attacks for a moment. desc: The shield absorbs a percentage of damage from such attacks desc: equal to your character level. desc: Cooldown 255 turns. #TODO: add spell: #spell:Pray:15:11:1:20:0 #effect:WONDER #dice:$B+1d100 #expr:B:PLAYER_LEVEL:/ 5 #desc:In times of uncertainty, hermits beseech the old gods and #desc: fortune, hoping for a boon... or bracing for a curse. ############### CLASS TEMPLATE for Wizard ############### name:Wizard color:Z skill-disarm-phys:35:9 skill-disarm-magic:50:12 skill-device:0:0 skill-save:30:9 skill-stealth:1:0 skill-search:10:12 skill-melee:30:11 skill-shoot:20:15 skill-dig:0:0 hitdie:0 max-attacks:2 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-4] value:0:INT[5] value:0:CON[-2] value:0:CHR[-2] # 1) restore mana when polymorph monsters # 2) on <30% HP got auto MANASHIELD player-flags:0:ZERO_FAIL | BEAM # 3) ESP_EVIL evolves with lvls (1->20) # (when comparing to Sorc: note that Sorc got +5 MANA, can use MD, got loads removal etc) obj-flag:0:ESP_EVIL obj-flag:0:CLUMSY title:Fizzlehead title:Cantricker title:Sootfinger title:Charmslob title:Glyphrat title:Manaworm title:Streetmage title:Spellgrip title:Ashmaker title:Wizard magic:1:300:2 # spells hardcoded (hc) by mana cost! (to ease adding new spells) ### !! Also Polymorph hardcoded by spell number (#3)! ### Careful in changing order of first 3 spells! #add 'Sometimes ray fizzles and it spell appear other forms'. book:magic book:town:[Magic for Beginners]:19:arcane equip:magic book:[Magic for Beginners]:1:1:none spell:Air Fist:1:0:1:1:0 effect:STRIKE:MISSILE:0 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 3 msg_other: punch the air. desc:Fires magic fist to the target. desc: Target grid must be targetable and known to the player. desc: Does not require mana. # feature: irresistible spell:Magic Blade:1:1:1:1:0 #hc 1d5 dmg (2x starts with lvl 10) effect:SHORT_BEAM:MISSILE:2 dice:$B expr:B:PLAYER_LEVEL:+ 4 msg_other: bends index finger.. Blades appear from thin air! desc:Strikes with a magic blade that always hits its target and does desc: irresistible damage. desc: Damage is greatly increased every 5 levels (up to level 35). desc: At level 10+, each cast also consumes a small amount of extra mana. spell:Electrocute:2:2:27:2:0 # hc 1d5 (2x starts with lvl 10); distance -> ~10 effect:SHORT_BEAM:ELEC:6 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:SHORT_BEAM:ELEC:5 dice:$B expr:B:PLAYER_LEVEL:+ 1 effect:SHORT_BEAM:ELEC:4 dice:$B expr:B:PLAYER_LEVEL:+ 2 effect:RANDOM dice:3 msg_other: holds out a hand... Lightning! desc:Summon lighting upon an enemies. desc: At first you summon short bolt of lightning. desc: The length and damage of the lightning increase with the caster's level. desc: Range increases every 5 levels, up to ~10 squares. desc: At each cast, an additional portion of remaining mana is consumed. # number 3 spell.. hc for mana restore in project-mon.c spell:Polymorph:3:1:20:3:0 cooldown:5 effect:DAMAGE dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:BOLT_AWARE:MON_POLY:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: snaps fingers. Polymorph! desc:Attempts to order chaotic energy to polymorph an enemy and restore some desc: of your magic power. The restored amount increases with your level. desc: Causes minor damage. desc: Does not restore mana if used on multiplying or already polymorphed creatures. desc: Cooldown: 5 turns. spell:Teleport:5:3:1:5:0 effect:RESTORE_MANA dice:2 effect:RESTORE_MANA dice:1 effect:RANDOM dice:2 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: winks... and disappears! desc:Teleports you randomly within medium distance. desc: It takes some mana before displacement, but some of it become restored desc: upon getting to destination. spell:Luminous Fog:7:3:35:7:0 # hc distance (max dist should be 20) and damage 1d3 effect:SHORT_BEAM:LIGHT_WEAK:10 dice:4d4 effect:LIGHT_AREA msg_self:A line of bright yellowish fog appears. msg_other: claps hands together.. Bright yellowish fog appears! desc:Fires a beam of magic fog which lights up each square and hurts each desc: light-sensitive monster in its path. desc: The range and damage of the fog increase with your level (range up to ~20). desc: If you are in a room, the entire room will be lit up as well. spell:Cold Ray:10:3:30:10:0 # hc 1d5 effect:BOLT_OR_BEAM:COLD dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: fires a cold ray. desc:Fires a cold ray that hurts the first monster in its path. desc: The damage of the ray increases with your level. desc: Each cast consumes an additional portion of your remaining mana. spell:Stone Curse:15:6:32:15:0 cooldown:255 effect:CREATE_WALLS effect:GRANITE msg_other: slowly nods.. and is engulfed by a block of solid stone. desc:Seals you inside a block of stone. desc: You need to move out quickly, or you'll start suffocating. desc: Cooldown 255 turns. spell:Flamestrike:17:4:33:20:0 # hc 1d5 effect:STRIKE:FIRE:0 dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: strikes fire from below. desc:Strikes a target from below with fire. desc: The damage increases with your level. desc: If targeting a direction or the target is not a passable desc: grid in line of sight, you will be the target instead. desc: Each cast consumes an additional portion of your remaining mana. spell:Magic Reflection:20:15:11:25:0 effect:TIMED_SET:OPP_ELEC dice:30 desc:Grants you resistance to fire, cold, lightning, poison, desc: acid for 30 turns. Also increase magic resistance. spell:Acid Cloud:25:8:27:30:0 # dmg*1d5 / mana 4% HC effect:BALL:ACID:2 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: fires an acid sphere. desc:Fires an acid sphere that explodes on impact in a radius-2 cloud. spell:Make Passage:30:10:1:35:0 effect:SHORT_BEAM:KILL_WALL:10 dice:$B expr:B:PLAYER_LEVEL:* 4 msg_other: makes a moving gesture. desc:Produces a beam that destroys the first section of wall it hits, desc: unless it is a permanent wall. Each monster caught in the beam that desc: is susceptible to rock remover takes damage. desc: Maximum beam range is 10 tiles. spell:Energy Bolt:33:20:27:50:0 # dmg*1d5 HCed .. can stun monsters effect:BOLT:PLASMA dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: fires an energy bolt. desc:Shoots an energy bolt which might stun target. spell:Dimension Shift:35:10:35:40:0 cooldown:255 effect:MAP_AREA effect-yx:22:40 effect:TIMED_INC:WRAITHFORM dice:5 effect:TELEPORT_LEVEL desc:Teleports you 1 level up or 1 level down (chosen at random) and desc: grants you the ability to pass through non-permanent walls for a moment. desc: Upon arrival, you know the place like the back of your hand. desc: Cooldown 255 turns. spell:Chaos Storm:37:20:30:70:0 # dmg*1d5 effect:BALL:CHAOS:3 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: invokes a chaos storm. desc:Shoots a ball which on impact releases chaotic energy in 3 tile radius. desc: May cause unpredictable side effects. spell:Magic Shield:40:30:25:90:0 cooldown:255 effect:TIMED_INC:REFLECTION dice:$B expr:B:PLAYER_LEVEL:/ 3 effect:TIMED_SET:SHIELD dice:$B expr:B:PLAYER_LEVEL:/ 3 desc:Conjures a magic shield that increases your AC and may reflect incoming projectiles. desc: Cooldown 255 turns. spell:Frozen Orb:45:50:40:100:0 effect:ARC:ICE:0:30 dice:$B expr:B:PLAYER_LEVEL:* 10 msg_other: subzeroes the air into sharp icicles. desc:Sends forward sharp icicle storm. spell:Astral Sense:49:12:32:60:0 cooldown:255 effect:TIMED_INC_NO_RES:BLIND_REAL dice:2 effect:READ_MINDS dice:$Dd$S expr:D:PLAYER_LEVEL:/ 10 + 1 expr:S:PLAYER_LEVEL:/ 10 + 1 effect:DETECT_SOUL effect-yx:22:40 msg_other: exhales sharply.. dark cloud fill surroundings! desc:Reveals all monsters with a spirit nearby and maps the area around them. desc: The mapped area grows larger with your level. desc: This spell causes brief no-resistable blindness. desc: Cooldown 255 turns. spell:Meteor Shower:50:50:40:250:0 # testing note: won't work on the surface as number of Meteors depends of depth effect:SWARM:METEOR:1 dice:$B+m$M expr:B:PLAYER_LEVEL:* 3 expr:M:PLAYER_LEVEL:/ 20 + 2 msg_other: fires a swarm of meteors. desc:Shoots a swarm of 3 or 4 meteors. desc: Meteors will travel until hitting a wall, a monster desc: or reaching the target location. desc: Meteors will explode as a radius-1 ball that does desc: damage to each monster in its area of effect. desc: If this kills the monster that blocked the path to the target desc: location, the next meteor may continue to find another target. #TODO: effect:BLAST:STONE_WALL:0 # spell will create huge mound of walls.. name:"Create Mountain"? ############### CLASS TEMPLATE for Trader ############### name:Trader color:w skill-disarm-phys:26:9 skill-disarm-magic:22:9 skill-device:19:8 skill-save:18:9 skill-stealth:0:0 skill-search:15:15 skill-melee:45:20 skill-shoot:40:30 skill-dig:0:0 hitdie:5 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall obj-flag:0:CLUMSY value:0:STR[-1] value:0:INT[0+1d30] value:0:WIS[0] value:0:DEX[-1] value:0:CON[-1] value:0:CHR[1d10] #/// + AUTO-ID when equip items. #/// + can sell items to NPC, but can't join parties. #/// + less speed penalty due overweight. #/// + CHR give big boni to reduce fail chance for spellcasting #/// (also CHR is his main stat - mana amount depends on it (HCed)). #/// + don't loose gold on 2nd chance. #/// + 49+ lvl get town +20 CHR boni (so no CHR item set needed for selling) # maybe add skills: # Haggle or Golden Tongue - gives discount when buying items # Coin Call - Summons nearby loose coins and currency directly to the caster's hand. # Ephemeral Emporium - Conjures a temporary shop from thin air for the caster to trade goods. # Cloak of Commerce - allow sell items right in the dungeon? # ---------------- reveal mimics? # ---------------- XBM prices lower 2x? title:Barrowrat title:Pocketmonger title:Streetbroker title:Packhauler title:Coinpicker title:Smirkseller title:Dustshifter title:Whisperdealer title:Goldhoarder title:Gilded Hand magic:1:350:2 book:travel guide:town:[Basics]:15:common equip:travel guide:[Basics]:1:1:none #spell:Fist of Gold:5:3:1:5:0 #effect:BOLT_RADIUS:MON_HOLD:5 #dice:3+1d$D #expr:D:PLAYER_LEVEL:/ 7 #desc:Throw gold coins into monster which starts taking it from the floor. #desc: Holds non-resistant monster for a level-dependent number of turns. #desc: Costs gold. #spell:Hire Magic Protection:15:1:33:80:0 #cooldown:300 #effect:CURE:CUT #effect:CURE:STUN #effect:CURE:POISONED #effect:CURE:AMNESIA #effect:HEAL_HP #dice:$B #expr:B:PLAYER_LEVEL:* 10 #effect:CREATE_WALLS #effect:TELEPORT #dice:$B #expr:B:PLAYER_LEVEL:+ 0 #msg_other: blinks away. #desc:An emergency incantation, taught to every trader for dire situations. #desc: Teleports you randomly to a certain distance (depending on your level). #desc: Cures damage, stunning, heals all cut damage, poison, and amnesia. #desc: This spell costs A LOT of gold #desc: Cooldown 300 turns. spell:Small Red Potion:1:1:1:1:0 cooldown:10 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 6 expr:M:PLAYER_LEVEL:/ 3 + 6 desc:Imbibing this soft crimson potion, memories emerge of saving it for desc: a future trade. Yet, necessity called. desc: As it flows through you, the immediate warmth and relief affirm desc: its curative powers. desc: Cooldown 10 turns. desc: NOTE! Cooldowns restore ONLY while inside the dungeon. spell:Small Blue Potion:1:1:1:1:0 cooldown:42 effect:RESTORE_MANA dice:50 desc:The cerulean luminescence of this potion speaks to its rarity. desc: Once earmarked for a lucrative deal, now it proves invaluable. desc: With a sip, a surge of arcane energy restores your dwindling reserves. desc: Cooldown 42 turns. spell:Bribe:3:3:1:3:0 effect:SHORT_BEAM:COMMAND:1 msg_other: tries to settle matters with coin. desc:Seeks to sway a single humanoid with coin and quiet words. desc: Must be close enough to make the deal feel personal. desc: Unique beings remain steadfast. spell:Town Portal:5:5:1:10:0 effect:RECALL dice:12+1d10 desc:A portal between the bustling town and the treacherous dungeon's depths. desc: Teleports you from the dungeon to the town or from the town to the desc: deepest level you have visited in the dungeon. desc: The recall effect is not immediate; it is delayed by some turns. desc: During that delay, the effect can be canceled by invoking the prayer desc: of recall again. spell:Barter Buddy:7:3:1:15:0 cooldown:120 effect:GLYPH:DECOY desc:In the bustling markets of old, traders developed a cunning trick. desc: They conjured a magical doppelganger, identical in appearance and desc: sound, to haggle and barter on their behalf. The original purpose desc: was to be in two places at once and never miss a lucrative deal. desc: Over time, however, the savvy merchants discovered its utility desc: in diverting attention and danger in more perilous situations. desc: Deploying the Barter Buddy remains a testament to a trader's desc: cleverness, giving them a brief moment of respite or an advantage desc: in tight spots. desc: Cooldown 120 turns. spell:Teleportation:10:7:1:15:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: blinks away. desc:An emergency incantation, taught to every trader for dire situations. desc: Teleports you randomly to a certain distance (depending on your level). spell:Repair Armour:15:11:1:20:0 cooldown:255 effect:ENCHANT:TOAC dice:3 effect:TIMED_INC:OCCUPIED dice:2+1d5 desc:Armor, like any investment, requires care. desc: Cooldown 255 turns. spell:Sharpen Weapon:20:11:1:30:0 cooldown:255 effect:ENCHANT:TOBOTH dice:3 effect:TIMED_INC:OCCUPIED dice:2+1d5 desc:A sharper blade means better damage... and a better price tag. desc: Cooldown 255 turns. spell:Recharging:25:17:1:40:0 effect:RECHARGE dice:$B expr:B:PLAYER_LEVEL:/ 8 + 6 desc:Magic devices often wane, but a knowledgeable merchant knows the ancient desc: words to breathe life back into them. desc: Yet, the greater the device, the riskier the ritual... spell:Free Speed Potion:30:30:1:50:0 cooldown:255 effect:TIMED_SET:SPEEDY:0:5 dice:$B+1d10 expr:B:PLAYER_LEVEL:+ 0 desc:A quick sip from your own stash puts an extra spring in your step. desc: Who says a trader can't sample the goods? desc: Cooldown 255 turns. spell:Tunnel:35:12:1:55:0 effect:SHORT_BEAM:KILL_WALL:1 dice:20+1d30 desc:Not all paths are clear. With this spell, the very stones yield, desc: making way for the persistent merchant. Beyond just clearing a path, desc: the force can harm creatures born of rock and earth. spell:Merchant Insight:40:21:1:60:0 effect:DETECT_STAIRS effect-yx:22:40 effect:BLAST:LIGHT_WEAK:2 dice:2d$S expr:S:PLAYER_LEVEL:/ 2 effect:LIGHT_AREA msg_other: calls light. desc:A merchant's intuition, enhanced by magic, reveals hidden pathways and desc: banishes darkness. It's said that this spell channels the very first dawn, desc: revealing threats and secrets alike. spell:Cartography:45:50:1:50:0 effect:MAP_AREA effect-yx:16:32 desc:The world is vast, and its secrets are many. With this spell, desc: landscapes unfurl and mysteries become mere geography. spell:Merchant Scent:49:25:1:70:0 effect:DETECT_TREASURES effect-yx:22:40 desc:Merchants with keen senses and this spell can feel the pull of treasures desc: hidden by time and magic, making no hoard truly hidden from their gaze. spell:Best Deal:50:50:1:200:0 cooldown:255 effect:TIMED_SET:GROWTH dice:$B expr:B:PLAYER_LEVEL:/ 2 desc:You put on your most persuasive smile, trying to charm desc: others into accepting your deals at unbeatable prices. desc: At the same time, you feel generally better and more confident. desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Assassin ############### name:Assassin color:p skill-disarm-phys:43:11 skill-disarm-magic:36:10 skill-device:32:10 skill-save:28:10 skill-stealth:1:1 skill-search:18:13 skill-melee:45:45 skill-shoot:66:40 skill-dig:0:0 hitdie:1 max-attacks:6 min-weight:25 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:INT[2] value:0:WIS[-2] value:0:DEX[2] value:0:CON[0] value:0:CHR[-2] value:0:MANA[0+1d5] value:0:BLOWS[1d5] player-flags:0:CHOOSE_SPELLS player-flags:0:BACK_STAB #player-flags:50:SHIELD_BASH title:Vagabond title:Cutpurse title:Footpad title:Robber title:Burglar title:Filcher title:Sharper title:Eliminator title:Assassin title:Master Assassin magic:1:550:2 book:shadow book:town:[Shadows for Beginners]:11:shadow equip:shadow book:[Shadows for Beginners]:1:1:none spell:Sentry:1:1:20:1:0 cooldown:5 effect:TIMED_INC:SENTRY dice:2 effect:SPEND_MANA dice:$B expr:B:PLAYER_LEVEL:/ 3 msg_other: activate sentry. desc:Setup battle sentry. desc: 1 level: blade sentry desc: 10 level: dart sentry desc: 20 level: spear sentry desc: 30 level: acid sentry desc: 40 level: fire sentry desc: 50 level: lightning sentry desc: Requires additional mana when you get each level. desc: If you cast the spell without enough mana - you suffer severe exhaustion. desc: Cooldown 5 turns. spell:Bad Feeling:5:1:1:3:0 effect:TIMED_INC:ESP dice:2 effect:TIMED_INC:UNSUMMON_MINIONS dice:2 desc:Grants you the power of telepathy for a moment. desc: Also you lose control over your magic sentries and they become demolished. spell:Lightning Reflex:10:3:25:5:0 effect:MELEE_BLOWS:MISSILE dice:$B expr:B:WEAPON_DAMAGE:+ 0 effect:TIMED_INC:BOLD dice:2 effect:CURE:AFRAID effect:TIMED_INC:FAST:0:5 dice:2 msg_other: stubbed a tearing blow. desc:Makes a wounding blow and hastes you for a moment, and removes fear. spell:Adrenaline Splash:15:4:30:10:0 cooldown:10 effect:TIMED_INC:FAST:0:5 dice:2 effect:MELEE_BLOWS:FORCE dice:$B expr:B:PLAYER_LEVEL:* 2 desc:Makes melee attack and hits the target with force, knocking it back desc: with a chance to stun it. desc: Cooldown 10 turns. spell:Shadowstep:20:7:16:15:0 effect:TIMED_INC:FAST:0:5 dice:2 effect:MELEE_BLOWS:MON_STUN dice:2 effect:TELEPORT_TO dice:$B expr:B:PLAYER_LEVEL:/ 5 + 10 desc:Teleports you next to a chosen target and hits it with a stunning blow. spell:Nuke:25:1:1:17:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 4 effect:BLAST:POIS:3:10 dice:$B expr:B:PLAYER_LEVEL:/ 2 effect:SPEND_MANA dice:$B expr:B:PLAYER_LEVEL:/ 3 msg_other: blasts cloud of poison. desc:Explodes around thick 7-8 radius poison cloud and teleports away. desc: Requires additional mana when you get each level. desc: If you cast the spell without enough mana - you suffer severe exhaustion. spell:Snake Coil:30:10:27:20:0 effect:BLAST:MISSILE:1 dice:$B expr:B:PLAYER_LEVEL:* 3 effect:TIMED_SET:DEADLY dice:2 desc:Makes powerful whirl attack. desc: Also gives your melee blows a chance to score a critical hit. spell:Magic Dagger:35:5:45:30:0 effect:BOLT:MISSILE dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: fires a magic dagger. desc:Fires a magic dagger that always hits its target and does desc: irresistible damage. spell:Finishing Move:40:15:30:40:0 cooldown:60 effect:CURSE dice:$Dd$S expr:D:PLAYER_LEVEL:/ 8 + 1 expr:S:MONSTER_PERCENT_HP_GONE:+ 0 effect:TELEPORT_TO dice:$B expr:B:PLAYER_LEVEL:/ 5 + 10 desc:Teleports to target and deals direct damage to a single monster, desc: the more damaged the monster is already. desc: Cooldown 60 turns. spell:Traumaturgy:45:30:35:80:0 cooldown:45 effect:STRIKE:PSI_DRAIN:0 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: strikes with psi energy. desc:Drains part of the life-force from a nearby monster and replenishes desc: your mana with it. Does not affect undead, demons, golems, elementals or desc: vortices. desc: Cooldown 45 turns. spell:Flower of Death:50:30:32:100:0 cooldown:10 effect:STAR:POIS dice:$B expr:B:PLAYER_LEVEL:* 10 msg_other: opens Flower of Death. desc:Activate trap that shoots spray of poison in each of desc: the eight directions starting from your character. desc: Cooldown 10 turns. # 1st dungeon book book:shadow book:dungeon:[Dark Evocations]:7:shadow spell:Vampirism:25:15:40:25:0 cooldown:255 effect:TIMED_INC:STEALTH dice:10+1d10 effect:TIMED_INC:ATT_VAMP dice:$B+1d$S expr:B:PLAYER_LEVEL:* 3 / 10 + 20 expr:S:PLAYER_LEVEL:* 4 / 10 + 10 effect:NOURISH:DEC_BY dice:1 desc:You change your metabolism and get ability of draining life from desc: monsters when you hit them and become silent as night. desc: This spell requires satiation. desc: Cooldown 255 turns. spell:Sneak to Depths:30:10:30:30:0 effect:TIMED_INC:PROBTRAVEL dice:2 desc:Allows you to go 1 level down at will immediately. spell:Shield of Blades:33:15:25:1:0 cooldown:255 effect:TIMED_INC:REFLECTION dice:$B expr:B:PLAYER_LEVEL:/ 3 desc:You are preparing to reflect incoming projectiles. desc: Cooldown 255 turns. spell:Inception:35:20:22:40:0 effect:PROJECT_LOS_AWARE:SLEEP_ALL desc:Attempts to put each monster within line of sight to sleep . spell:Fade in Shadows:40:40:40:70:0 effect:TIMED_SET:INVIS:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 20 effect:GLYPH:DECOY desc:Leaves a magical decoy that looks and sounds like the player. desc: Also makes you invisible for a while. desc: High level, questor, invisible and injured monsters desc: can see through invisibility. spell:Dark Mark:45:50:33:120:0 cooldown:255 effect:WAKE effect:SAFE_GUARD effect:NOURISH:DEC_BY dice:1 desc:Inscribes a Dark Mark beneath you. desc: Summoned monsters can't appear on the Dark Mark. desc: If a monster tries to move onto the mark or melee you while desc: you're standing there, it must first break the mark. desc: Higher level monsters are more likely to break the mark. desc: The mark will remain where it is until a monster succeeds in desc: breaking it or until you leave the level. desc: Inscribing the Dark Mark reduces your nourishment. desc: It wakes up surrounding monsters. desc: Cooldown 255 turns. spell:Inner Power:50:40:50:90:0 cooldown:255 effect:TIMED_INC:MANASHIELD dice:10+1d5 desc:Creates a shield of mana around you that absorbs all damage desc: inflicted to your character... as long as you have mana desc: to fuel it. desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Phaseblade (Psyblade/Telekinetic/Teleporter) name:Phaseblade color:b skill-disarm-phys:34:8 skill-disarm-magic:34:9 skill-device:30:10 skill-save:25:7 skill-stealth:0:0 skill-search:17:15 skill-melee:42:42 skill-shoot:1:1 skill-dig:0:0 hitdie:6 max-attacks:5 min-weight:35 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:WIS[1] player-flags:0:ZERO_FAIL # - not good in wielding non-swords # - _very_ bad with ranged weapons # can teleport from non/limited-teleport grid (except Titans and Half-Giants) title:Flicker title:Stepper title:Edgewalker title:Ghoststeel title:Phasehand title:Slipblade title:Foldslicer title:Warpdancer title:Blinkfang title:Shatterstep magic:1:400:1 book:psi book:town:of Telepathy:11:psi equip:psi book:of Telepathy:1:1:none spell:Hit-and-Run:1:1:1:1:0 cooldown:4 # hc min distance 2; based on manacost # make it based on BpR? effect:TELEPORT dice:2 effect:MELEE_BLOWS:MISSILE dice:$B expr:B:WEAPON_DAMAGE:* 5 desc:Makes a tricky weapon blow and break the distance. desc: Cooldown 4 turns. spell:Door:5:1:1:5:0 effect:RESTORE_MANA dice:1 effect:RESTORE_MANA dice:0 effect:RANDOM dice:2 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:/ 2 effect:TELEPORT dice:11 msg_other: blinks away. desc:Phase on short distance to restore some vigor. spell:Phase Smash:10:3:1:10:0 effect:MELEE_BLOWS:MISSILE dice:$B expr:B:WEAPON_DAMAGE:* 5 effect:TELEPORT_TO dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 desc:Teleport to the target and score a melee hit. spell:Gate:15:2:1:15:0 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: teleports away. desc:Phase on medium distance to restore some vigor. spell:Force Field:20:11:1:20:0 # need to hc field distance by lvl.. cooldown:11 effect:BLAST:FORCE:5 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: scrambles around. desc:Phase out force field and scramble expanse at a medium distance. desc: Cooldown 11 turns. spell:Healing Warp:25:10:1:25:0 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 5 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:You restore powers by getting into deep warp. spell:Phase Nova:30:20:1:30:0 effect:BLAST:MISSILE:2 dice:$B expr:B:PLAYER_LEVEL:* 10 effect:TELEPORT dice:3 msg_other: radiates a powerful wave of force. desc:Teleports you to another spot; upon destination you desc: perform devastating spike of force. spell:Unwarp:35:25:1:40:0 effect:BLAST_OBVIOUS:AWAY_ALL:2:10 dice:100 msg_other: makes a rush gesture. desc:Creates a radius-5 to radius-7 wave around you that teleports each monster desc: in its path up to 100 squares away. spell:Phase Skimming:40:30:1:50:0 cooldown:4 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:* 4 effect:TELEPORT dice:2 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:* 4 effect:TELEPORT dice:3 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:* 4 effect:TELEPORT dice:4 effect:BLAST:FORCE:1 dice:$B expr:B:PLAYER_LEVEL:* 4 effect:TELEPORT dice:5 msg_other: blinks away. desc:You teleport around the battlefield bringing havoc and shredding your enemies. desc: Cooldown 4 turns. spell:Quake:45:40:1:75:0 cooldown:255 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 effect:EARTHQUAKE:NONE:10 desc:Causes a radius 10 earthquake centered around the player and desc: teleports you away within the current level. desc: Cooldown 255 turns. spell:Safe Spot:50:50:1:100:0 cooldown:255 effect:SAFE_GUARD effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:Teleports you randomly within the current level. desc: Upon landing, create a circle of glyphs of warding around you. desc: Summoned monsters can't appear on the glyphs. desc: If a monster tries to move onto a glyph or melee you while you're desc: standing on it, it must first break the glyph. desc: Higher level monsters are more likely to break the glyphs. desc: The glyphs will remain where they are, until a monster succeeds in desc: breaking them or until you leave the level. desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Weathermaster / Cryokinetic ############### name:Cryokinetic color:B skill-disarm-phys:20:15 skill-disarm-magic:32:10 skill-device:32:10 skill-save:25:10 skill-stealth:1:0 skill-search:15:12 skill-melee:42:32 skill-shoot:35:25 skill-dig:0:0 hitdie:4 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:CON[1] value:0:BLOWS[5] obj-flag:0:CLUMSY # class brands works both on melee and ranged. races - only on melee! brand:10:50:FIRE_2 brand:10:50:COLD_2 value:30:RES_FIRE[2] value:30:RES_COLD[2] title:Chillflare title:Frostspark title:Icember title:Ashglaze title:Burnfrost title:Glowfreeze title:Scorchshard title:Blazebite title:Heatvein title:Elementied magic:1:350:1 book:magic book:town:[Magic for Beginners]:11:arcane equip:magic book:[Magic for Beginners]:1:1:none # fog, clouds; freeze water; create lava spell:Pyrokinetic Touch:1:1:20:1:0 #hc rng effect:TIMED_SET:OPP_FIRE dice:20+1d20 effect:SHORT_BEAM:FIRE:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other:'s hands are covered with fire. desc:Covers your hands with fire to burn your foes. desc: Grants fire resistance. spell:Cryokinetic Whirl:5:2:20:2:0 #hc rng. at 15+lvl esp good cooldown:11 effect:TIMED_SET:OPP_COLD dice:20+1d20 effect:BLAST:COLD:1 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other:'s hands are covered with frost. desc:Covers your hands with frost to freeze your foes. desc: Grants cold resistance. desc: Cooldown 11 turns. spell:Warmth:10:5:30:3:0 cooldown:120 effect:TIMED_INC:FAST:0:5 dice:2 effect:TIMED_SET:MOVE_FAST dice:7+1d7 effect:TIMED_SET:REGEN dice:20+1d20 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Greatly increases your regeneration rate for a few turns and heal a bit. desc:Also gives you boost to movement speed for a while. desc: The effect of this spell is cumulative with other means of regeneration. desc: Cooldown 120 turns. spell:Cryo Hibernation:15:10:32:10:0 cooldown:255 effect:TIMED_SET:SINFRA dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_INC_NO_RES:PARALYZED dice:4 effect:TIMED_SET:REVIVE dice:4 effect:TIMED_INC:ICY_AURA dice:4 effect:CURE:STUN effect:CURE:CUT effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: become frozen. desc:Freezes you inside a globe of enchanted ice, desc: making you invulnerable for 4 turns. desc: Cures a level-dependent percentage of your wounds and heals desc: cuts and stunning. desc: Also grants you resistance against non-physical attacks. desc: The shield absorbs a percentage of damage from such attacks desc: equal to your character level. desc: Cooldown 255 turns. spell:Pyrokinesis:20:8:32:20:0 # hc up to x8 effect:BOLT_RADIUS:FIRE:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: strikes with heat. desc:Strikes a target with an immense heat ray. desc: This ray does not penetrate the target. spell:Cryokinetic Ray:25:8:32:30:0 # hc up to x8 effect:BOLT_RADIUS:COLD:10 dice:$B expr:B:PLAYER_LEVEL:+ 0 msg_other: fires a ray of frost. desc:Fires a ray of frost that always hits its target. desc: This ray does not penetrate target. spell:Plasma Nova:30:12:32:40:0 effect:BLAST:PLASMA:2 dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: radiates a powerful wave of heat. desc:Creates a plasma sphere around you. spell:Frost Orb:35:15:33:50:0 effect:BALL:ICE:1 dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: invokes an ice storm. desc:Shoots a sphere of ice towards target. spell:Cryofire:40:20:34:70:0 effect:STRIKE:COLD:0 dice:$B expr:B:PLAYER_LEVEL:* 6 effect:STRIKE:FIRE:0 dice:$B expr:B:PLAYER_LEVEL:* 6 msg_other: strikes with cryofire. desc:Cryokinetic technique which makes target feel heat and cold at the desc: same time. desc: If targeting a direction or the target is not a passable desc: grid in the line of sight, the player will be the target. spell:Blizzard:45:30:35:100:0 cooldown:2 effect:BLAST:ICE:5 dice:$B expr:B:PLAYER_LEVEL:* 4 msg_other: subzeroes surrounding air into a sharp icicles. desc:Starts icy blizzard around you. desc: Cooldown 2 turns. spell:Firestorm:50:40:39:150:0 cooldown:2 effect:ARC:FIRE:0:30 dice:$B expr:B:PLAYER_LEVEL:* 7 msg_other: invokes a hellish storm. desc:Spews fire in a long narrow cone from you. desc: Cooldown 2 turns. ############### CLASS TEMPLATE for Timeturner # Chronowarrior / Mesmer / Predictor name:Timeturner color:v skill-disarm-phys:28:8 skill-disarm-magic:37:10 skill-device:18:7 skill-save:25:8 skill-stealth:1:0 skill-search:15:15 skill-melee:35:15 skill-shoot:20:14 skill-dig:0:0 hitdie:1 max-attacks:3 min-weight:40 strength-multiplier:2 equip:light:Wooden Torch:1:3:none equip:sword:Dagger:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[-2] value:0:WIS[2] value:0:CON[-1] # speed buffs stopping working at 50 value:0:SPEED[1+1d5] # slow debuff affect them less (-5) player-flags:0:ZERO_FAIL obj-flag:0:CLUMSY value:50:RES_TIME[1] title:Tickborn title:Timegazer title:Loopling title:Secondhand title:Phasewatcher title:Slipcaster title:Hourvein title:Fraycaller title:Chronorift title:Paradox magic:1:350:5 book:psi book:town:of Telepathy:12:psi equip:psi book:of Telepathy:1:1:none spell:Aging Hex:1:1:1:1:0 # 6-42 @ 24 (~24) # 9-108 @ 50 (~58) effect:BOLT:TIME:0:-10 dice:$Dd$S expr:D:PLAYER_LEVEL:- 1 / 5 + 3 expr:S:PLAYER_LEVEL:/ 10 + 4 msg_other: wiggles one crooked finger. desc:Causes magical aging to the target. desc: Nonliving creatures may resist to some extent. desc: This spell always hits its target. spell:Rewind Phase:3:1:1:5:0 cooldown:5 effect:DAMAGE dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:RESTORE_MANA dice:$B expr:B:PLAYER_LEVEL:+ 5 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: moves backwards awkwardly. desc:Shifts you to a random location on the current level. desc: Restores some mana based on your level. desc: May cause minor damage due to temporal instability. desc: Cooldown: 5 turns. spell:Quantum Trap:5:2:1:7:0 # dam HCed up to *7 cooldown:7 effect:SHORT_BEAM:TIME:5 dice:$B expr:B:PLAYER_LEVEL:+ 5 msg_other: makes a circling gesture. desc:Rewind time back and forward making aging damage again and again desc: to everything that is in a line of 5 tiles. desc: Damage is greatly increased every 5 levels (up to level 35). desc: At level 10+, each cast also consumes a small amount of extra mana. desc: Nonliving creatures may resist to some extent. desc: Cooldown 7 turns. spell:Revert Wounds:7:3:1:10:0 cooldown:30 effect:TIMED_INC_NO_RES:BLIND_REAL dice:2 effect:CURE:CUT effect:CURE:STUN effect:CURE:POISONED effect:CURE:AMNESIA effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 10 msg_self:Your body begins to rapidly recover. desc:Cures damage, stunning, heals all cut damage, neutralizes poison, and cures amnesia. desc: Side-effects might include brief blindness. desc: Cooldown 30 turns. spell:Ray of Time:10:3:1:15:0 #x5 (every 10 lvls) effect:BALL:TIME:2 dice:$B expr:B:PLAYER_LEVEL:+ 10 msg_other: emit a ray of time. desc:Fires a ray of temporal energy that explodes on impact. desc: Nonliving creatures may resist to some extent. desc: Becomes stronger every 10 levels. #spell:Ray of Time:10:10:1:15:0 #effect:BEAM:SMASH:0 #dice:$B #expr:B:PLAYER_LEVEL:+ 0 #effect:BEAM:TIME #dice:$B #expr:B:PLAYER_LEVEL:+ 0 #msg_other: emit a ray of time. #desc:Fires a beam of pure time that affects each monster in its path. #desc: It may additionally damage minded creatures and has a chance to blind, #desc: confuse, put to sleep or slow affected monsters. spell:Time Forward:15:10:1:20:0 effect:RECALL dice:12+1d10 desc:Rewinds time moving you from the dungeon back to the town or from the town desc: to the deepest level you have visited in the dungeon. desc: The effect can be almost immediate, but sometimes it's somewhat delayed. desc: During that delay, the effect can be canceled by invoking the prayer desc: of recall again. spell:Decay:20:15:1:30:0 cooldown:255 effect:TIMED_SET:ANCHOR dice:5 # banish: hc rad (effect_handler_MASS_BANISH) effect:MASS_BANISH msg_other: tilts head to the left. desc:Turn everything around to age to the dust in 5 squares around you. desc: More experienced Timeturners increase radius up to 10 squares. desc: Uniques are not affected. desc: You take 1d3 points of damage for every monster removed. desc: Side-effect: you won't be able to teleport for 5 turns. desc: Cooldown 255 turns. spell:Erase:25:4:1:50:0 # HCed mana effect:SHORT_BEAM:MISSILE:2 dice:$B expr:B:PLAYER_LEVEL:* 10 effect:SHORT_BEAM:TIME:2 dice:$B expr:B:PLAYER_LEVEL:* 10 effect:SHORT_BEAM:MON_POLY:2 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:RANDOM dice:3 msg_other: snaps fingers toward the target. desc:Attempts to erase the target from the current timeline. desc: May hit up to two nearby creatures within 2 tiles, desc: though it may sometimes polymorph them instead. desc: Deals time damage that scales with your level and desc: is sometimes irresistible. desc: Each use drains a bit of extra mana. spell:Curvature of Space:30:25:70:100:0 cooldown:30 effect:TIMED_SET:PROBTRAVEL dice:3 msg_other: breaks the space/time continuum. desc:Allows you to rewind time to move up to previous levels. desc: (after casting, use '<' to go up from anywhere). desc: This effect lasts for 3 turns. desc: Cooldown 30 turns. spell:Time Shield:35:25:1:150:0 cooldown:255 effect:TIMED_SET:MANASHIELD dice:10+1d5 desc:Creates a time shield around you that absorbs all damage desc: inflicted to your character... as long as you have mana desc: to fuel it. desc: Cooldown 255 turns. spell:Temporal Paradox:40:50:35:200:0 cooldown:120 effect:TIMED_INC:FASTCAST dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 desc:Increases spellcasting speed by 33% some time. desc: Cooldown 120 turns. spell:Time Wave:45:25:46:300:0 cooldown:11 effect:ARC:CHAOS:0:30 dice:$B expr:B:PLAYER_LEVEL:* 8 msg_other: jams time. desc:Jams time into narrow string and release wave of chaos. desc: Cooldown 11 turns. ############### CLASS TEMPLATE for Scavenger ############### name:Scavenger color:Y skill-disarm-phys:36:10 skill-disarm-magic:42:10 skill-device:32:10 skill-save:28:10 skill-stealth:2:1 skill-search:15:15 skill-melee:60:40 skill-shoot:72:45 skill-dig:0:0 hitdie:5 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[0+1d30] value:0:INT[0] value:0:WIS[-2] value:0:DEX[2] value:0:CON[0] value:0:CHR[-1] #/// Rat pet # cant join party # disassemble: 20+ ego, 30 randart, 40 trueart # + less speed penalty due overweight title:Rattrap title:Scrapling title:Junkhand title:Tunnelfreak title:Corpsepicker title:Muckrider title:Stashrat title:Rusteye title:Grubmaster title:Grimeking magic:1:350:1 # brainstorm for later: # create rubble with with 'y' key? # quest for gold # additional gold + 25% # make food from bodies? strangely looking meat #spell:Skin Corpse:15:20:40:40:0 #effect:CREATE_MEAT #desc:Allows the player to turn a corpse into some meat of dubious quality. # can additionally look for items in bodies # get $ from fountains # additional loot? # get additional gold from each killed mob based on exp? with some hard limit book:skillbook:town:[Mastery]:11:skills equip:skillbook:[Mastery]:1:1:none spell:Salvage:1:1:1:1:0 effect:SALVAGE effect:RESTORE_MANA dice:1 desc:Try to salvage item into valuable parts. spell:Feign Death:3:1:1:1:0 cooldown:255 effect:TIMED_INC:OCCUPIED dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 effect:TIMED_SET:REVIVE dice:$B expr:B:PLAYER_LEVEL:/ 10 + 5 msg_other: collapses and lies still. desc:Feign death fools monsters into thinking you're dead. desc: Lasts 5–10 turns (depending on level). desc: Cooldown 255 turns. # hc min distance 2 (not 1-2 rng) spell:Roll:5:1:1:3:0 effect:RESTORE_MANA dice:1 effect:RESTORE_MANA dice:1 effect:RESTORE_MANA dice:1 effect:RESTORE_MANA dice:0 effect:RANDOM dice:4 effect:TELEPORT dice:2 msg_other: rolls away. desc:Roll away randomly to a close distance. desc:You can roll around almost effortlessly. spell:Antidote:7:1:1:1:0 effect:CURE:POISONED desc:Cures poison. spell:Cartographer:10:1:1:1:0 cooldown:100 effect:MAP_AREA effect-yx:15:32 desc:Maps out a portion of the level around. desc: Cooldown 100 turns. spell:Dirty Trick:15:7:30:10:0 effect:TIMED_SET:ATT_POIS:0:5 dice:10+1d10 desc:Temporarily makes your melee attacks branded with poison. spell:Orcish Poison:20:11:20:20:0 effect:BOW_BRAND_SHOT:POIS dice:3 desc:Covers your missiles with venom. spell:Bandages:25:12:30:35:0 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 3 desc:Apply bandages to heal. spell:Treasure Map:30:1:1:1:0 cooldown:100 effect:DETECT_TREASURES:NONE:1 effect-yx:22:40 desc:Detects all valuable objects in the immediate area. desc: Cooldown 100 turns. spell:Fire in the Hole:35:40:40:75:0 # hc radius effect:EARTHQUAKE:NONE:1 desc:Causes a earthquake centered around the player. spell:Emergency Ration:40:50:25:100:0 cooldown:255 effect:NOURISH:INC_TO dice:10 desc:Magically saves you from starvation. desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Alchemist ############### name:Alchemist color:y skill-disarm-phys:30:10 skill-disarm-magic:35:10 skill-device:35:12 skill-save:24:8 # 1:0 skill-stealth:1:1 skill-search:12:12 skill-melee:40:20 skill-shoot:25:20 skill-dig:0:0 # 2 hitdie:3 max-attacks:4 min-weight:35 strength-multiplier:3 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall obj-flag:0:CLUMSY value:0:STR[-2] value:0:INT[2] value:0:WIS[1] value:0:DEX[0] value:0:CON[-1] value:0:CHR[-1] # brew special potions which are bound to player # can summon golem title:Rookie title:Initiate title:Neophyte title:Novice title:Apprentice title:Journeyman title:Expert title:Adept title:Master title:Grandmaster magic:1:300:1 book:magic book:town:[Magic for Beginners]:4:arcane equip:magic book:[Magic for Beginners]:1:1:none #spell:Gather Ingredients:1:1:30:3:0 #cooldown:100 #effect:TIMED_INC:SLOW #dice:1+1d2 #msg_other: carefully looking around. #desc:Prepare to look for rare reagents used in alchemy. # spell:name:level:mana:fail:exp:sproj spell:Acid Fog:1:0:1:1:0 effect:SHORT_BEAM:KILL_WALL:1 dice:10 effect:SHORT_BEAM:ACID:2 dice:1d$D expr:D:PLAYER_LEVEL:/ 5 + 5 msg_other: splashed some acid. desc:Envelops target with a sparse acid fog. desc: Its strange mix eats through stone and crumbles walls. desc: Does not require mana. spell:Herbalism:1:1:1:1:0 cooldown:60 effect:HEAL_HP dice:$B+m$M expr:B:PLAYER_LEVEL:+ 1 expr:M:PLAYER_LEVEL:/ 3 + 12 desc:You collect magical healing herbs from time to time which, when applied, desc: cures your wounds. desc: Cooldown 60 turns. spell:Brew a Potion:1:1:30:1:0 effect:ALCHEMY effect:TIMED_INC:OCCUPIED dice:$B expr:B:PLAYER_LEVEL:/ 10 msg_other: starts brewing a potion. desc:You try to brew a potion from selected reagents. spell:Create Golem:5:3:1:7:0 cooldown:7 effect:TIMED_INC:GOLEM dice:2 msg_other: summons a golem. desc:Attempts to create a golem. You don't need materials for it. desc: Cooldown 7 turns. #spell:Acid Rain:50:40:5:16:0 #spell:Elixir of Immortality:50:70:90:100:0 #cooldown:255 #effect:TIMED_INC:REVIVE #dice:5+1d5 #desc:Allows you to avoid death once in a while. #desc: Can be used every 255 turns. ############### CLASS TEMPLATE for Crafter ############### name:Crafter color:w skill-disarm-phys:42:10 skill-disarm-magic:30:9 skill-device:24:10 skill-save:20:10 # 1:0 skill-stealth:1:1 skill-search:8:10 skill-melee:50:30 skill-shoot:35:25 skill-dig:0:0 # 3 hitdie:4 max-attacks:4 min-weight:35 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:INT[0+1d32] value:0:WIS[0+1d32] value:0:DEX[0] value:0:CON[0] value:0:CHR[0] # can create items which are bound to player # if item not needed - it should be destroyed with 'k' # + less speed penalty due overweight # 30+lvl: can sharpen his weapons and projectiles (got cut_1 to melee and ranged attacks) brand:30:50:CUT_1 title:Tinkerhand title:Greasebud title:Scrapwright title:Griptwist title:Charmbender title:Bindsmith title:Runesetter title:Mekker title:Weldmage title:Forgebound magic:1:350:1 book:travel guide:town:[Basics]:3:common equip:travel guide:[Basics]:1:1:none spell:Crafting Mastery:1:1:30:1:0 effect:CRAFT msg_other: starts recrafting an item. desc:You try to recraft an item. spell:Create Sentry:1:1:1:1:0 cooldown:6 effect:TIMED_INC:SENTRY dice:2 effect:SPEND_MANA dice:$B expr:B:PLAYER_LEVEL:/ 3 msg_other: activates sentry. desc:Deploys a stationary sentry that attacks enemies automatically. desc: 1 level: blade sentry desc: 10 level: dart sentry desc: 20 level: spear sentry desc: 30 level: acid sentry desc: 40 level: fire sentry desc: 50 level: lightning sentry desc: Requires additional mana when you get each level. desc: If you cast the spell without enough mana - you suffer severe exhaustion. desc: No additional materials are needed to create it. desc: You can detonate the sentry manually using the '_' key. desc: Its explosion damage increases every 5 levels. desc: Cooldown 6 turns. spell:Build Walls:10:5:44:30:0 effect:SHORT_BEAM:STONE_WALL:1:1 effect:TIMED_INC:OCCUPIED dice:5+1d5 desc:Raises a wall one tile away in the chosen direction. # TODO.. ADD: #spell:Craft Door:30:11:50:50:0 #effect:SHORT_BEAM:MAKE_DOOR:1:1 #desc:Creates a door (closed, but not locked) next to you. ############### Inquisitor ############### name:Inquisitor color:r skill-disarm-phys:30:8 skill-disarm-magic:42:8 skill-device:0:0 skill-save:28:10 skill-stealth:1:0 skill-search:20:16 skill-melee:50:35 skill-shoot:40:25 skill-dig:5:1 hitdie:3 equip:light:Wooden Torch:1:3:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:CHR[-6] value:0:ANTI_MAGIC[1d1] player-flags:0:MARTIAL_ARTS obj-flag:0:CLUMSY # harming fearful enemies -> restore life # can cast through his ANTI-MAGIC field value:0:BLOWS[1d1] title:Whipling title:Chainer title:Torchbearer title:Binder title:Confessor title:Woundwright title:Interrogant title:Hereticbane title:Sealmaker title:Red Judge magic:1:350:1 book:prayer book:town:[Beginners Handbook]:11:divine equip:prayer book:[Beginners Handbook]:1:1:none spell:Novice Torture:1:1:1:1:0 cooldown:3 effect:SHORT_BEAM:PSI_DRAIN:1 dice:$B expr:B:PLAYER_LEVEL:* 2 + 2 desc:Cause pain to the victim. Restores your mana. desc: Does not affect undead, demons, golems, elementals or vortices. desc: Cooldown 3 turns. spell:Get to Hell:5:1:1:1:0 cooldown:100 # ? if already on bottom - just teleport away? effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 8 effect:DEEP_DESCENT desc:Sends you to the deepest depths of the dungeon and restores your health. desc: Cooldown 100 turns. spell:Burn Heresy:10:3:1:1:0 cooldown:13 effect:BLAST:FIRE:3 dice:$B expr:B:PLAYER_LEVEL:* 3 desc:Produces hellfire around you. desc: Cooldown 13 turns. spell:Confession:15:1:33:7:0 effect:TIMED_SET:TAUNT dice:13+1d13 desc:After your confession everyone hates you so much that they run toward you desc: recklessly.. desc: Fools! During their rage they use ranged attacks and magic less often, desc: which you may use to your advantage. spell:Drain Soul:20:5:33:10:0 cooldown:6 effect:STRIKE:MON_DRAIN:0:1 dice:$B expr:B:PLAYER_LEVEL:* 3 msg_other: attempts to drain the soul from victim. desc:Drains part of the life-force from a nearby living victim. desc: Cooldown 6 turns. spell:Antimagic:25:20:33:20:0 effect:CLEAR_VALUE effect:TIMED_SET:OPP_POIS effect:TIMED_SET:OPP_COLD effect:TIMED_SET:OPP_FIRE effect:TIMED_SET:OPP_ELEC effect:TIMED_SET:OPP_ACID dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Grants you resistance to acid, cold, fire, lightning and poison. spell:Bloodhound:30:12:68:32:0 cooldown:255 effect:SUMMON:HOUND:0:100 dice:1 msg_other: summons a bloodhound. desc:Attempts to summon hound generated at the current dungeon level. desc: This spell has no effect when used in the town. desc: Cooldown 255 turns. spell:Inquisition Library:35:30:33:30:0 effect:IDENTIFY desc:Reveals an unknown rune on an object. spell:Unholy Seal:40:40:33:50:0 cooldown:30 effect:STAR:DARK dice:$B expr:B:PLAYER_LEVEL:* 8 msg_other: makes devious gesture. desc:Spreads heavy curse on heretics. desc: Cooldown 30 turns. spell:Prison of Sin:45:50:33:80:0 effect:CREATE_WALLS desc:You entomb yourself in the stone's cell. spell:Retribution:50:70:33:120:0 cooldown:100 effect:BIZARRE desc:Bring retribution to heretics... desc: Cooldown 100 turns. ############### CLASS TEMPLATE for Heretic ## Spellblade, Hexrat, Ruinist name:Heretic color:w skill-disarm-phys:15:6 skill-disarm-magic:20:10 skill-device:20:8 skill-save:24:10 skill-stealth:0:1 skill-search:10:12 skill-melee:40:45 skill-shoot:20:15 skill-dig:0:0 hitdie:4 max-attacks:5 min-weight:20 strength-multiplier:4 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[1] value:0:INT[1] value:0:WIS[-1] value:0:DEX[2] value:0:CON[0] value:0:CHR[-5] player-flags:0:CHOOSE_SPELLS player-flags:40:BACK_STAB title:Rookie title:Initiate title:Neophyte title:Novice title:Apprentice title:Journeyman title:Expert title:Adept title:Master title:Grandmaster magic:1:550:1 book:magic book:town:[Magic for Beginners]:10:arcane equip:magic book:[Magic for Beginners]:1:1:none ###### ATT # spell:name:level:mana:fail:exp:sproj spell:Fiery:1:1:1:1:0 cooldown:2 effect:TIMED_SET:FIERY_STANCE dice:9999 effect:TIMED_INC_NO_RES:IMAGE_REAL dice:2 msg_other: fiery. desc:Makes your melee attacks branded and grants resistance. desc: Cooldown 2 turns. spell:Coldy:1:1:1:1:0 cooldown:2 effect:TIMED_SET:COLDY_STANCE dice:9999 effect:TIMED_INC_NO_RES:SLOW_REAL dice:2 msg_other: coldy. desc:Makes your melee attacks branded and grants resistance. desc: Cooldown 2 turns. spell:Electry:1:1:1:1:0 cooldown:2 effect:TIMED_SET:ELECTRY_STANCE dice:9999 effect:TIMED_INC_NO_RES:BLIND_REAL dice:2 msg_other: electry. desc:Makes your melee attacks branded and grants resistance. desc: Cooldown 2 turns. spell:Acidy:1:1:1:1:0 cooldown:2 effect:TIMED_SET:ACIDY_STANCE dice:9999 effect:TIMED_INC_NO_RES:CONFUSED_REAL dice:2 msg_other: acidy. desc:Makes your melee attacks branded and grants resistance. desc: Cooldown 2 turns. ####### DEF spell:Nothingness:10:6:35:5:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 2 effect:TIMED_SET:STEALTH dice:3 effect:TIMED_INC_NO_RES:CONFUSED_REAL dice:2 msg_other: teleports away. desc:Teleports you randomly within the current level and dazes afterwards. spell:Shroud:20:10:65:20:0 effect:TIMED_SET:STEALTH dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_SET:OPP_POIS dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_INC_NO_RES:BLIND_REAL dice:2 desc:Grants resistance to poison and increased stealth, desc: but causes temporary blindness. spell:Thunder Burst:30:15:50:1:0 effect:TIMED_SET:SPEEDY:0:5 dice:$B+1d20 expr:B:PLAYER_LEVEL:+ 0 effect:WAKE msg_other: surges with lightning. desc:Calls the thunder to boost your speed. It's not quiet. spell:Arcane Stitches:40:7:50:1:0 effect:HEAL_HP dice:$B expr:B:PLAYER_LEVEL:* 3 effect:TIMED_INC:OCCUPIED dice:3+1d5 msg_other: heals, but becomes still. desc:Heals your wounds. The procedure takes 4–8 turns, desc: during which you are vulnerable. spell:Power of the Ring:45:20:40:1:0 effect:TIMED_SET:INVIS:0:5 dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_SET:GROWTH dice:$B expr:B:PLAYER_LEVEL:+ 0 effect:TIMED_INC_NO_RES:IMAGE_REAL dice:10+1d15 msg_other: vanishes. desc: Makes you invisible and powerful, but alters your perception of the world. spell:Armageddon:50:42:35:666:0 cooldown:255 effect:DRAIN_STAT:CHR dice:1 effect:TIMED_SET:ANTISUMMON dice:10+1d10 effect:TIMED_INC_NO_RES:SLOW_REAL dice:20 effect:TIMED_INC_NO_RES:IMAGE_REAL dice:20 # can be cured effect:TIMED_INC_NO_RES:BLIND dice:2+1d2 effect:TIMED_INC_NO_RES:CONFUSED_REAL dice:2 effect:WAKE effect:WIPE_AREA:NONE:7 effect:EARTHQUAKE:NONE:15 effect:DESTRUCTION:DARK:20 msg_other: wrecks havoc. desc:You bring devastation around you. desc: Epicenter: wipes everything in a close radius around you. desc: Medium area: causes an earthquake. desc: At the distance: Destroys everything in a certain radius. desc: All monsters, objects and terrain features in the area of desc: effect are destroyed, except stairs and permanent walls. desc: You will also be blinded for 10+1d10 turns unless you have desc: resistance to blindness or darkness, and for 1 turns by desc: irresistible blindness. desc: Afterwards it prevents summoning around you for a some time. desc: You will be slowed, disoriented, and temporarily blinded. desc: A brief moment of confusion also occurs. desc: Only blindness can be cured - the rest must wear off by itself. desc: Also, this spell makes a lot of noise. desc: Each cast of this spell brings a big reputation loss and desc: reduces your charisma. desc: Cooldown 255 turns. # TODO: add #spell:Summon Daemon:49:60:42:200:0 #cooldown:255 #effect:SUMMON:DEMON:0:100 #dice:1 #effect:GLYPH:WARDING #msg_other: summons a daemon. #desc:Draws a protecting pentagram and attempts to summon a daemon. #desc: Cooldown 255 turns. ############### CLASS TEMPLATE for Cutthroat name:Cutthroat color:w skill-disarm-phys:20:10 skill-disarm-magic:15:6 skill-device:18:7 skill-save:18:10 skill-stealth:0:1 skill-search:18:14 skill-melee:45:45 skill-shoot:30:20 skill-dig:0:0 hitdie:7 max-attacks:6 min-weight:20 strength-multiplier:5 equip:light:Wooden Torch:1:3:none equip:hafted:Club:1:1:none equip:scroll:Word of Recall (rugged):2:2:birth_no_recall equip:scroll:Satisfy Hunger (tattered):2:2:none equip:scroll:Phase Door:3:4:birth_no_recall equip:potion:Cure Light Wounds:2:3:birth_no_recall value:0:STR[2] value:0:INT[-2] value:0:WIS[-2] value:0:DEX[2] value:0:CON[1] value:0:CHR[-4] player-flags:0:CHOOSE_SPELLS player-flags:30:BACK_STAB title:Rookie title:Initiate title:Neophyte title:Novice title:Apprentice title:Journeyman title:Expert title:Adept title:Master title:Grandmaster magic:1:550:1 book:skillbook:town:[Mastery]:3:skills equip:skillbook:[Mastery]:1:1:none # using dirty blows spell:Piercing Blows:1:1:1:1:0 cooldown:2 # Sweep -> critical hit hardcoded effect:SWEEP effect:TIMED_SET:PIERCING_STANCE dice:9999 msg_other: prepares to skewer. desc:Your melee attacks are effective against heavily armored targets. desc: The next attack after activating the ability will most likely be a critical hit; desc: it can't occur more often than once every 21 turns desc: (shared with racial ability and all other stance post-attack effects). desc: Cooldown 2 turns. spell:Slashing Blows:1:1:1:1:0 cooldown:2 # Sweep hardcoded effect:SWEEP effect:TIMED_SET:CUTTING_STANCE dice:9999 msg_other: readies to shred. desc:Your melee attacks slice and cause bleeding wounds. desc: The next attack after activating the ability will be a cleaving sweep; desc: it can't occur more often than once every 11 turns desc: (shared with racial ability and all other stance post-attack effects). desc: Cooldown 2 turns. spell:Crushing Blows:1:1:1:1:0 cooldown:2 # Sweep -> confuse hardcoded effect:SWEEP effect:TIMED_SET:CRUSHING_STANCE dice:9999 msg_other: raises weapon to smash. desc:Your melee attacks stun and disorient your enemies. desc: The next attack after activating the ability will confuse target; desc: it can't occur more often than once every 7 turns desc: (shared with racial ability and all other stance post-attack effects). desc: Cooldown 2 turns. #effect:MELEE_BLOWS:MISSILE #dice:$B #expr:B:WEAPON_DAMAGE:+ 0 # HARMONY! # effect:DEEP_DESCENT # effect:BIZARRE # effect:LOSE_RANDOM_STAT:STR # effect:GAIN_STAT:STR # effect:RESTORE_STAT:STR # for imba #effect:TIMED_INC_NO_RES:PARALYZED #dice:3d1 #effect:TIMED_INC_NO_RES:BLIND #dice:5+1d13 #effect:TIMED_INC_NO_RES:IMAGE #dice:11+1d24 #effect:NOURISH:DEC_BY #dice:5 #effect:TIMED_INC:ATT_CONF #dice:10000 #effect:RESTORE_MANA #dice:10 #effect:HEAL_HP #dice:500 #effect:BREATH:ACID:0:20 #dice:150 #effect:BREATH:POIS:0:20 #dice:250 #effect:BREATH:COLD:0:20 #dice:250 #effect:BREATH:FIRE:0:20 #dice:250 #effect:BREATH:ELEC:0:20 #dice:250 #effect:BREATH:ACID:0:20 #dice:250 #effect:RANDOM #dice:5 #non-resistable #effect:BREATH:MISSILE:0:20 #dice:300 #drain life #effect:BOLT_STATUS_DAM:MON_DRAIN #dice:90 # max 250 #effect:EARTHQUAKE:NONE:10 #effect:BOLT_AWARE:MON_POLY:1 #dice:$B #expr:B:PLAYER_LEVEL:+ 0 #effect:TIMED_INC:PROTEVIL #dice:$B+1d25 #expr:B:PLAYER_LEVEL:* 3 #ACQUIRE #ARC #produces a cone of %s for %s points of damage") #BATTY #CREATE_STAIRS # stone prison.. add 1 wall #CREATE_WALLS #causes a granite wall to fall behind you #GRANITE #DAMAGE #DRAIN_LIGHT ! fire arrows #LASH ! not working in PvE if not in form #LOSE_RANDOM_STAT #RECALL #creates a radius-{%d} %s ball around you that inflicts %s points of damage #SPOT #fires a series of radius-{%d} %s balls each inflicting %s points of damage #SWARM - for DoT stinking cloud? #WEB - add some other terrain types #WONDER #TOUCH_AWARE #Affect adjacent grids (radius 1 ball attack) # find the formula to make RANDOM reduce with level so # it will be possible to make extra hit... # just for fun :) as it's easier to hardcode such mechanics. #effect:RANDOM #dice:$B #expr:B:PLAYER_LEVEL: ... ############### GHOST ############### # Hack -- not a real class, used for ghost realm spells name:Ghost magic:0:0:1 book:ghost realm:xxx:xxx:8:ghost spell:Blink:1:1:0:0:0 effect:TELEPORT dice:10 msg_other: blinks away. desc:Teleports you randomly up to 10 squares away. spell:Terrify:10:2:0:0:0 effect:BOLT_AWARE:TURN_ALL dice:$B expr:B:PLAYER_LEVEL:+ 0 desc:Attempts to scare a single monster for a level-dependent duration. spell:Confuse:15:3:0:0:0 effect:BOLT_AWARE:MON_CONF dice:5+1d5 msg_other: makes a complicated gesture. desc:Attempts to confuse a single monster. spell:Teleport:20:5:0:0:0 effect:TELEPORT dice:$B expr:B:PLAYER_LEVEL:* 5 msg_other: teleports away. desc:Teleports you randomly within the current level. spell:Nether Bolt:25:10:0:0:0 effect:BOLT_OR_BEAM:NETHER dice:$B+5d5 expr:B:PLAYER_LEVEL:+ 50 msg_other: fires a nether bolt. desc:Fires a nether bolt that always hits its target. Sometimes a beam is fired desc: instead that hurts each monster in its path. The chance to get a beam goes desc: up with your character level. spell:Disenchantment Bolt:30:20:0:0:0 effect:BOLT_OR_BEAM:DISEN dice:$B+5d5 expr:B:PLAYER_LEVEL:+ 75 msg_other: fires a disenchantment bolt. desc:Fires a disenchantment bolt that always hits its target. Sometimes a beam desc: is fired instead that hurts each monster in its path. The chance to get a desc: beam goes up with your character level. spell:Nether Ball:35:60:0:0:0 effect:BALL:NETHER:2 dice:$B expr:B:PLAYER_LEVEL:* 2 + 100 msg_other: fires a nether ball. desc:Shoots a radius-2 nether ball. spell:Darkness Storm:45:100:0:0:0 effect:BALL:DARK:3 dice:$B+10d10 expr:B:PLAYER_LEVEL:* 5 msg_other: invokes a darkness storm. desc:Shoots a radius-3 darkness ball.