![]() |
#1 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
device activation
So I fixed a divide-by-zero crash that I encountered on device activation.
I also changed the max fail rate from 95% down to 75% on devices. I figure that's still hard enough that it isn't making things too easy, but it reduces the number of times an activated ability is completely useless. This is particularly apparent with DSM. Changes are both available in r1984. |
![]() |
![]() |
![]() |
#2 | |
Angband Devteam member
|
Quote:
The change to max fail is minor and presumably benefits only warriors and very low INT priests or paladins. I suppose it will help all classes with very early finds of nice activatables. P.S. I notice your comment about using something a little less convoluted for the failure rate - it took me months to get to that formula! Please see http://www.terminalarrogance.com/devices.xls for all the working and the desired bounds. The challenge is to get a formula that makes the skill meaningful without either gimping warriors or making life too easy for magi. The alternative was to edit tables.c and completely re-do the skill range and INT mods - which I would have done if I hadn't hit on this formula. But happy to see it improved, as always! Last edited by Magnate; July 4, 2010 at 10:23. |
|
![]() |
![]() |
![]() |
#3 |
Knight
|
From looking at the changelogs, looks like it crashed when the device's level was exactly 90 points higher than the player's skill, 90 being the difference between the diff_max and skill_min variables... Looks like someone got extra lucky early on in finding a device!
__________________
You read the scroll labeled NOBIMUS UPSCOTI... You are surrounded by a stasis field! The tengu tries to teleport, but fails! |
![]() |
![]() |
![]() |
#4 | |
Angband Devteam member
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Quote:
![]() |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Angband on mobile device | Mark | Vanilla | 7 | June 16, 2010 16:37 |
New magic device algorithm in nightlies | Magnate | Vanilla | 10 | December 8, 2009 14:44 |
Roguelike keyset: device use oddity | Donald Jonker | Vanilla | 11 | May 16, 2009 17:25 |
A few minor typos in artifact activation | bron | Vanilla | 1 | March 27, 2009 22:01 |
Magic Device failure rates | Inquisitivephysicsguy | Vanilla | 12 | October 16, 2008 00:59 |