Corrected Tension Relax HP regeneration while overweight (fixes #1177)
* When Tension Relax ends so should the HP regeneration bonus.
This commit is contained in:
@@ -11488,6 +11488,10 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
|
||||
status_change_end(tbl, SC_STOP, INVALID_TIMER);
|
||||
}
|
||||
break;
|
||||
case SC_TENSIONRELAX:
|
||||
if (sc && (sc->data[SC_WEIGHT50] || sc->data[SC_WEIGHT90]))
|
||||
status_get_regen_data(bl)->state.overweight = 1; // Add the overweight flag back
|
||||
break;
|
||||
case SC_MONSTER_TRANSFORM:
|
||||
if (sce->val2)
|
||||
status_change_end(bl, (sc_type)sce->val2, INVALID_TIMER);
|
||||
|
||||
Reference in New Issue
Block a user