Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 9, 2010, 10:50   #1
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Fractional blows

I've published an initial implementation of fractional blows:

http://github.com/magnate/angband/tree/fracblows

At the moment it is almost identical in gameplay terms to 3.1.2 - I have converted the blows table from blows to energy, but have not changed anything, so the actual number of blows is identical.

p_ptr->state.num_blow is now 100x the actual number of blows. I have not yet addressed any display code, so the blows shown are 100, 500 etc.

The only reason I'm bothering to mention it this early is because I have created a truly horrible bug: monsters now occasionally get a double move when they most definitely shouldn't. I was experimenting fighting Ungoliant with a char at +32 speed, and after a few rounds of 5 blows I got a 6th blow. This is expected, given the gradual accumulation of extra energy from my extra speed ... but then she got a double move immediately afterwards. This really needs to not happen.

Any thoughts appreciated.
Magnate is offline   Reply With Quote
Old October 9, 2010, 12:49   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Ok, the display of blows is now fixed (to one decimal place), and tables.c has been re-written to smooth out the progression (which was the whole point of doing this in the first place). The early game is now a little easier, as you can start with 1.3 blows etc., but the late game is harder - you now need 18/200 dex to max blows, not 18/150. Yes, I'm aware that this hurts warriors more than other classes - happy to discuss this when people have tested it.

The double-move bug is probably still extant: grateful for any reports from testers.

Last edited by Magnate; October 9, 2010 at 13:35.
Magnate is offline   Reply With Quote
Old October 9, 2010, 14:36   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Magnate View Post
The double-move bug is probably still extant: grateful for any reports from testers.
Yes, it is - but I have at least worked out why. We can't allow @ to spend more than 100 energy, even if he has enough energy to do so. That's what lets monsters get double moves, even if they are slower than @. So we limit the blows calculation to spend no more than 100 energy, and occasionally @ will get a double move instead. Will fix today.
Magnate is offline   Reply With Quote
Old October 9, 2010, 17:00   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Right, done. We now have a working implementation of fractional blows (but be warned, the master repo has broken birth, so when testing you'll need to keep using characters based on the previous one).

Any chance someone could build this for Windows? It seems like 99% of our testing community use Windows. I'll happily upload it to github so people can test it.
Magnate is offline   Reply With Quote
Old October 9, 2010, 17:05   #5
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
Given that most classes rely on melee anyway, I'm not too worried about warriors for this change. Extending the utility of DEX to 18/200 is a good idea IMO. Plus it makes the game a bit harder.
Derakon is offline   Reply With Quote
Old October 9, 2010, 18:22   #6
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Derakon View Post
Given that most classes rely on melee anyway, I'm not too worried about warriors for this change. Extending the utility of DEX to 18/200 is a good idea IMO. Plus it makes the game a bit harder.
Yeah, I thought it was about time we did a few moves in that direction ...
Magnate is offline   Reply With Quote
Old October 11, 2010, 13:12   #7
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
I'll build it and post the windows compile today. I'm curious as to how this is working.
Sirridan is offline   Reply With Quote
Old October 11, 2010, 15:05   #8
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,025
fizzix is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Given that most classes rely on melee anyway, I'm not too worried about warriors for this change. Extending the utility of DEX to 18/200 is a good idea IMO. Plus it makes the game a bit harder.
Allowing warriors to get 6 blows with 30 lbs weapons and max STR, DEX would balance out any penalty they get from the fractional blows change.

Probably the class hurt the most are priests, provided that they now only get half blows or so with mauls.
fizzix is offline   Reply With Quote
Old October 11, 2010, 16:16   #9
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Built for win32

And here we go, built it for win32 for all you windows testers (I go both ways... hah).

Anyway, it compiled for windows under vs2010, it just took some messing around with the code, just moving variable declarations to the start of functions which VS doesn't like for some reason. Anyway, here we go!

Since character creation is borked, I added a human male character of each class so you can mess around.

To save space, I deleted all sounds, graphics, and icons. You can grab em back from any other copy of V.

http://www.mediafire.com/?ykliaej97brw56a
Sirridan is offline   Reply With Quote
Old October 12, 2010, 20:52   #10
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Sirridan View Post
And here we go, built it for win32 for all you windows testers (I go both ways... hah).

Anyway, it compiled for windows under vs2010, it just took some messing around with the code, just moving variable declarations to the start of functions which VS doesn't like for some reason. Anyway, here we go!

Since character creation is borked, I added a human male character of each class so you can mess around.

To save space, I deleted all sounds, graphics, and icons. You can grab em back from any other copy of V.

http://www.mediafire.com/?ykliaej97brw56a
Thank you. I will shortly merge in takk's fixes for the birth/menu stuff, so it will be easier to test.

@fizzix: everyone gets minimum of one blow. I didn't consciously calculate the weights at which warriors can now get 6 blows, but it should be no less than the previous 24lb. With light weapons they can now get up to 6.67 blows (15 epb).

EDIT: Ok, I've updated my fracblows branch with takk's fixes to the birth and menu code, so it should now be a lot easier to test. To save someone having to build a windows version for me every time I do this, I am investigating setting up auto-builders to do that. In the meantime, a new Windows version would be most appreciated.

For warriors with 18/200 DEX, 17 epb (5.88 blows) is available at P=5, which means 24lbs max. 16 epb (6.25 blows) is available at P=8, which means 15lbs max. So with really heavy weapons warriors are slightly worse off than they were before, but with lighter weapons they're better off. Except that they're still capped at 6 blows in class.txt ... oops.

I think after some testing the table will need tweaking, because at the moment priests and mages can get 4 blows with any weapon they can lift if they have 18/200 DEX, regardless of STR, and I'm not sure we want that.

Last edited by Magnate; October 12, 2010 at 22:31.
Magnate 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
S: what do I need to get multiple blows with wrestling? NotMorgoth Variants 2 January 26, 2010 20:54
Blows calculation for warriors Timo Pietilä Vanilla 22 January 12, 2010 23:46
blows per turn fizzix Vanilla 26 October 30, 2009 18:41
stochastic energy and fractional blows tigen Vanilla 22 September 13, 2009 21:47
Max Blows Conker AAR 2 November 9, 2007 04:40


All times are GMT +1. The time now is 00:19.


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