Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 30, 2009, 22:00   #1
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
d_m is on a distinguished road
danger level in monster descriptions?

In another thread Eddie commented that breath damage should be visible in monster descriptions. I'm ambivalent on that point, but it gave me a different idea.

What if a more general assessment of the monster's danger is used (sort of like, "a kill of this creature is worth __ xp to a __th level character")?

I could imagine the following categories:

1. could kill player in 1 round (potential instant kill)
2. could kill player in 2 rounds (giving the player one round to respond)
3. could kill the player in 3-4 rounds
4. default

In this case rounds would be measured as the space between a player acting and getting another chance to act. Thus, it would take into account player and monster speed. For accuracy I would also take resistances into account. I might use the following descriptors:

1. "As you gaze upon __, you sense your imminent doom."
2. "Viewing __, you feel you are in mortal danger"
3. "You sense that __ is dangerous"
4. (nothing)

Anyway, those are just thrown together. I think the thing I like about this is that it is a way for beginners to get a (limited) clue of how dangerous something is without actually reading spoilers or seeing game mechanics.

What do you all think? I would be happy to implement this feature if people thought it would be useful.
d_m is offline   Reply With Quote
Old March 30, 2009, 22:13   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,079
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Nice idea. I like it. I can think of two ways to do it:

1. The obvious way - base it on the monster's most damaging attack

2. Just use the monster's power rating, which takes into account all its attacks and other abilities

The latter seems more intuitive, since the player's character wouldn't necessarily know what the most damaging attack was, and it fits better with the general vagueness of the original idea. It's also a lot quicker, as monster power is calculated at the start of the game and can just be compared directly against (something - clev? max hp? current hp?). AFAIK there exists no function to obtain the monster's most damaging attack.

CC
Magnate is offline   Reply With Quote
Old March 30, 2009, 22:18   #3
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
d_m is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Nice idea. I like it. I can think of two ways to do it:

1. The obvious way - base it on the monster's most damaging attack

2. Just use the monster's power rating, which takes into account all its attacks and other abilities

The latter seems more intuitive, since the player's character wouldn't necessarily know what the most damaging attack was, and it fits better with the general vagueness of the original idea. It's also a lot quicker, as monster power is calculated at the start of the game and can just be compared directly against (something - clev? max hp? current hp?). AFAIK there exists no function to obtain the monster's most damaging attack.

CC
I had assumed that it wouldn't be that hard to iterate over all the monster's possible attacks, calculate max damage, and then take the max of that. But it might be the case that monster power is a better indicator (and/or that it actually *is* hard to determine max dmg for monsters).

The big difference between the two features has to do with resistance holes. If I have a pretty high level warrior lacking rPoison and I meet a greater basilisk for the first time, option #2 indicates that maybe I can take him, while option #1 would probably indicate running like hell.

Which of those outcomes one prefers probably depends on one's temperment.

Anyway, I will take a look at the damage calculation code again to see how hard it would be to figure out max damage for an attack; I will also try to figure out how to usefully correlate character power and monster power.
d_m is offline   Reply With Quote
Old March 31, 2009, 01:08   #4
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
It's just a feeling, presumably based on experience. So at low level it should be somewhat, possibly wildly inaccurate. At higher levels, probably unnecessary, and certainly hard to calculate.

Or you could base it on the monster memory of fallen ancestors, which, while likely less accurate would certainly be easier.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old March 31, 2009, 05:28   #5
Rizwan
Swordsman
 
Join Date: Jun 2007
Posts: 292
Rizwan is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
It's just a feeling, presumably based on experience. So at low level it should be somewhat, possibly wildly inaccurate. At higher levels, probably unnecessary, and certainly hard to calculate.

Or you could base it on the monster memory of fallen ancestors, which, while likely less accurate would certainly be easier.
It could be like psuedo ID but for monsters So it could improve as your characters level increased.
Rizwan is offline   Reply With Quote
Old March 31, 2009, 08:10   #6
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,079
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by d_m View Post
I had assumed that it wouldn't be that hard to iterate over all the monster's possible attacks, calculate max damage, and then take the max of that. But it might be the case that monster power is a better indicator (and/or that it actually *is* hard to determine max dmg for monsters).

The big difference between the two features has to do with resistance holes. If I have a pretty high level warrior lacking rPoison and I meet a greater basilisk for the first time, option #2 indicates that maybe I can take him, while option #1 would probably indicate running like hell.

Which of those outcomes one prefers probably depends on one's temperment.
Monster power assumes all resists covered. Personally I think this idea should be implemented as a single standard thing, i.e. not based on the character's current status. So using monster power would be consistent with this - and if you have resistance holes, you think twice before deciding to attack ...

It also means I think the thing should be based on the char's max hp not current hp.
Quote:
Anyway, I will take a look at the damage calculation code again to see how hard it would be to figure out max damage for an attack; I will also try to figure out how to usefully correlate character power and monster power.
Let us know what you come up with. The monster power code is in init1.c in a function called eval_r_power() (because r is historically the code label for monsters - hence r_info, r_ptr etc.).
Magnate is offline   Reply With Quote
Old April 1, 2009, 01:59   #7
zaimoni
Knight
 
zaimoni's Avatar
 
Join Date: Apr 2007
Posts: 590
zaimoni is on a distinguished road
Quote:
Originally Posted by d_m View Post
I had assumed that it wouldn't be that hard to iterate over all the monster's possible attacks, calculate max damage, and then take the max of that. But it might be the case that monster power is a better indicator (and/or that it actually *is* hard to determine max dmg for monsters).
Theoretical maximum damage is easy to calculate. Unfortunately, for anything with a nontrivial random distribution the probability of maximum damage with even 10d2 is pretty minimal.

Zaiband 3.0.9 alpha has some changes in this direction: a "terrifying" monster attack generally can kill you in one player move if the attack is permitted.
zaimoni 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
Feet or Level ? PaulBlay Vanilla 24 March 16, 2009 10:18
Most 'Specials' on a level? Jenks Vanilla 7 September 2, 2008 01:12
Do different races level up differently? TJS Vanilla 8 June 9, 2008 10:38
Level feelings curinor Variants 0 April 30, 2008 20:17
Monster AI Malak Darkhunter Vanilla 3 December 9, 2007 07:05


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


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