Spells, spells, not enough mana

Died yet another stupid death? Got a story to share? Heard the latest rumours?
Post Reply
User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Spells, spells, not enough mana

Post by tokariew » Sat Aug 26, 2017 7:16 pm

I heard that someone is interested in mana cost efficiency of some spells…

The red line is to indicate highest possible lvl, without spell-power

For start just firebolt
Image

Calm down, just be little patient my friend, probably you expected this instead:
Image

And Manathrust

Image

Image
Last edited by tokariew on Sun Aug 27, 2017 1:38 am, edited 4 times in total.

User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Spells, spells, not enough mana

Post by tangar » Sat Aug 26, 2017 10:53 pm

Is it a bug? Why high-tier manathrust so uneffective?
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Spells, spells, not enough mana

Post by tokariew » Sun Aug 27, 2017 1:09 am

Change plots in first post, my formula for damage output wasn't correct, it change dmg from zero to something to early :)

I will say, that manathrust 1 have some insanly high damage output, by mana cost, i think the closest bolt have nearly three times worst efficiency…

Image
Image

and mana efficiency is kinda not working. for acid bolt, the highest tier is only more efficient with nearly maxed Earth and spell-power…

User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Spells, spells, not enough mana

Post by tangar » Mon Aug 28, 2017 11:34 am

Cool analysis. How do you investigate this stuff? I mean algorithm. And which programs do you use?
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Spells, spells, not enough mana

Post by tokariew » Mon Aug 28, 2017 5:49 pm

I wrote little python script, which ask me about spell, and then show my plots…
My skills with regular expression are poor, so no automatic analysis, just type this into script…
Script ask you about name of spell, at which lvl of skill you can cast, mana cost of each tier, how dmg is calculated and what are lvl limits of spell (for manathrust II you have something like this ' fire_bolt(Ind, GF_MANA, args.dir, damroll(get_manathrust_dam(Ind, 20)), " casts a mana bolt for")'). So for manathrust II lvl limit is 20.
i can share the script, but it's probably not very usefull ;)

and script scare user with it blackness:
Image

User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Spells, spells, not enough mana

Post by tangar » Mon Aug 28, 2017 8:03 pm

Fun! Sure, share it please :D It could be useful testing tool. Also Shtukensia learn python atm, so interesting to look into it :)
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Spells, spells, not enough mana

Post by tokariew » Mon Aug 28, 2017 9:21 pm

https://gist.github.com/Tokariew/be29ed ... 0f884c2baf
click raw and save as, need numpy and matplotlib installed for python to work.
i make little change to write it as one plot at once, with two subplots.

Post Reply