Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Wand failure rates rising (http://angband.oook.cz/forum/showthread.php?t=10488)

bughunter December 29, 2020 22:19

Wand failure rates rising
 
1 Attachment(s)
I noticed that my wand failure rate has gone up from 5% to 6% for most -

What would cause this? My stats are all maxed out except for Con.

I confirmed that it's not encumbrance.

Filedump attached. Edited to meet filesize limit. (Character name NSFW)

Monkey Face December 30, 2020 01:15

Are you stunned? I know that hurts spell failure rate. Not sure about wand failure rate.

DavidMedley December 30, 2020 17:51

Good point... Lots of status effects hurt your device skill.

wobbly December 30, 2020 18:14

Quote:

Originally Posted by DavidMedley (Post 150359)
Good point... Lots of status effects hurt your device skill.

witness the insanity:

} else if (player_timed_grade_eq(p, TMD_FOOD, "Weak")) {
int badness = 15 - (player->timed[TMD_FOOD] * 10) / PY_FOOD_WEAK;
state->to_h -= badness;
state->to_d -= badness;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 9 / 10;

} else if (player_timed_grade_eq(p, TMD_FOOD, "Faint")) {
int badness = 20 - (player->timed[TMD_FOOD] * 10) / PY_FOOD_FAINT;
state->to_h -= badness;
state->to_d -= badness;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 8 / 10;

} else if (player_timed_grade_eq(p, TMD_FOOD, "Starving")) {
int badness = 28 - (player->timed[TMD_FOOD] * 10) / PY_FOOD_STARVE;
state->to_h -= badness;
state->to_d -= badness;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 7 / 10;

if (player_timed_grade_eq(p, TMD_STUN, "Heavy Stun")) {
state->to_h -= 20;
state->to_d -= 20;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 8 / 10;
} else if (player_timed_grade_eq(p, TMD_STUN, "Stun")) {
state->to_h -= 5;
state->to_d -= 5;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 9 / 10;
}

if (p->timed[TMD_BLESSED]) {
state->to_a += 5;
state->to_h += 10;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 105 / 100;
}

if (p->timed[TMD_HERO]) {
of_on(state->flags, OF_PROT_FEAR);
state->to_h += 12;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 105 / 100;
}

if (p->timed[TMD_SHERO]) {
of_on(state->flags, OF_PROT_FEAR);
state->to_h += 24;
state->to_a -= 10;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 9 / 10;
}

if (p->timed[TMD_CONFUSED]) {
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 75 / 100;
}
if (p->timed[TMD_AMNESIA]) {
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 8 / 10;
}
if (p->timed[TMD_POISONED]) {
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 95 / 100;
}
if (p->timed[TMD_IMAGE]) {
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 8 / 10;
}

if (of_has(state->flags, OF_AFRAID)) {
state->to_h -= 20;
state->to_a += 8;
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 95 / 100;
}

bughunter December 30, 2020 19:24

Hmm... it's none of those except possibly Amnesia. Bumblef*ck got hit by an Amnesia effect a couple of levels ago. Assumed I cleared it but perhaps not entirely.

Going from 5% fail on -Annhililation to 7% makes a noticeable difference in combat vs high level uniques.

Haven't popped up to town in quite some time, I guess it's time to go take a hit off of a _Curing.

bughunter December 30, 2020 19:59

Quote:

Originally Posted by wobbly (Post 150360)
if (p->timed[TMD_AMNESIA]) {
state->skills[SKILL_DEVICE] = state->skills[SKILL_DEVICE] * 8 / 10;
}

That was it... Bumblef*ck came across a _Holiness. Cured that right up.

Need the ProtEvil anyway. Druj suck. Dreadlords come in close second. And there seems to be at least one pit of them on every level down here.

Thanks, wobbly :)


All times are GMT +1. The time now is 03:57.

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