NetHack Patch Database v0.27

323 patches

Wizard Staff

NameWizard Staff v0.2
Rating80%
AuthorAndré Bertelli
ForNetHack 3.4.2
DescriptionAdds a new item, wizard staff, that can be used to store energy and release it later, when the player has no more energy to cast a spell.
 Wizard staff: +0 to-hit, 6 sdam, 5 ldam, material: wood

When wielded and (a)pplied, a wizard staff absorbs some energy from the player and stores it, up to a maximum of 500 stored energy. Then, when the player casts a spell that requires more energy than the available, and (s)he is wielding the staff, it releases some of its stored energy (just enough to cast the spell). So, they can be used by wizards and spellcasters as containers of energy.
When used as a melee weapon, the staff adds min(obj->spe,0)+1 of damage, and wastes the same number of the stored energy. E.g. a wizard staff at +0 would add 1 point of damage and waste 1 MP; a +5 staff would add 6 points of damage and wasting 6 MP. Negative enchantments works as if at +0.

The energy stored in the staff is very unstable, and one needs to wields the staff continually to avoid energy loss. Since it would be very tricky to check every turn for the staff being wielded/unwielded, so this is done as following: each time one of the following occurs

* The staff is (a)pplied;
* The additional damage is calculated (that is, the staff is used to bash a monster);
* Some energy is liberated from the staff to cast a spell;

then is checked how much time passed since one of this actions occured; if the time passed is greater than 300-(enchantment without signal * 50) then some of the energy is lost: (enchantment without signal+1 * 10)% of the amount stored. The player senses that some energy was lost if he has intelligence above 10.

The amount of energy absorbed each time is also dependent of the enchantment level.
Downloadhttp://bertelli.name/stuffs/nethack-slashem/wstaff-nh342.patch (4.7 Kb)
AddedJune 04, 2006 23:38
ChangedJanuary 20, 2007 16:27
Submit an update to this patch

2 Comments

3MalcolmOctober 08, 2006 05:18
Interesting idea, but it would seem that using the staff as an energy store for spells is in conflict with the idea of using it for battle. Any energy stored is bound to be used up by the time you come to cast a spell.

Also having to continually 'top up' the staff would get tiresome, I imagine. I don't see the point in the 'energy loss' feature at all. Is there a good gameplay reason to force the wizard to wield the staff all the time?[Quote]
5Og01August 21, 2006 17:34
Not tryed this but sounds good, might make some wizards actually use quartstaff style weapons[Quote]

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
Commentrequired
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents a weapon?