Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > AAR

Reply
 
Thread Tools Display Modes
Old July 21, 2018, 09:30   #11
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Nah all good. It's.. look I'm a shift worker and if I go without sleep for long enough I get neurotic and snappy. Normally I have the sense to control my snark, my apologises.

I'll take a proper look at it in a day or two, when I've had actual sleep.
wobbly is offline   Reply With Quote
Old July 21, 2018, 13:27   #12
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,917
Donated: $40
Pete Mack is on a distinguished road
No, there was no blow lost in v3. Some races got 4 blows (HE, Dunadan, and Half-orc with no points in CON.) It's possible that hobbit got no more than 2.
Pete Mack is offline   Reply With Quote
Old July 21, 2018, 15:22   #13
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,470
Derakon is on a distinguished road
S'alright, no offense taken. I'm glad you're doing a proper investigation into these things!
Derakon is offline   Reply With Quote
Old July 21, 2018, 18:41   #14
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
No, there was no blow lost in v3. Some races got 4 blows (HE, Dunadan, and Half-orc with no points in CON.) It's possible that hobbit got no more than 2.
I meant the top weapons compared to a paladin. Different experiment: Those are halved weapon weights (a 2.5lb spear), with a mult of 3, and 3lb minimum (in the middle of the 2 lb rapier & the 4 lb shortsword). So this warrior should be able to max. blows with a 20% heavier weapon (old weights) then a normal warrior. Paladin is mult 3 and 3.5lb minimum, Rogue mult 2 and 2lbs, everything else mult 2 and 3.5lbs. I haven't tried the others. Note the rogue and ranger are essentially the same as they were (x2 / 2). (A rogue with identical stats would have the same blows with a rapier as a warrior with a rapier/spear)

Code:
  [Angband 4.1.2 Character Dump]

 Name   Test         Age             25          Self  RB  CB  EB   Best
 Race   Half-Troll   Height       6'10"   STR:     18  +4  +3  +0  18/70
 Class  Warrior      Weight    20st 8lb   INT:     10  -4  -2  +0      4
 Title  Swordsman    Turns used:          WIS:     10  -2  -2  +0      6
 HP     112/137      Game         75656   DEX:     17  -4  +2  +0     15
 SP     0/0          Standard      7678   CON:     10  +3  +2  +0     15
                     Resting        206

 Level                 13    Armor       [16,+2]    Saving Throw     23%
 Cur Exp             1272                           Stealth          Bad
 Max Exp             1272    Melee        1d6,+7    Disarm - phys.   40%
 Adv Exp             1320    To-hit        49,+3    Disarm - magic   27%
                             Blows      3.1/turn    Magic Devices     19
 Gold                1678                           Searching        41%
 Burden          122.8 lb    Shoot to-dam     +0    Infravision    30 ft
 Overweight      -57.1 lb    To-hit        34,+2    Speed         Normal
 Max Depth     650' (L13)    Shots        1/turn

 Your mother was a Stone-Troll Warrior.  You have blue-bloodshot eyes,
 mangy dark purple hair, and white leprous skin.



rAcid:............. Nexus:.............
rElec:............. Nethr:.............
rFire:............. Chaos:.............
rCold:........+.... Disen:.............
rPois:............. pFear:.............
rLite:............. pBlnd:.............
rDark:............. pConf:.............
Sound:............. pStun:.............
Shard:............. HLife:.............

Regen:............+ Stea.:.............
  ESP:............. Sear.:..++.........
Invis:............. Infra:............+
FrAct:............. Tunn.:.............
Feath:............. Speed:.............
S.Dig:............. Blows:.............
ImpHP:............. Shots:.............
 Fear:............. Might:.............
Aggrv:............. Light:.....+.......


  [Character Equipment]

a) a Spear (1d6) (+1,+3)
     Dropped by a pseudo-dragon at 500 feet (level 10)
     
     Combat info:
     3.1 blows/round.
     With +1 STR and +0 DEX you would get 3.3 blows
     With +0 STR and +2 DEX you would get 3.4 blows
     Average damage/round: 32.7.
     
b) a Short Bow (x2) (+0,+0)
     Found lying on the floor at 350 feet (level 7)
     
