[Crawl] Power return is neat.

G

Guest

Guest
Archived from groups: rec.games.roguelike.misc (More info?)

[...]
Cast which spell ([?*] list)?
Which direction ([*+-] to target)?
The crystal spear hits the Pit Fiend.
You kill the Pit Fiend!
Vehumet accepts your kill.
You feel your power returning.

Glancing at the stats I find: "Magic Points : 50"

Means I got back at least 8 points. Neat. :)

What is the range of Magic Points that can be returned?

--
Tina the Deadly Accurate - the Champion of the Ravenous Naughty Guilt
 
Archived from groups: rec.games.roguelike.misc (More info?)

In article <MSGID_2=3A240=2F2199.13=40fidonet_2a7b9b63@fidonet.org>, Tina Hall wrote:

> You kill the Pit Fiend!
> Vehumet accepts your kill.
> You feel your power returning.
>
> Glancing at the stats I find: "Magic Points : 50"
>
> Means I got back at least 8 points. Neat. :)
>
> What is the range of Magic Points that can be returned?

mpr("You feel your power returning.");
inc_mp( 1 + random2(monster->hit_dice / 2), false );

a pit fiend is a 19 hit dice monster (with plenty of extra hitpoints,
but that doesn't matter here). 8 on d9+1 isn't bad ;-)

--
ru