Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 22, 2020, 14:13   #161
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,299
wobbly is on a distinguished road
Code:
void do_cmd_run(struct command *cmd)
{
	struct loc grid;
	int dir;

	/* Get arguments */
	if (cmd_get_direction(cmd, "direction", &dir, false) != CMD_OK)
		return;

	if (player_confuse_dir(player, &dir, true))
		return;
Code:
bool player_confuse_dir(struct player *p, int *dp, bool too)
{
	int dir = *dp;

	if (p->timed[TMD_CONFUSED])
		if ((dir == 5) || (randint0(100) < 75))
			/* Random direction */
			dir = ddd[randint0(8)];

	/* Running attempts always fail */
	if (too) {
		msg("You are too confused.");
		return true;
	}
pretty sure if player_confuse_dir will always return true if you tell it "too"

Edit:Yeah working in mine now. Will open a pull request

Edit2: I guess the "running attempts always fail" bit was literally true

Last edited by wobbly; March 22, 2020 at 14:47.
wobbly is offline   Reply With Quote
Old March 22, 2020, 20:23   #162
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,264
Donated: $60
Nick will become famous soon enough
Thanks, pulled, new builds will be up soon.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old March 25, 2020, 08:42   #163
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,299
wobbly is on a distinguished road
So how is innate + spell freq meant to work? If innate 3 & spell 4 is that:

1/3 + 2/3 * 1/4?
1/4 + 3/4 * 1/3?
4/12 + 3/12? ( 2 & 2 would be always here)
Something else?
wobbly is offline   Reply With Quote
Old March 25, 2020, 09:31   #164
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,264
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by wobbly View Post
So how is innate + spell freq meant to work? If innate 3 & spell 4 is that:

1/3 + 2/3 * 1/4?
1/4 + 3/4 * 1/3?
4/12 + 3/12? ( 2 & 2 would be always here)
Something else?
Spell is checked first, so your second one is right - 1/4 chance of a spell, then 1/3 * 3/4 of innate for a total of 1/2.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old March 27, 2020, 10:50   #165
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,753
PowerWyrm is on a distinguished road
https://github.com/draconisPW/PWMAngband/issues/103

Food depletes every turn when it shouldn't. Same error also in V code. This is because food counter was changed to a timed effect and is decremented like all others timed effects in decrease_timeouts().
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old March 27, 2020, 11:39   #166
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,264
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by PowerWyrm View Post
https://github.com/draconisPW/PWMAngband/issues/103

Food depletes every turn when it shouldn't. Same error also in V code. This is because food counter was changed to a timed effect and is decremented like all others timed effects in decrease_timeouts().
Thank you, I've felt like something was wrong here for a while (I suspect because people have been telling me).
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old March 28, 2020, 14:29   #167
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 877
fph is on a distinguished road
After magic has been reworked, I am sometimes confused about which stat is used for spellcasting by each class. Would it be possible to show it in the character creation screen? For instance "Learns nature magic [WIS]". It would be helpful also for new players.
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old March 28, 2020, 20:42   #168
DavidMedley
Knight
 
Join Date: Oct 2019
Posts: 618
DavidMedley is on a distinguished road
Speaking of which, what if we moved Druids to INT? I know this breaks with some traditions, but the race/ class combos for Druids are also breaking tradition. Would it then be 5 INT and 3 WIS casters? I don't see Blackguards as especially wise, but I don't see them as especially smart, either. Could swap them to WIS and the race combos might improve for both classes. This would disrupt some other things as well, but I think it's worth considering.
DavidMedley is offline   Reply With Quote
Old March 28, 2020, 21:53   #169
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,264
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by DavidMedley View Post
Speaking of which, what if we moved Druids to INT? I know this breaks with some traditions, but the race/ class combos for Druids are also breaking tradition. Would it then be 5 INT and 3 WIS casters? I don't see Blackguards as especially wise, but I don't see them as especially smart, either. Could swap them to WIS and the race combos might improve for both classes. This would disrupt some other things as well, but I think it's worth considering.
The philosophy of the current class model (short version) is that there is an original design of Middle Earth and its inhabitants, and traditional knowledge (WIS) emphasises sticking to that. Then there is thinking you're smarter than that (INT), which can be done by changing the world to suit you or perverting the entire scheme of intelligent life. So we get two sets of opposing realms - nature vs arcane on the tech axis, and holy vs shadow on the morality axis.

Even shorter version - no thanks
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old March 28, 2020, 22:23   #170
DavidMedley
Knight
 
Join Date: Oct 2019
Posts: 618
DavidMedley is on a distinguished road
What about dropping normal elves a couple points of INT and raising a couple points of WIS?
DavidMedley 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Current master post-4.1.3 Nick Vanilla 505 June 16, 2019 00:26
Suggestion for Rangers (repost from master-post thread) Thraalbee Vanilla 1 April 13, 2019 18:08
Issues on current master Nick Vanilla 277 June 18, 2017 22:30
Bugs and complaints on current master Nick Vanilla 588 April 27, 2017 22:54
Master Thief Grotug Idle chatter 1 March 26, 2017 23:54


All times are GMT +1. The time now is 04:53.


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