c) a Ring of Searching <+2>
     Found lying on the floor at 350 feet (level 7)
     
     +2 searching skill.
     
d) a Ring of Searching <+3>
     Found lying on the floor of a special room at 400 feet (level 8)
     
     +3 searching skill.
     
f) a Lantern of Brightness (14953 turns) <+1>
     Found lying on the floor at 350 feet (level 7)
     
     +1 light.
     Cannot be harmed by fire.
     Radius 3 light.
     
g) Soft Leather Armour [8,-3]
     An inheritance from your family
     
h) a Cloak [1,+0] {!d, ignore}
     Bought from a store
     
i) a Wicker Shield of Resist Cold [2,+2]
     Dropped by a scruffy looking hobbit at 200 feet (level 4)
     
     Provides resistance to cold.
     
k) a Set of Leather Gloves [1,-1]
     Dropped by an acolyte at 100 feet (level 2)
     
l) a Pair of Iron Shod Boots [4,+3]
     Found lying on the floor of a special room at 400 feet (level 8)
     
     Cannot be harmed by fire.
     




  [Character Inventory]

a) 3 Mushrooms of Second Sight
b) 10 Potions of Cure Light Wounds
c) 8 Potions of Cure Serious Wounds
d) 3 Potions of Speed
e) 2 Potions of Heroism
f) 3 Potions of Berserk Strength
g) 3 Potions of Boldness
h) 2 Potions of Resist Heat
i) 2 Potions of Resist Cold
j) 13 Scrolls of Phase Door
k) 2 Scrolls of Satisfy Hunger
l) a Rod of Curing
m) a Wand of Light (9 charges)
n) 2 Wands of Stone to Mud (8 charges)
o) 3 Wands of Wonder (37 charges)
     Cannot be harmed by lightning.
     
p) a Staff of Cure Light Wounds (8 charges)
q) 2 Staves of Light (37 charges)
r) a Lance (2d8) (+3,+7) {??}
     Dropped by Bullroarer the Hobbit at 400 feet (level 8)
     
     You do not know the full extent of this item's powers.
     
     Combat info:
     1.0 blows/round.
     With +1 STR and +0 DEX you would get 1.1 blows
     With +0 STR and +2 DEX you would get 1.1 blows
     Average damage/round: 21.7.
     
s) a Mace (2d4) (+0,+0)
     Dropped by a brigand at 400 feet (level 8)
     
     Combat info:
     1.6 blows/round.
     With +1 STR and +0 DEX you would get 2.0 blows
     With +0 STR and +2 DEX you would get 2.0 blows
     Average damage/round: 15.1.
     
t) a Maul (4d4) (+0,+0)
     Found lying on the floor at 350 feet (level 7)
     
     Combat info:
     1.1 blows/round.
     With +1 STR and +0 DEX you would get 1.3 blows
     With +0 STR and +2 DEX you would get 1.3 blows
     Average damage/round: 16.7.
     




  [Character Quiver]

0) 22 Bolts (1d5) (+0,+0)
1) 19 Arrows (1d4) (+0,+0)
     Combat info:
     Hits targets up to 100 feet away.
     Average damage/round: 5.
     35% chance of breaking upon contact.
     
2) 35 Rounded Pebbles (1d2) (+0,+0)
3) 19 Rounded Pebbles (1d2) (+4,+3) {??}
     You do not know the full extent of this item's powers.
     
4) 24 Rounded Pebbles (1d2) (+6,+4)


  [Home Inventory]

a) 3 Rations of Food
b) 4 Flasks of oil
c) a Staff of Detect Invisible (20 charges)
d) a Dagger (1d4) (+0,+0)
     An inheritance from your family
     
     Combat info:
     3.1 blows/round.
     With +1 STR and +0 DEX you would get 3.3 blows
     With +0 STR and +2 DEX you would get 3.4 blows
     Average damage/round: 20.2.
     
e) a Main Gauche (1d5) (+0,+0)
     Combat info:
     3.1 blows/round.
     With +1 STR and +0 DEX you would get 3.3 blows
     With +0 STR and +2 DEX you would get 3.4 blows
     Average damage/round: 21.8.
     
