![]() |
#1 |
Knight
Join Date: Mar 2015
Posts: 788
![]() |
![]()
In V variants (PWMA and Tangaria) we wanna add possibility to give certain races/classes negative MD, so stupid races and non-magical classes will have less chances of using MDs. Something like make it ~30% chance of success on using Staves of Speed instead of 90% which we got atm (38 lvl archer with 64 MD).
But it seems that MD formula is pretty complex, so it's hard to understand how negative MD could be implemented. Please help us to solve this puzze ![]() Thanks in advance!
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,771
Donated: $60
![]() |
There's a line for skill-device in each of p_race.txt and class.txt, and negative values are fine - half-trolls have a device skill of -8 in V, for example.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Mar 2015
Posts: 788
![]() |
yep.. but eg Hydra race (in T) with skill-device:-50 have 83% chance for success with cure light wounds staff.. as in character sheet (shift+C) hydra got 0 at MD. So it seems we need to change formula somehow
![]()
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#4 | |
Prophet
Join Date: Apr 2008
Posts: 2,859
![]() |
Quote:
A level 0 device would have fail = 15% and a level 40 device (like staff of speed) would have fail = 36%. There aren't many devices with higher level This formula always uses negative values for whatever reason and is outright bugged (rod of speed is level 95 and gives negative value of fail chance, which is translated to 1% fail chance). I think this needs to be simplified.
__________________
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! |
|
![]() |
![]() |
![]() |
#5 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,771
Donated: $60
![]() |
Ah, I thought you were talking about input values.
Agreed, that formula is obscure and outdated (looks like there weren't any level 95 devices when it was written). Also there's the Code:
/* TODO: maybe use something a little less convoluted? */ I'll mark this as to fix for 4.2, but it probably won't make 4.2.2.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.2.0 negative burden bug? | Bogatyr | Vanilla | 3 | August 24, 2019 10:21 |
3.4.1 negative mana display | scud | Vanilla | 4 | June 29, 2013 23:25 |
Having negative AC | Scraper | Vanilla | 6 | October 22, 2011 17:05 |
Uncursed negative Magical Bonuses | Cauldron | Vanilla | 8 | May 17, 2009 10:56 |
V3.0.9 Negative gold? | Dragonboneman | Vanilla | 7 | February 2, 2008 14:10 |