diff options
author | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 13:47:33 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 13:47:33 +0000 |
commit | 70c2692d38e6fac1c230a51c283438de11a61ce1 (patch) | |
tree | f1b3713ad5ce48f48e688bb627edc51af067eb0d /src/map/skill.cpp | |
parent | 4d23200c606b5c96877384f5ab2820a6cfcadda8 (diff) | |
parent | 78ad8bcab7a0d29200e8cd47c1d759d0eeb15a72 (diff) | |
download | tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.gz tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.bz2 tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.xz tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.zip |
Merge branch 'activity_checks' into 'master'
activity checks and status cleanup
See merge request legacy/tmwa!252
Diffstat (limited to 'src/map/skill.cpp')
-rw-r--r-- | src/map/skill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.cpp b/src/map/skill.cpp index 0fcf505..87bbbda 100644 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -805,7 +805,7 @@ void skill_status_change_end(dumb_ptr<block_list> bl, StatusChange type, TimerDa clif_changeoption(bl); if (bl->bl_type == BL::PC && calc_flag) - pc_calcstatus(bl->is_player(), 0); /* ステータス再計算 | Status Recalculation */ + pc_calcstatus(bl->is_player(), (int)CalcStatusKind::NORMAL_RECALC); /* ステータス再計算 | Status Recalculation */ } int skill_update_heal_animation(dumb_ptr<map_session_data> sd) @@ -1085,7 +1085,7 @@ int skill_status_effect(dumb_ptr<block_list> bl, StatusChange type, bl->bl_id, type)); if (bl->bl_type == BL::PC && calc_flag) - pc_calcstatus(sd, 0); /* ステータス再計算 | Status recalculation */ + pc_calcstatus(sd, (int)CalcStatusKind::NORMAL_RECALC); /* ステータス再計算 | Status recalculation */ if (bl->bl_type == BL::PC && updateflag != SP::ZERO) clif_updatestatus(sd, updateflag); /* ステータスをクライアントに送る | Send status to client */ |