f) a Pike (2d5) (+2,+1)
     Bought from a store
     
     Combat info:
     1.3 blows/round.
     With +2 STR and +0 DEX you would get 1.6 blows
     With +0 STR and +2 DEX you would get 1.6 blows
     Average damage/round: 14.7.
     
g) a Broad Axe (2d6) (+0,+0)
     Bought from a store
     
     Combat info:
     1.3 blows/round.
     With +2 STR and +0 DEX you would get 1.6 blows
     With +0 STR and +2 DEX you would get 1.6 blows
     Average damage/round: 14.7.
     
h) a Whip (1d3) (+0,+0)
     Bought from a store
     
     Combat info:
     3.1 blows/round.
     With +1 STR and +0 DEX you would get 3.3 blows
     With +0 STR and +2 DEX you would get 3.4 blows
     Average damage/round: 18.7.
     


[Player history]
      Turn   Depth  Note
         0      0'  Began the quest to destroy Morgoth.
       251     50'  Reached level 2
       815    100'  Reached level 3
      1226    150'  Reached level 4
      1427    150'  Reached level 5
      1520    150'  Killed Grip, Farmer Maggot's Dog
      1520    150'  Reached level 6
      1937    200'  Reached level 7
      2413    300'  Reached level 8
      2818    350'  Reached level 9
      2859    350'  Killed Fang, Farmer Maggot's Dog
      3342    400'  Reached level 10
      3930    500'  Reached level 11
      4375    650'  Reached level 12
      6992    350'  Reached level 13
      7656    400'  Killed Bullroarer the Hobbit


  [Options]

  [User interface]

Use the roguelike command keyset             : no  (rogue_like_commands)
Use sound                                    : no  (use_sound)
Show damage player deals to monsters         : no  (show_damage)
Use old target by default                    : no  (use_old_target)
Always pickup items                          : no  (pickup_always)
Always pickup items matching inventory       : yes (pickup_inven)
Show flavors in object descriptions          : no  (show_flavors)
Highlight target with cursor                 : yes (show_target)
Highlight player with cursor between turns   : no  (highlight_player)
Disturb whenever viewable monster moves      : yes (disturb_near)
Show walls as solid blocks                   : no  (solid_walls)
Show walls with shaded background            : no  (hybrid_walls)
Color: Illuminate torchlight in yellow       : no  (view_yellow_light)
Color: Shimmer multi-colored things          : no  (animate_flicker)
Center map continuously                      : no  (center_player)
Color: Show unique monsters in purple        : no  (purple_uniques)
Automatically clear '-more-' prompts         : no  (auto_more)
Color: Player color indicates % hit points   : yes (hp_changes_color)
Allow mouse clicks to move the player        : yes (mouse_movement)
Notify on object recharge                    : no  (notify_recharge)
Show effective speed as multiplier           : no  (effective_speed)

  [Birth]

Generate a new, random artifact set          : no  (birth_randarts)
Generate connected stairs                    : yes (birth_connect_stairs)
Force player descent (never make up stairs)  : no  (birth_force_descend)
Word of Recall has no effect                 : no  (birth_no_recall)
Restrict creation of artifacts               : no  (birth_no_artifacts)
Stack objects on the floor                   : yes (birth_stacking)
Lose artifacts when leaving level            : no  (birth_lose_arts)
Show level feelings                          : yes (birth_feelings)
Increase gold drops but disable selling      : yes (birth_no_selling)
Start with a kit of useful gear              : yes (birth_start_kit)
Monsters learn from their mistakes           : no  (birth_ai_learn)
Know all runes on birth                      : no  (birth_know_runes)
Know all flavors on birth                    : no  (birth_know_flavors)
Persistent levels (experimental)             : no  (birth_levels_persist)

Last edited by wobbly; July 21, 2018 at 18:46.
wobbly is offline   Reply With Quote
Old July 21, 2018, 19:27   #15
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Oh hey didn't realise this was a thing:

