Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old January 13, 2018, 05:47   #11
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,950
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by kaypy View Post
If nothing has changed in the meantime, tap device gets 1.5x more energy from wands than staffs. I would have thought this should be the other way around?

Code:
	if (tval_is_staff(obj)) {
		energy = (5 + lev) * obj->pval;
		item = "staff";
	} else if (tval_is_wand(obj)) {
		energy = (5 + lev) * 3 * obj->pval / 2;
		item = "wand";
	}
I stole this from Oangband, where staffs have noticeably more charges than wands. On looking at the actual values in V, I might just make them both the higher value.

Thanks everyone for the continued feedback in this thread - I will answer some more stuff another time, and hope to get a new build out in the next day or so.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm considering making a new Sil branch Quirk Sil 46 October 19, 2017 18:27
Trap/door feature branch Nick Vanilla 220 November 15, 2016 08:56
Curses feature branch Nick Vanilla 153 November 14, 2016 20:09
svn branch Pete Mack Vanilla 55 August 16, 2010 10:28
feature request: display magic item failure rates bebo Vanilla 5 February 12, 2009 20:35


All times are GMT +1. The time now is 02:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.