summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [2538766]: grammar when getting wield warnings on artefacts.haranp2009-01-271-1/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8813 c06c8d41-db1a-0410-9941-cceddc491573
* Rename Transmigration -> Transmutation.j-p-e-g2009-01-111-35/+35
| | | | | | | | Move randart spellbook tiles into subfolder /artefact, like for other artefacts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8415 c06c8d41-db1a-0410-9941-cceddc491573
* Adding REVISION() macro to all source files.ennewalker2009-01-041-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
* * Nerf Dwarfs' Evocations aptitude 45 -> 67 (as e.g. Grey Elf).j-p-e-g2008-12-291-82/+33
| | | | | | | | | * Correct Evoc aptitude listed in aptitudes.txt for High Elf. * List max charges for wands in their descriptions. * Mention waypoint number when creating waypoints. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8020 c06c8d41-db1a-0410-9941-cceddc491573
* Change one Divinations title from "Soothsayer" to "Clairvoyant", as one dolorous2008-11-191-1/+1
| | | | | | | of Nemelex's titles is "The Soothsayer". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7504 c06c8d41-db1a-0410-9941-cceddc491573
* Implement [2169326]: Put back some adjective skill titles.dolorous2008-11-021-9/+16
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7339 c06c8d41-db1a-0410-9941-cceddc491573
* Fix the skill toggle again.j-p-e-g2008-10-271-4/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7302 c06c8d41-db1a-0410-9941-cceddc491573
* * Properly deactivate shields during transformations.j-p-e-g2008-10-261-6/+5
| | | | | | | | | | | | * Fix a few transformation edge cases: make sure inappropriate equipment is removed when untransforming e.g. if the player was mutated during transformation or wielded a two-handed weapon. * Mention mulching in ammo descriptions. * Fix 2178374: Spell descriptions for items. * FR 2183104: Get rid of training toggle for skills at 27. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7301 c06c8d41-db1a-0410-9941-cceddc491573
* Tweaked Og aptitudes: now 180 for Axes, Maces and all magical skillsdploog2008-10-091-19/+19
| | | | | | | apart from Spellcasting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7204 c06c8d41-db1a-0410-9941-cceddc491573
* Lightweight rather than Littleweight. (eronarn)dploog2008-09-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7061 c06c8d41-db1a-0410-9941-cceddc491573
* Remove healing effect from blood potions. To make up for it, fresh bloodj-p-e-g2008-09-271-3/+10
| | | | | | | | | now has a greater nutrition (1500) compared to coagulated blood (1000, as before). Give Ogres the Spellcasting title of "Ogre-Mage". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7042 c06c8d41-db1a-0410-9941-cceddc491573
* Removed Ogre-Mages, hopefully without breaking anything. Docs are unchanged.haranp2008-09-251-70/+28
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6996 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-11/+0
| | | | | | | | | | into a file crawlhistory.txt in docs/obsolete. I used a perl script to do this under the assumption that all these change logs used the same system following the keyword "Change History". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
* Fix broken skill titles for certain skills such as Necromancy (bobbens).dshaligram2008-07-291-75/+127
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6716 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1870427: Max hp misreported if frail and rotted.j-p-e-g2008-07-061-37/+1
| | | | | | | | | | Fix 2002931: feature_item_brand not working No, it's not the important bugs, but at least these are bugs I can reproduce. :P git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6433 c06c8d41-db1a-0410-9941-cceddc491573
* Add spelling fixes.dolorous2008-07-061-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6418 c06c8d41-db1a-0410-9941-cceddc491573
* Update tutorial information for the 'm' and 'a' screens.j-p-e-g2008-06-191-3/+15
| | | | | | | | | Space allowing, differentiate between hydras with different numbers of heads in the monster list. (This is probably only interesting in the Swamp.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5993 c06c8d41-db1a-0410-9941-cceddc491573
* Outsource the tutorial descriptions of skills, and make them searchablej-p-e-g2008-06-181-16/+57
| | | | | | | | | | | | in the database. Apply Zaba's patch to view skills from the skill menu ('m'). The melee, ranged and magic skills currently only have really generic descriptions shamelessly copied from the tutorial. There's a front end function get_skill_description that appends extra information like what types of unarmed attacks the current character is capable of (kicking, clawing, punching, ...) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5955 c06c8d41-db1a-0410-9941-cceddc491573
* Add more miscellaneous minor fixes.dolorous2008-06-161-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5871 c06c8d41-db1a-0410-9941-cceddc491573
* Move the tutorial descriptions of gods' likes and dislikes intoj-p-e-g2008-06-151-1/+1
| | | | | | | | | | | | | | | functions of their own, and reuse them in the god descriptions ('^' screen, when praying at altars, and when searching the database). What's still missing is some sort of "What this god offers you". The current handling makes gods like Lugonu, who have no restrictions and demand very little, appear like no-brainers, when of course the whole thing is much more complicated. I'll also be adding some extended information for the ^ screen (thus for your own god only). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5870 c06c8d41-db1a-0410-9941-cceddc491573
* Cleaned up skill percentage calculation. Should fix 1929156.haranp2008-06-151-12/+12
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5842 c06c8d41-db1a-0410-9941-cceddc491573
* Change display of aptitudes (both !m and ?%) to true values: dploog2008-06-041-14/+0
| | | | | | | | | take the factors 13/10 (Spc) and 3/4 (Inv, Evo) into account. Hereby the group pressure on Haran is officially removed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5474 c06c8d41-db1a-0410-9941-cceddc491573
* Commit a few changes, mostly clean-up.j-p-e-g2008-06-011-17/+28
| | | | | | | | | | | | | * Modify tile_show_items setting in tutorial to (hopefully) show corpses again. * Change skill_exp_needed to use the level input rather than decreasing the passed in parameter, esp. when it was mostly called in the form skill_exp_needed(x + 1) anyway. I was trying to find out what went wrong in BR 1929156 but I can't work out the formula. :( git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5421 c06c8d41-db1a-0410-9941-cceddc491573
* Some spacing clean-up in the tutorial code (thanks for the additions,j-p-e-g2008-05-271-15/+9
| | | | | | | | Matthew!) and fix BR 1974056 (wrong colouring of tutorial skills information). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5293 c06c8d41-db1a-0410-9941-cceddc491573
* Modify skill titles j-p-e-g2008-05-261-68/+88
| | | | | | | | | | | | | | | | | | | * Replace the "Foo" in Foo Blade, Foo Porcupine, Foo Catapult, Foo Arbalest, Foo Ballista, and Foo Barricade with the capitalized genus (Elf, Orc, Draconian, ...) * Merry Foo, Foo of Death, Placeless Foo and Shapeless Foo still use the species name, though that's debatable, of course. * Marksfoo uses the lowercase genus name, in particular "ogre" for Ogre and Ogre-Mage, both. * Add "Plane Glider" as "Plane Foo" variant for Kenku. Clean up the skill title array a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5262 c06c8d41-db1a-0410-9941-cceddc491573
* Fix typo in skills.j-p-e-g2008-05-241-3/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5208 c06c8d41-db1a-0410-9941-cceddc491573
* Change skill titles as discussed in FR 1957095. There might have to be aj-p-e-g2008-05-241-40/+94
| | | | | | | second round tweaking them some more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5207 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up the non-stacking of Zin's divine boosts and the equivalent dolorous2008-05-151-5/+3
| | | | | | | mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5055 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2008-05-151-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5053 c06c8d41-db1a-0410-9941-cceddc491573
* Properly enforce the aforementioned limitation if the player gets the dolorous2008-05-091-3/+5
| | | | | | | robust mutation while divine robustness is in effect. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4949 c06c8d41-db1a-0410-9941-cceddc491573
* Don't allow divine robustness to stack with the robust mutation.dolorous2008-05-091-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4948 c06c8d41-db1a-0410-9941-cceddc491573
* To make Zin's Revitalisation less of a potion effect, consoliodate the dolorous2008-05-081-0/+1
| | | | | | | | | negative status removal effects into the first 3 steps, and add divine robustness as the last 3 steps (as it counteracts frailty, one of Xom's favored negative mutations). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4936 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank lines.dolorous2008-04-271-3/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4687 c06c8d41-db1a-0410-9941-cceddc491573
* Fix tiles compile (in a hacky way, since I don't know what the mp/hpj-p-e-g2008-04-181-1/+1
| | | | | | | | | | | | | | | | | bar change was really about). Modify mutations screen for Vampires to allow a toggle to a second page that lists all those resistances and stuff depending on their blood level. The screen (designed by David) is really neat, but the underlying could stand to be improved, and it might be too large, as well. Also restrict Sublimation of Blood to Vampires that are at least Full, and it also makes them a bit more thirsty (since they presumably lose blood when using it). Dispel Undead only does half damage to Vampires at Alive, and 66% damage at Full or Very Full. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4325 c06c8d41-db1a-0410-9941-cceddc491573
* Another modification of autotargetting submerged monsters, based offj-p-e-g2008-04-171-5/+5
| | | | | | | | | | | | | | | | BR 1935715. * Targeting a square with a known submerged monster ("strange disturbance" description) always enforces '!' rather than '.' * Submerged monsters only get targetted if there are no other more viable targets (dangerous monsters, really) in sight. The latter uses a heavily modified i_feel_safe() that now draws on get_playervisible_monsters(), which got numerous new parameters to cover all possibilities. :p git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4314 c06c8d41-db1a-0410-9941-cceddc491573
* Allow vampires to mutate when Satiated or higher, and make non-physicalj-p-e-g2008-04-151-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | mutations only apply at these hunger levels, too. Differentiated mutations into physical (affecting a character's appearance and stuff: scales, hooves, wings, ...) and internal (resistances etc.). I guess this is what people usually refer to as "cosmetic", which I think is an inaccurate description since it makes it sound like they were completely superficial and had no real effect. Here's a list of arbitrarily chosen "physical" mutations: * tough skin, all scales, and fur * strong/clever/agile, and weak/dopey/clumsy * deformed * strong but stiff, and flexible but weak * frail, and robust * claws, fangs, hooves, talons, and horns * stinger, wings * blue/green marks Mutations currently not applying are still listed on the 'A' screen, though in darkgrey and in (brackets). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4246 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak Vampires, part Ij-p-e-g2008-03-061-16/+16
| | | | | | | | | | | | | Better stats and aptitudes as suggested in David's post "The plan" Minor modifications to starving/hungry/full messages. Generally change Hungry to Thirsty, and Engorged to Alive. For now, the rest remains as for the other species. Yes, this is nowhere near as radical as David'd suggestions as those are confusing me immenseley, and I just can't code that way. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3526 c06c8d41-db1a-0410-9941-cceddc491573
* [FR 1816805] Implementing a new species/classes order on the characterj-p-e-g2008-03-021-86/+0
| | | | | | | | | | | | | | | | | | | | | selection screen This involved the following: * tentative clean-up of newgame.cc (an utter nightmare!) * throw out JOB_QUITTER and SP_UNKx_DRACONIAN as (as far as I can tell) they serve absolutely no purpose (Should they be necessary for scoring etc. it's probably better to put these at the end rather than the middle of the lists.) * breaks saves I'm quite happy with the new species order, but the order of jobs could be improved. Luckily, changing that is totally easy now. :) See newgame.cc for old vs. new orders. (And yes, there is an option to keep the old way.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3503 c06c8d41-db1a-0410-9941-cceddc491573
* Fix collision between gotoxy(int,int,int) and DOS djgpp gotoxy().dshaligram2008-01-251-5/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3337 c06c8d41-db1a-0410-9941-cceddc491573
* s/LONG_SWORDS/LONG_BLADES/ (cbus).dshaligram2008-01-101-38/+38
| | | | | | Use skill_name() to describe weapon skills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3239 c06c8d41-db1a-0410-9941-cceddc491573
* [1858820] Hill Orc Throwing aptitude changed: 130 -> 100.dshaligram2007-12-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3121 c06c8d41-db1a-0410-9941-cceddc491573
* Randarts can now be autoinscribed from the 'v' screen.haranp2007-12-051-170/+95
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2998 c06c8d41-db1a-0410-9941-cceddc491573
* Removed: safe_autopickup, safe_zero_exp, lowercase_invocations,haranp2007-11-161-4/+1
| | | | | | | | always_greet, terse_hand, increasing_skill_progress, use_notes, confirm_self_target. (default_autoprayer still exists.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2859 c06c8d41-db1a-0410-9941-cceddc491573
* Unarmed title is based on base, not modified, stats [1821727]haranp2007-10-301-2/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2694 c06c8d41-db1a-0410-9941-cceddc491573
* Transform fixes for trunk.dshaligram2007-10-281-14/+17
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2644 c06c8d41-db1a-0410-9941-cceddc491573
* Another mutation commit. Sorry, I couldn't resist.j-p-e-g2007-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm replacing the (stupid, I agree) "extra eyes" mutation with the more Crawlific "shaggy fur" mutation. It currently doesn't count towards the scales counter, but that could be changed. Also, maybe it could replace one of the scales with a similar AC bonus. Oh, and trolls start out with this at level 1 because I think it fits them. Adding the percentage bonus (rarity 1) and penalty (rarity 9) for mana. Maybe the bonus (+10%, +20%, +30%) should be abolished entirely as David suggested; for now I've left it as a mutation pair. As a third change I'm including the experimental sleepiness mutation that makes you randomly fall asleep. Being hit, loud noises and starving will make you wake up. Again, may break mutations of existing save files. --------------------------------- To answer David's question on balancing (or rather, make everything more complicated, I'm afraid) I've counted mutations in 0.3 and as of this commit, to compare them. Rarity influences the chance a mutation, once randomly chosen, will be considered acceptable, with a chance of rarity/10. Each round of trying to find an acceptable mutation there's a 1/1000 chance of just giving up. In brackets I will list the average probability of a good/bad mutation being chosen in a given round. (The difference to 100 is the chance of having to reroll.) in 0.3: 46 good mutations of average rarity 3.2 (23.72%) 12 bad mutations of average rarity 8 (15.47%) 4 in-between mutations of average rarity 7 (4.51%) (56.3% chance of rerolling) new: 48 good mutations of average rarity 3.1 (21.72%) 14 bad mutations of average rarity 7.6 (15.71%) 6 in-between mutations of average rarity 5 (4.41%) (58.16% chance of rerolling) By in-between mutations I mean ones with advantages and drawbacks, namely weak_flexible, strong_stiff, horns, hooves, talons and paws. (The last four are probably seen as mostly negative by a lot of players due to losing an equipment slot.) Because of the lower rarity of the new mutations (including drifting) the overall chance of _not_ receiving a mutation has slightly increased (1/1000 chance per reroll necessary). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2640 c06c8d41-db1a-0410-9941-cceddc491573
* Type safety and code cleanup.haranp2007-10-251-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2569 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed elven fighters getting Armour skill instead of Dodging. Fixed deep elf ↵dshaligram2007-10-021-1/+1
| | | | | | bow aptitude (Anym). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2297 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed bad species name (eg: deep elves with the bows title) in dump because ↵dshaligram2007-10-011-4/+4
| | | | | | of reuse of static buffers (Iaido). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2288 c06c8d41-db1a-0410-9941-cceddc491573
* This commit breaks save file compatability.zelgadis2007-09-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Lots of new things that amuse/stimulate Xom, and a few things which don't amuse him as much anymore. Among the new things is a corpse turning into a skeleton while butchering it; if this is too harsh to do just for Xom's amusement (previously turning into a skeleton while butchering was an ignored case and still produced chunks of flesh) it can be changed back. Also, if a Xom worshiper draws the Blank card, Xom makes it act like a Xom card, since a plain old Blank card is boring. Keep track of which branch the Orb is in, if the player isn't carrying it. Keep track of how/why the player ended up in a particular level type (Abyss, Pan, etc). Changed most "a distortion effect" cause strings for distortion caused tranlsocation miscast effects to something more specific. Added new wizard commands 'C' to curse or uncruse an item, and 'Ctrl-A' to re-generate the Abyss. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2256 c06c8d41-db1a-0410-9941-cceddc491573