* Check if a monster is debuffed in such a way as to make a critical
* hit more likely.
*/
static bool is_debuffed(const struct monster *monster)
{
return monster->m_timed[MON_TMD_CONF] > 0 ||
monster->m_timed[MON_TMD_HOLD] > 0 ||
monster->m_timed[MON_TMD_STUN] > 0;
wobbly is offline   Reply With Quote
Old July 21, 2018, 19:40   #16
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Code:
	
	int power = weight + randint1(650);
	int chance = weight + (p->state.to_h + plus + debuff_to_hit) * 5 + p->lev * 3;

	if (randint1(5000) > chance) {
		*msg_type = MSG_HIT;
		return dam;
Ok so chance to crit goes up with weight & level. Power just weight.

The lowest is crit is approx. 2x. It would perhaps be convenient for the weapons with 1 blow, for them to be critical-ing fairly reliably?, maybe.

With the 15 lb lance if I *3 that would be +15 or equiv. +5 char levels?

So damage starts going up at the high end but there's a 2/3 * monster AC in the to hits I'm still unsure of & why/when that came about. If I remove that what's the issue? the priest in the late game (which might crit higher anyway)? mage at the start? Mage being unable to-hit might be alright - play a half-orc, half-troll etc. if you want to mage melee at lvl 1....

Last edited by wobbly; July 21, 2018 at 20:12.
wobbly is offline   Reply With Quote
Old July 21, 2018, 20:31   #17
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,917
Donated: $40
Pete Mack is on a distinguished road
Wieght is in units of 0.1lb, so 15lb corresponds to 150.
Pete Mack is offline   Reply With Quote
Old July 22, 2018, 22:57   #18
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
Wieght is in units of 0.1lb, so 15lb corresponds to 150.
Whoops. Thanks. Curves in between 1 & 2 blows:

Code:
  [Angband 4.1.2 Character Dump]

 Name   Bee          Age             48          Self  RB  CB  EB   Best
 Race   Dwarf        Height        4'1"   STR:     16  +2  -1  +0     17
 Class  Priest       Weight     8st 5lb   INT:     10  -3  -3  +0      4
 Title  Believer     Turns used:          WIS:     16  +2  +3  +0  18/30
 HP     13/13        Game           351   DEX:     16  -2  -1  +0     13
 SP     2/2          Standard        35   CON:     12  +2  +1  +0     15
                     Resting          0

 Level                  1    Armor        [0,+0]    Saving Throw     45%
 Cur Exp                0                           Stealth          Bad
 Max Exp                0    Melee        2d6,+2    Disarm - phys.   29%
 Adv Exp               14    To-hit        21,+0    Disarm - magic   28%
                             Blows      1.1/turn    Magic Devices     40
 Gold                  63                           Searching        13%
 Burden           25.0 lb    Shoot to-dam     +0    Infravision    50 ft
 Overweight      -88.9 lb    To-hit        12,+0    Speed         Normal
 Max Depth           Town    Shots        0/turn

 You are the only child of a Dwarven Priest.  You are the black sheep
 of the family.  You have dark brown eyes, straight black hair, a two
 foot beard, and a dark complexion.


rAcid:............. Nexus:.............
rElec:............. Nethr:.............
rFire:............. Chaos:.............
rCold:............. Disen:.............
rPois:............. pFear:.............
rLite:............. pBlnd:............+
rDark:............. pConf:.............
Sound:............. pStun:.............
Shard:............. HLife:.............

Regen:............. Stea.:.............
  ESP:............. Sear.:.............
Invis:............. Infra:............+
FrAct:............. Tunn.:............+
Feath:............. Speed:.............
S.Dig:............. Blows:.............
ImpHP:............. Shots:.............
 Fear:............. Might:.............
Aggrv:............. Light:.............


  [Character Equipment]

a) a Morning Star (2d6) (+0,+0)
     Bought from a store
     
     Combat info:
     1.1 blows/round.
     With +4 STR and +0 DEX you would attack a bit faster
     With +9 STR and +0 DEX you would get 1.4 blows
     With +0 STR and +4 DEX you would attack a bit faster
     With +4 STR and +4 DEX you would get 1.4 blows
     With +0 STR and +7 DEX you would get 1.2 blows
     Average damage/round: 10.2.
     
f) a Wooden Torch (5000 turns)
     An inheritance from your family
     
     Radius 1 light.
     




  [Character Inventory]

