Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 20, 2019, 20:27   #1
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
FAST_SHOT, spell_weight

Can anyone please enlighten me what:

(1) FAST_SHOT does (Rangers)? (class.txt)
The EXTRA_SHOT flag gave you a 2nd (3rd) shot per turn in 4.1.3.

(2) spell_weight parameter does?
It is the 2nd 'magic' paramater in the class descriptions in class.txt

Thanks!
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 20, 2019, 20:43   #2
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,105
wobbly is on a distinguished road
Quote:
Originally Posted by Tibarius View Post
Can anyone please enlighten me what:

(1) FAST_SHOT does (Rangers)? (class.txt)
The EXTRA_SHOT flag gave you a 2nd (3rd) shot per turn in 4.1.3.
Code:
/* Apply special flags */

		if (!state->heavy_shoot) {

			state->num_shots += extra_shots;

			state->ammo_mult += extra_might;

			if (player_has(p, PF_FAST_SHOT) && (state->ammo_tval == TV_ARROW)) {

				state->num_shots += p->lev / 3;

			}
These "extra shots" are actually .1 shots. At clvl 48, you get 1.6 extra shots. (level / 3) / 10

Quote:
Originally Posted by Tibarius View Post
(2) spell_weight parameter does?
It is the 2nd 'magic' paramater in the class descriptions in class.txt

Thanks!
Code:
# 'magic' is for general magic info - level of the first spell, weight that

# hurts spells, number of books used.
Code:
/* Determine the weight allowance */

	max_wgt = p->class->magic.spell_weight;



	/* Heavy armor penalizes mana */

	if (((cur_wgt - max_wgt) / 10) > 0) {

		/* Encumbered */

		state->cumber_armor = true;



		/* Reduce mana */

		msp -= ((cur_wgt - max_wgt) / 10);

	}



	/* Mana can never be negative */

	if (msp < 0) msp = 0;
It's the maximum armour weight before getting an encumbrance penalty for sps. In the mages case 30lbs (300).
wobbly is offline   Reply With Quote
Old October 20, 2019, 21:16   #3
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
thanks

Thanks ... that leads me to two other questions ...

(1) When is the flag heavy_shoot set?
(2) If rangers cannot enchant ammunition anymore - how was the damage balancing done versus 4.1.3?
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 20, 2019, 21:23   #4
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,105
wobbly is on a distinguished road
Heavy shot is when the launcher is too heavy for your str. Its somewhere in /src/playercalcs.c
The ! in the code snippet is a not. If not. A heavy launcher is always 1 shot, same with heavy wield in the melee.

For the 2nd bit Nick or someone else will have a better idea then I do. I think the general idea was rangers shooter damage was too high & it was nerfed. Some people agree, some people disagree.
wobbly is offline   Reply With Quote
Reply


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


All times are GMT +1. The time now is 20:36.


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