summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-wanderer.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rebalance crossbowsNicholas Feinberg2014-07-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | Again as a result of the ranged weapons rebalance, crossbows needed to change. The analogy here is long blades' to bows' m&f; better return on skill investment & a higher power cap, but rarer. Hand crossbows are added as a starting type, "something like an armour-piercing dagger"; crossbows are upgraded to arbalests (a little worse than a glaive), and a new rare triple crossbow type is added on the top end (a little worse than a bardiche, though with a lower skill cost.) Please note that the triple crossbow historically existed & is extremely verisimilitudinous. Hellfire is now an arbalest, and Sniper is now a triple crossbow (well, a "heavy crossbow", since it has mindelay of 27 instead of 22, and since I didn't want to have to change the sprite). All crossbows have a mindelay of at least 1.0; this is an attempt to differentiate them. Possibly something more ambitious will be attempted in 1.6, but this is a first step.
* Don't start wanderers with forbidden spells memorized (#8748).Shmuale Mark2014-06-301-1/+3
|
* Plus2: Make weapons only generate with one plusChris Oelmueller2014-06-141-2/+0
| | | | [Committer's note: Merged a few commits into this.]
* Chance function(void) to function()reaverb2014-05-241-1/+1
|
* Rename "bow" to "shortbow"Chris Oelmueller2014-05-051-2/+2
| | | | For a clear distinction of "bows" the skill, and from "longbow" the weapon.
* Wanderer starting kit tweaks.Corin Buchanan-Howland2014-05-051-48/+95
| | | | | | | | | | | | | Improving wanderer starting kits by: * Removing invocations starting skill * Setting all weapons to +2. * Improving Armour/Dodging/Stealth Good starting items. * Giving consumables for Decent starting item options that previously lacked them. * Fixing a bug that involved having multiples of a consumable in multiple slots. (Committer's note: refactored consumable granting code to be cleaner.)
* Fix wanderers getting more MP than other backgrounds.elliptic2014-04-211-8/+0
| | | | | Apparently this was overlooked when the other background-specific MP was removed.
* Potion of speed => Potion of hastereaver2014-03-101-1/+1
| | | | | | Changes everything, including vaults, the enum (now POT_HASTE) and the .txt files in /dat/descript (things like hints.txt and foreign language description files).
* Remove pre-identification of unpossessed scrolls/potions by Ar/Wn.elliptic2014-03-091-27/+2
| | | | | | | | | | | | | | This behavior is confusing and of very little importance, and these were the only two offenders. Ar doesn't get anything in compensation for not having ?recharging IDed. There was some talk in IRC of actually giving it one at start (and removing charges from the wands as compensation), which I guess would work if the wands are sufficiently fully charged still that startscumming for the turn 1 recharge would be bad. For Wn, preIDing was replaced by receiving an extra scroll/potion in one case, and replaced by nothing in the other case.
* Don't allocate pointless iterators.Adam Borowski2013-11-151-2/+2
| | | | | map or set.count() can test the presence of a given key and return 0 or 1 outright.
* Prevent wanderers from wielding 2h + shield.pubby2013-08-251-17/+13
| | | | | | Added a few checks to newgame_make_item to prevent this. I only did the minimum required to prevent this bug - it could reappear if exotic wanderer items are added.
* Fix wanderers being able to start with the book of War Chants (|amethyst)Chris Campbell2013-08-071-1/+1
| | | | Give them the book of Battle instead.
* Refactor.Neil Moore2013-08-041-8/+3
|
* Enable autopickup for wanderer starting ammo (#7429).Neil Moore2013-08-041-0/+9
|
* Don't give wanderers the Traps skill.Adam Borowski2013-07-171-7/+5
| | | | It was used in a number of places as a fallback.
* s/armor/armour/ in a bunch of cases.Adam Borowski2013-05-211-2/+2
| | | | | I'm leaving book quotes as-is, although at least one purported use of "armor" by a Scottish author is rather suspicious.
* Rename Summon Small Mammals to Summon Small MammalChris Campbell2013-05-061-1/+1
| | | | | And make it only ever summon one monster per cast. As a level one spell it doesn't really need to suddenly double in efficiency at max power.
* The Stabbing skill went to a dark alley, and, you know...Adam Borowski2013-04-011-6/+4
| | | | | | | | | | | | Per one of proposals, its effect is now an average of the weapon skill and Stealth. Stabbing tiers remain as before: * daggers * other short blades * long blades, spears, small club * other stuff Let's see how this works. We can always change the formulas, and at least the skill is gone.
* Adjust wanderer starting books.elliptic2013-01-281-31/+4
| | | | | Conjurations book no longer has anything to do with Ice or Air skill, and Minor Magic never had much to do with Fire skill.
* Merge branch 'glasnost'Adam Borowski2012-09-031-6/+6
|\
| * Merge branch 'master' into glasnostAdam Borowski2012-08-311-6/+3
| |\ | | | | | | | | | Yay for conflicts galore (wax removal, std:: purge, tileidx changes).
| * | Traps&Doors -> Traps.Adam Borowski2012-07-111-6/+6
| | | | | | | | | | | | | | | The only relevant use left, silently opening doors, is now 100% Stealth (and DEX), rather than 50% Stealth 50% T&D.
* | | Remove generation of "staff" items.elliptic2012-09-021-1/+1
| |/ |/| | | | | | | | | | | | | | | Nobody ever wanted to use one, and the distinction between club/staff/quarterstaff didn't make much sense. Artificers now start with a short sword instead, the same as hunters. WPN_STAFF is still present in the code to provide the weapon stats for magical staves.
* | Use std namespace.Raphael Langella2012-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* | Remove Evaporate and Fulsome Distillation, and the book of StalkingChris Campbell2012-08-201-4/+1
|/ | | | | | | | Mephitic, poison and miasma clouds from a level 2 spell just isn't balanced at all (compare to Poisonous Cloud, a very strong spell at level 6). Fulsome makes the first two of these completely unlimited in practice, and miasma is absurdly strong even with decay corpses being rarer.
* Some more return deparenthesization.Adam Borowski2012-07-051-1/+1
|
* Remove parentheses around return (simple_function_call).Adam Borowski2012-07-051-1/+1
| | | | For way too paranoid and underinclusive values of "simple".
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-6/+6
|
* Use ARRAYSZ() instead of sizeof division, for readability.Adam Borowski2012-06-191-6/+6
| | | | Also, it's not vulnerable to changes to the underlying types.
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Rename BOOK_CONJURATIONS_II to BOOK_CONJURATIONS.Adam Borowski2012-04-251-3/+3
|
* Correct comments: Wanderers never start with striking anymore.Samuel Bronson2011-12-021-2/+2
|
* Consistently use a space after flow control statements.Adam Borowski2011-12-021-4/+4
|
* Convert FeWn with invalid weapon skills to unarmed.Adam Borowski2011-11-301-0/+5
|
* Fix up !healing -> curing in a few comments etc.Neil Moore2011-10-211-6/+6
|
* Rename potion of healing to potion of curing.Neil Moore2011-10-211-1/+1
|
* Don't give Tmut wanderers a pure Earth spell.Adam Borowski2011-10-121-1/+1
|
* Tweak random evokables for wanderers to match artificer changes better.David Lawrence Ramsey2011-09-111-7/+5
| | | | | | They still can get wands that the new artificers can't, but they only get one, which the new artificers don't, and no one gets the rod of striking anymore.
* Give gladiators the option of starting with a quarterstaff (and no buckler).elliptic2011-09-091-1/+1
| | | | | Fighters don't get this because they are much more focused on shield usage, and the flavor seems a bit better for gladiators anyway.
* Don't use SK_POISON_MAGIC in loops as "last magic school".Adam Borowski2011-08-311-3/+3
|
* Remove unneeded blank line.David Lawrence Ramsey2011-06-231-1/+0
|
* Remove the Conjurer book choice.elliptic2011-06-201-9/+15
| | | | | | | | | | | This is another move towards simplifying the startup procedure; now you never need to choose a book (and the book menu code has been gutted). The Fire/Earth book was the one removed, because it had become far too similar to the Book of Flames; the Ice/Air book gives much more unique gameplay. One possibility for addressing the slight imbalance this creates between Ice/Air and Fire/Earth would be to bring back Reaver with a Fire/Earth-themed book.
* Store only modifiers to hp/mp rather than the whole value.Adam Borowski2011-05-261-1/+1
| | | | Also, get rid of that ridiculous +5000.
* Untie {inc,set}_{m,h}p() from {inc,set}_max_{m,h}p().Adam Borowski2011-05-261-1/+1
| | | | | Random increases to max when using healing effects is long gone, and this muddles the code.
* Fix wanderers getting only crap weapons.Raphael Langella2011-04-291-1/+1
| | | | Bug introduced by cff50aae.
* Removed knives from the game.Gustaf Hallberg2011-04-291-1/+1
| | | | Updated some stuff on implicit butchering.
* Drop _I from BOOK_MINOR_MAGIC_I, as other variants are gone.Adam Borowski2011-02-251-4/+4
|
* Consolidate the books of Minor Magic into a single bookChris Campbell2011-02-191-29/+9
| | | | | | Wizards always start with this new book of Minor Magic, containing: Magic Dart, Throw Flame, Blink, Call Imp, Repel Missiles, Slow, Mephitic Cloud.
* Let wanderers start with falchions, as they're now available starting weapons.David Lawrence Ramsey2011-02-061-4/+12
|
* Don't give Wanderers with Conj/Poison skill the new book of StalkingMarvintheParanoidAndroid2011-02-051-15/+6
| | | | Add it as an option for wanderers with Tmut skill, though.