|
@@ -7266,6 +7266,9 @@ static int status_natural_heal(struct block_list* bl, va_list args)
|
|
if (ud && ud->walktimer != -1)
|
|
if (ud && ud->walktimer != -1)
|
|
rate/=2;
|
|
rate/=2;
|
|
regen->tick.hp += rate;
|
|
regen->tick.hp += rate;
|
|
|
|
+
|
|
|
|
+ // Homun HP regen fix (they should regen as if they were sitting (twice as fast)
|
|
|
|
+ if(bl->type==BL_HOM) regen->tick.hp *=2;
|
|
|
|
|
|
if(regen->tick.hp >= (unsigned int)battle_config.natural_healhp_interval)
|
|
if(regen->tick.hp >= (unsigned int)battle_config.natural_healhp_interval)
|
|
{
|
|
{
|
|
@@ -7283,6 +7286,9 @@ static int status_natural_heal(struct block_list* bl, va_list args)
|
|
if(flag&RGN_SP)
|
|
if(flag&RGN_SP)
|
|
{
|
|
{
|
|
regen->tick.sp += natural_heal_diff_tick*(regen->rate.sp+bonus);
|
|
regen->tick.sp += natural_heal_diff_tick*(regen->rate.sp+bonus);
|
|
|
|
+
|
|
|
|
+ // Homun HP regen fix (they should regen as if they were sitting (twice as fast)
|
|
|
|
+ if(bl->type==BL_HOM) regen->tick.p *=2;
|
|
|
|
|
|
if(regen->tick.sp >= (unsigned int)battle_config.natural_healsp_interval)
|
|
if(regen->tick.sp >= (unsigned int)battle_config.natural_healsp_interval)
|
|
{
|
|
{
|