summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add formatting fixes.David Lawrence Ramsey2009-11-211-2/+2
| | | | This mostly puts && and || on the proper lines, per the style guide.
* give the "passes through" message for penetration on initial hitJesse Luehrs2009-11-211-6/+3
|
* Move silenced(pos) to areas.cc.Robert Vollmert2009-11-211-0/+1
|
* Fix typo.David Lawrence Ramsey2009-11-201-1/+1
|
* Make shields not delay slings.Eino Keskitalo2009-11-201-0/+2
| | | | | | Slings are now HANDS_ONE (instead of HANDS_HALF like blowguns and hand crossbows), and made the delay for such ranged weapons in launcher_shield_slowdown to be 100. Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* Make mulching of branded ammunition multiplicative.David Ploog2009-11-201-4/+4
| | | | | For now, it's double for fire and frost (removed the distinction at least for the time being) and quadrupled for reaping.
* ammo mulch changesjohnny shelley2009-11-201-0/+9
| | | | | | | | | | fire / frost / electric / reaping are not auto mulch flame has chance to save reduced by 2 frost has chance to save reduced by 1 reaping has chance to save reduced by 3 electric has standard chance as it only procs 1 in 3 added was_missile to beam properties in order to not auto mulch other beam types than BEAM_MISSILE Signed-off-by: Matthew Cline <zelgadis@sourceforge.net>
* remove redundant 'charged' when firing electric arrowsjohnny shelley2009-11-201-1/+1
| | | | Signed-off-by: Matthew Cline <zelgadis@sourceforge.net>
* Properly mark blessed whips as TSO gifts (Scourges instead of Blades).David Lawrence Ramsey2009-11-191-2/+2
|
* portal projectile was duping returning ammo - fixed.johnny shelley2009-11-201-1/+1
|
* call affect_endpoint in order to generate explosions when using portal ↵johnny shelley2009-11-201-0/+1
| | | | projectile
* Make confusion actually confuse ranged weapon users.johnny shelley2009-11-191-7/+3
|
* Flatten header dependencies a bit.Robert Vollmert2009-11-171-0/+1
| | | | | | This removes a couple of unnecessary includes from header files. I may have missed adding some tiles includes.
* Move tutorial state out of Options.Robert Vollmert2009-11-161-4/+4
|
* On second thought abstract increasing/setting durations a little.Charles Otto2009-11-151-2/+1
| | | | Add (and use) player methods for setting/increasing durations.
* Delay adjustment for lowered MR and jivya's slimifyCharles Otto2009-11-151-1/+1
|
* Fix a few whitespace errors.Adam Borowski2009-11-151-3/+3
|
* Returning ammo + launchers works now The relative skill is checked depending ↵johnny shelley2009-11-151-0/+28
| | | | on what launcher was used. Yes, i know returning needles is silly, but someone will probably try it
* Merge Johnny Shelley's arcane marksman patchStefan O'Rear2009-11-151-3/+1
|\
| * Fix a bad assertion when throwing something with a non-weapon wielded.Adam Borowski2009-11-141-3/+1
| |
* | Warper Overhaul - Renamed to Arcane Marksmanjohnny shelley2009-11-141-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missile Changes -- electricity missiles are now an option - they are always destroyed reaping / dispersal ammo is now always destroyed as it can be created by players poison ammo can again affect rocks / bullets etc - still no nets. Apparently this is a contact poison, but mainly it's to close the gap between sling users and archers. SKILLS -- Ranged weapon 3 Dodging 2 Spellcasting 2 Enchantments OR Translocations 3 EQUIPMENT -- Robe Ration Scroll of blink Some ranged weapon options as Hunter No melee weapon! Either book of elemental missiles or warped missiles The book of Elemental Missiles Spells Type Level a - Corona Enchantment 1 b - Swiftness Enchantment/Air 2 c - Repel Missiles Enchantment/Air 2 d - Flame Ammunition Enchantment/Fire 3 e - Frost Ammunition Enchantment/Ice 3 f - Poison Ammunition Enchantment/Poison 4 The book of Warped Missiles Spells Type Level a - Apportation Translocation 1 b - Portal Projectile Translocation 2 c - Repel Missiles Enchantment/Air 2 d - Blink Translocation 2 e - Returning Ammunition Enchantment/Translocation 3 f - Warp Ammunition Enchantment/Translocation 5 The book of Devastating Missiles Spells Type Level a - Poison Ammunition Enchantment/Poison 4 b - Warp Ammunition Enchantment/Translocation 5 c - Shocking Ammunition Enchantment/Air 5 d - Haste Enchantment 6 e - Deflect Missiles Enchantment/Air 6 f - Exploding Ammunition Enchantment/Fire/Air 7 g - Reaping Ammunition Enchantment/Necromancy 7 Signed-off-by: Stefan O'Rear <stefanor@cox.net>
* Implement monster swiftness, and give it to GastronokStefan O'Rear2009-11-121-0/+1
|
* Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-3/+3
| | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.Jude Brown2009-11-121-1/+1
|
* Electricity discharge through water when hit by a charged projectile.Adam Borowski2009-11-121-2/+23
| | | | | | This also makes the order of hit_funcs vs range_funcs consistent. The latter were usually called first, but not always -- contrary to what one would expect. I made hit_funcs go first in all cases.
* Crossbows of shocking, for everyone. Launchers of holy wrath, for dpeg's ↵Adam Borowski2009-11-121-1/+54
| | | | | | | | | | angels. Neither cause additional mulching of ammo, since both the charge and blessing is temporary. Blessing and reaping cancel each other. Holy wrath launchers are a lot weaker than silver ammo, but these two stack. Plus, they're permanent while ammo is scarce.
* Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-2/+2
| | | | | I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything.
* Improve wielding messages for unholy weapons and good gods, and forDavid Lawrence Ramsey2009-11-111-0/+4
| | | | hasty weapons and Cheibriados.
* Replace actor::is_unholy() with actor::undead_or_demonic().David Lawrence Ramsey2009-11-101-2/+2
|
* For consistency, make torment set the necromancy conduct.David Lawrence Ramsey2009-11-101-2/+2
|
* Remove trailing whitespace.David Lawrence Ramsey2009-11-101-1/+1
|
* Remove a few obsolete includes.Robert Vollmert2009-11-101-1/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-1/+1
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Replace mons_wont_attack with monsters::wont_attack.Vsevolod Kozlov2009-11-091-1/+1
|
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-1/+2
| | | | | | | | map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.
* Patch to satisfy FR 2892713. Hunger on wielding VAMP weaponsBrendan Hickey2009-11-081-3/+3
| | | | | | They are now wieldable by mummies and ghouls, but no healing effect. Vampires get nourished per hit. Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Different launchers make different amount of noiseMatthew Cline2009-11-071-4/+56
|
* Properly ID vamp weapons on wield failureStefan O'Rear2009-11-071-2/+13
|
* Add major cosmetic fixesStefan O'Rear2009-11-071-8/+12
|
* Vampiricism tweaks per FR#2892713Stefan O'Rear2009-11-071-4/+21
|
* Replace player_weapon with player::weapon.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Replace player_shield with player::shield.Vsevolod Kozlov2009-11-071-6/+6
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Rename purple smoke to clouds of translocational energyStefan O'Rear2009-11-061-2/+2
|
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-10/+10
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-5/+5
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Replace uses of player_is_swimming with you.swimming.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Replace uses of player_is_airborne with you.airborne.Vsevolod Kozlov2009-11-051-2/+2
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Combine player_knows_spell, player_has_spell into player::has_spell.Vsevolod Kozlov2009-11-051-4/+4
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Split up view.cc.Robert Vollmert2009-11-041-1/+4
|