a) a Ration of Food
b) a Rapier (1d6) (+0,+0)
     Bought from a store
     
     Combat info:
     1.1 blows/round.
     With +2 STR and +0 DEX you would get 1.4 blows
     With +0 STR and +4 DEX you would get 1.4 blows
     Average damage/round: 4.
     
c) a Whip (1d3) (+0,+0)
     Combat info:
     1.1 blows/round.
     With +2 STR and +0 DEX you would get 1.4 blows
     With +0 STR and +4 DEX you would get 1.4 blows
     Average damage/round: 4.6.
     




  [Character Quiver]



[Player history]
      Turn   Depth  Note
         0      0'  Began the quest to destroy Morgoth.


  [Options]

  [User interface]

Use the roguelike command keyset             : no  (rogue_like_commands)
Use sound                                    : no  (use_sound)
Show damage player deals to monsters         : no  (show_damage)
Use old target by default                    : no  (use_old_target)
Always pickup items                          : no  (pickup_always)
Always pickup items matching inventory       : yes (pickup_inven)
Show flavors in object descriptions          : no  (show_flavors)
Highlight target with cursor                 : yes (show_target)
Highlight player with cursor between turns   : no  (highlight_player)
Disturb whenever viewable monster moves      : yes (disturb_near)
Show walls as solid blocks                   : no  (solid_walls)
Show walls with shaded background            : no  (hybrid_walls)
Color: Illuminate torchlight in yellow       : no  (view_yellow_light)
Color: Shimmer multi-colored things          : no  (animate_flicker)
Center map continuously                      : no  (center_player)
Color: Show unique monsters in purple        : no  (purple_uniques)
Automatically clear '-more-' prompts         : no  (auto_more)
Color: Player color indicates % hit points   : yes (hp_changes_color)
Allow mouse clicks to move the player        : yes (mouse_movement)
Notify on object recharge                    : no  (notify_recharge)
Show effective speed as multiplier           : no  (effective_speed)

  [Birth]

Generate a new, random artifact set          : no  (birth_randarts)
Generate connected stairs                    : yes (birth_connect_stairs)
Force player descent (never make up stairs)  : no  (birth_force_descend)
Word of Recall has no effect                 : no  (birth_no_recall)
Restrict creation of artifacts               : no  (birth_no_artifacts)
Stack objects on the floor                   : yes (birth_stacking)
Lose artifacts when leaving level            : no  (birth_lose_arts)
Show level feelings                          : yes (birth_feelings)
Increase gold drops but disable selling      : yes (birth_no_selling)
Start with a kit of useful gear              : no  (birth_start_kit)
Monsters learn from their mistakes           : no  (birth_ai_learn)
Know all runes on birth                      : no  (birth_know_runes)
Know all flavors on birth                    : no  (birth_know_flavors)
Persistent levels (experimental)             : no  (birth_levels_persist)
wobbly is offline   Reply With Quote
Old July 22, 2018, 22:58   #19
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Code:
  [Angband 4.1.2 Character Dump]

 Name   Grunt        Age             15          Self  RB  CB  EB   Best
 Race   Half-Orc     Height        5'5"   STR:     17  +2  +1  +0  18/20
 Class  Paladin      Weight   10st 12lb   INT:     10  -1  -3  +0      6
 Title  Gallant      Turns used:          WIS:     10  +0  +1  +0     11
 HP     16/16        Game           101   DEX:     18  +0  -1  +0     17
 SP     1/1          Standard        10   CON:     10  +1  +2  +0     13
                     Resting          0

 Level                  1    Armor        [0,+1]    Saving Throw     24%
 Cur Exp                0                           Stealth          Bad
 Max Exp                0    Melee        1d5,+3    Disarm - phys.   20%
 Adv Exp               14    To-hit        27,+3    Disarm - magic   18%
                             Blows      2.7/turn    Magic Devices     22
 Gold                  31                           Searching         8%
 Burden           34.0 lb    Shoot to-dam     +0    Infravision    30 ft
 Overweight     -109.9 lb    To-hit        12,+3    Speed         Normal
 Max Depth           Town    Shots        0/turn

 Your father was an Orc, but it is unacknowledged. You are the adopted
 child of a Yeoman.  You are a well liked child.  You have brown eyes,
 wavy brown hair, and an average complexion.


