Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 28, 2017, 16:41   #1
Sornil
Rookie
 
Join Date: Nov 2017
Posts: 1
Sornil is on a distinguished road
Exclamation bug with acid brand on aule

My great hammer Aule is only doing x2 weapon damage with its acid brand. The dissolve emote is chosen and x2 damage is dealt even when another slay is available, such as x3 for slay undead.

For example, and this is how I noticed it, I was dissolving a vampire lord for 85 per hit, and then I was smiting an undead beholder, which resists acid, for 103 per hit.

I haven't checked any other acid brand weapons to see if it is global.

I am playing the 4.1.0 release.
Sornil is offline   Reply With Quote
Old November 28, 2017, 21:07   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,705
Donated: $60
Nick is on a distinguished road
I will investigate.

EDIT: Confirmed. I'll look to see how widespread this is.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.

Last edited by Nick; November 28, 2017 at 21:14. Reason: problem verified
Nick is offline   Reply With Quote
Old November 29, 2017, 09:28   #3
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,146
PowerWyrm is on a distinguished road
Easy

Code:
static int melee_damage(struct object *obj, int b, int s)
{
	int dmg = damroll(obj->dd, obj->ds);

	if (s)
		dmg *= slays[s].multiplier;
	else if (b)
		dmg *= slays[b].multiplier;

	dmg += obj->to_d;

	return dmg;
}
Using "brand" for a brand should work better
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old November 29, 2017, 12:01   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,705
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
Easy

Code:
static int melee_damage(struct object *obj, int b, int s)
{
	int dmg = damroll(obj->dd, obj->ds);

	if (s)
		dmg *= slays[s].multiplier;
	else if (b)
		dmg *= slays[b].multiplier;

	dmg += obj->to_d;

	return dmg;
}
Using "brand" for a brand should work better
Wow, that must have been leading to all sorts of hilarity.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old November 29, 2017, 21:29   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,705
Donated: $60
Nick is on a distinguished road
In fact, the acid brand was the only one of the regular brands to be affected.

On the other hand, anyone with a randart with a "weak" poison, cold or fire brand was getting a x5 multiplier
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old November 30, 2017, 09:50   #6
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,146
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Nick View Post
In fact, the acid brand was the only one of the regular brands to be affected.

On the other hand, anyone with a randart with a "weak" poison, cold or fire brand was getting a x5 multiplier
Elec was affected too since it was remapped to the 2nd slay, which is slay animal (x2).
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old November 30, 2017, 11:27   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,705
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
Elec was affected too since it was remapped to the 2nd slay, which is slay animal (x2).
Actually no, because they're stored in reverse order, and there's one more slay than brand; so acid brand was using the slay animal multiplier.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick 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
can i brand the GoP? Sky Vanilla 7 November 25, 2016 16:18
Elemental brand spell in 4.5.0 -- why won't it work? gglibertine Vanilla 12 February 6, 2014 02:12
Elemental Brand vs cursed ammo? donalde Vanilla 1 August 29, 2012 21:58
Acid Issunrai Vanilla 12 June 27, 2012 16:12
Serious bug in nightlies. Artifacts vulnerable to acid Timo Pietilš Development 2 December 13, 2010 17:29


All times are GMT +1. The time now is 08:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.