Posted: Mon Aug 12, 2019 7:38 pm |
|
Just to confirm:
- You were wearing the Amulet of the Dead Warrior
- It lasts for about 8 minutes
- It gives +5 sword, +20 immunity
How close did you get and how many times did you attempt it?
As a trial period, I have double the time and increased sword to +8 and immunity to +25.
In answer to your query on how much gold, this is the code:
rank=points2rank(ch[cn].points_tot)+1;
rank=rank*rank*rank*4;
val+=RANDOM(val+1);
if (val>=rank) {
if (ch[cn].a_mana<ch[cn].mana[5]*1000) {
ch[cn].a_mana=ch[cn].mana[5]*1000;
do_char_log(cn,0,"You feel the hand of the Goddess of Magic touch your mind.\n"); |
Rank = your in game rank +1. In your case Knight = 20 so this rank = 20+_1=21.
Rank = rank * rank * rank * 4 = 21*21*21*4 = 37,044.
Value (in silver) = value in silver + 1. The random gives a value between 0 and value.
If Value > Rank then you get mana.
So by my maths if you donate 2*370G= 740G then you have a 50% chance of getting mana.