rAcid:............. Nexus:.............
rElec:............. Nethr:.............
rFire:............. Chaos:.............
rCold:............. Disen:.............
rPois:............. pFear:.............
rLite:............. pBlnd:.............
rDark:............+ pConf:.............
Sound:............. pStun:.............
Shard:............. HLife:.............

Regen:............. Stea.:.............
  ESP:............. Sear.:.............
Invis:............. Infra:............+
FrAct:............. Tunn.:.............
Feath:............. Speed:.............
S.Dig:............. Blows:.............
ImpHP:............. Shots:.............
 Fear:............. Might:.............
Aggrv:............. Light:.............


  [Character Equipment]

a) a Main Gauche (1d5) (+0,+0)
     Combat info:
     2.7 blows/round.
     With +1 STR and +0 DEX you would get 3.3 blows
     With +0 STR and +3 DEX you would get 3.0 blows
     Average damage/round: 16.6.
     
f) a Wooden Torch (5000 turns)
     An inheritance from your family
     
     Radius 1 light.
     




  [Character Inventory]

a) a Ration of Food
b) an Awl-Pike (1d8) (+0,+0)
     Bought from a store
     
     Combat info:
     1.4 blows/round.
     With +3 STR and +0 DEX you would get 1.6 blows
     With +0 STR and +3 DEX you would get 1.6 blows
     Average damage/round: 10.9.
     
c) a Lucerne Hammer (2d5) (+0,+0)
     Bought from a store
     
     Combat info:
     1.4 blows/round.
     With +1 STR and +0 DEX you would get 1.6 blows
     With +0 STR and +3 DEX you would get 1.6 blows
     Average damage/round: 13.
     




  [Character Quiver]



[Player history]
      Turn   Depth  Note
         0      0'  Began the quest to destroy Morgoth.


  [Options]

  [User interface]

Use the roguelike command keyset             : no  (rogue_like_commands)
Use sound                                    : no  (use_sound)
Show damage player deals to monsters         : no  (show_damage)
Use old target by default                    : no  (use_old_target)
Always pickup items                          : no  (pickup_always)
Always pickup items matching inventory       : yes (pickup_inven)
Show flavors in object descriptions          : no  (show_flavors)
Highlight target with cursor                 : yes (show_target)
Highlight player with cursor between turns   : no  (highlight_player)
Disturb whenever viewable monster moves      : yes (disturb_near)
Show walls as solid blocks                   : no  (solid_walls)
Show walls with shaded background            : no  (hybrid_walls)
Color: Illuminate torchlight in yellow       : no  (view_yellow_light)
Color: Shimmer multi-colored things          : no  (animate_flicker)
Center map continuously                      : no  (center_player)
Color: Show unique monsters in purple        : no  (purple_uniques)
Automatically clear '-more-' prompts         : no  (auto_more)
Color: Player color indicates % hit points   : yes (hp_changes_color)
Allow mouse clicks to move the player        : yes (mouse_movement)
Notify on object recharge                    : no  (notify_recharge)
Show effective speed as multiplier           : no  (effective_speed)

  [Birth]

