func void pc_prayshrine_pray_bigpay()
{
var int zufall;
zufall = Hlp_Random(4);
Npc_RemoveInvItems(hero,itmi_gold,100);
Stats_Blessings_GoldGiven += 100;
if(PRAYDAY == Wld_GetDay())
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
}
else if(SPECIALBLESS <= 10)
{
if(hero.guild == GIL_PAL)
{
if(zufall >= 3)
{
b_blessattribute(hero,ATR_MANA_MAX,4);
}
else if(zufall >= 2)
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,8);
}
else if(zufall >= 1)
{
b_blessattribute(hero,ATR_STRENGTH,2);
}
else if(zufall >= 0)
{
b_blessattribute(hero,ATR_DEXTERITY,2);
};
}
else if(hero.guild == GIL_KDF)
{
b_blessattribute(hero,ATR_MANA_MAX,4);
}
else if(zufall >= 2)
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,4);
}
else
{
b_blessattribute(hero,ATR_STRENGTH,1);
};
SPECIALBLESS = SPECIALBLESS + 1;
}
else if((hero.guild == GIL_PAL) || (hero.guild == GIL_KDF))
{
hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX];
hero.attribute[ATR_MANA] = hero.attribute[ATR_MANA_MAX];
PrintScreen(PRINT_BLESSMANA_HIT,-1,-1,FONT_SCREEN,2);
}
else
{
b_blessattribute(hero,ATR_HITPOINTS,5);
};
PRAYDAY = Wld_GetDay();
Info_ClearChoices(pc_prayshrine_pray);
};