Generate a new, random artifact set          : no  (birth_randarts)
Generate connected stairs                    : yes (birth_connect_stairs)
Force player descent (never make up stairs)  : no  (birth_force_descend)
Word of Recall has no effect                 : no  (birth_no_recall)
Restrict creation of artifacts               : no  (birth_no_artifacts)
Stack objects on the floor                   : yes (birth_stacking)
Lose artifacts when leaving level            : no  (birth_lose_arts)
Show level feelings                          : yes (birth_feelings)
Increase gold drops but disable selling      : yes (birth_no_selling)
Start with a kit of useful gear              : no  (birth_start_kit)
Monsters learn from their mistakes           : no  (birth_ai_learn)
Know all runes on birth                      : no  (birth_know_runes)
Know all flavors on birth                    : no  (birth_know_flavors)
Persistent levels (experimental)             : no  (birth_levels_persist)
wobbly is offline   Reply With Quote
Old July 22, 2018, 22:59   #20
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,611
wobbly is on a distinguished road
Code:
/**
*This is a modification of the Angband-4.1.2 blows table. I have added curves into the 1-2 blow ranges. It hasn't been tested much. - MC 

* This table is used to help calculate the number of blows the player can
 * make in a single round of attacks (one player turn) with a normal weapon.
 *
 * This number ranges from a single blow/round for weak players to up to six
 * blows/round for powerful warriors.
 *
 * Note that certain artifacts and ego-items give "bonus" blows/round.
 *
 * First, from the player class, we extract some values:
 *
 *    Warrior --> num = 6; mul = 5; div = MAX(30, weapon_weight);
 *    Mage    --> num = 4; mul = 2; div = MAX(40, weapon_weight);
 *    Priest  --> num = 4; mul = 3; div = MAX(35, weapon_weight);
 *    Rogue   --> num = 5; mul = 4; div = MAX(30, weapon_weight);
 *    Ranger  --> num = 5; mul = 4; div = MAX(35, weapon_weight);
 *    Paladin --> num = 5; mul = 5; div = MAX(30, weapon_weight);
 * (all specified in class.txt now)
 *
 * To get "P", we look up the relevant "adj_str_blow[]" (see above),
 * multiply it by "mul", and then divide it by "div", rounding down.
 *
 * To get "D", we look up the relevant "adj_dex_blow[]" (see above).
 *
 * Then we look up the energy cost of each blow using "blows_table[P][D]".
 * The player gets blows/round equal to 100/this number, up to a maximum of
 * "num" blows/round, plus any "bonus" blows/round.
 */
static const int blows_table[12][12] =
{
	/* P */
   /* D:   0,   1,   2,   3,   4,   5,   6,   7,   8,   9,   10,  11+ */
   /* DEX: 3,   10,  17,  /20, /40, /60, /80, /100,/120,/150,/180,/200 */

	/* 0  */
	{  100, 90, 85,  80,  70,  60,  50,  42,  35,  30,  25,  23 },

	/* 1  */
	{  90,  85,  70,  60,  50,  50,  42,  35,  30,  25,  23,  21 },

	/* 2  */
	{  85,  70,  60,  50,  50,  42,  35,  30,  26,  23,  21,  20 },

	/* 3  */
	{  80,  60,  50,  50,  42,  36,  32,  28,  25,  22,  20,  19 },

	/* 4  */
	{  75,  50,  50,  42,  36,  33,  28,  25,  23,  21,  19,  18 },

	/* 5  */
	{  65,  50,  42,  36,  33,  30,  27,  24,  22,  21,  19,  17 },

	/* 6  */
	{  50,  42,  36,  33,  30,  27,  25,  23,  21,  20,  18,  17 },

	/* 7  */
	{  42,  36,  33,  30,  28,  26,  24,  22,  20,  19,  18,  17 },

	/* 8  */
	{  36,  33,  30,  28,  26,  24,  22,  21,  20,  19,  17,  16 },

	/* 9  */
	{  35,  32,  29,  26,  24,  22,  21,  20,  19,  18,  17,  16 },

	/* 10 */
	{  34,  30,  27,  25,  23,  22,  21,  20,  19,  18,  17,  16 },

	/* 11+ */
	{  33,  29,  26,  24,  22,  21,  20,  19,  18,  17,  16,  15 },
   /* DEX: 3,   10,  17,  /20, /40, /60, /80, /100,/120,/150,/180,/200 */
};
wobbly 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
Dummy question on k_info allocation lines konijn_ Development 3 March 12, 2018 21:04
dummy question: diff will_asher Development 14 September 19, 2010 05:12
Test-Id for armor Donald Jonker Vanilla 3 May 20, 2009 10:00
duh test post Garrie Idle chatter 3 March 30, 2008 00:31
VB formatting test Leon Marrick Idle chatter 13 April 30, 2007 19:26


All times are GMT +1. The time now is 22:09.


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