diff options
author | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-05 18:59:25 -0300 |
---|---|---|
committer | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-06 21:54:53 -0300 |
commit | 2ce755870486262f8d147565f8df70ec608a3974 (patch) | |
tree | 77e2661d7d3141789722bf13ca3f4c5fd904531a /src/common/mmo.h | |
parent | 6766e7327eae2d37dcd719528fc1155938800fcc (diff) | |
download | hercules-2ce755870486262f8d147565f8df70ec608a3974.tar.gz hercules-2ce755870486262f8d147565f8df70ec608a3974.tar.bz2 hercules-2ce755870486262f8d147565f8df70ec608a3974.tar.xz hercules-2ce755870486262f8d147565f8df70ec608a3974.zip |
Updates status changes to also keep their total time
- This allows clients to continue the "timer" display after you login
again
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 66736bff0..ed74f11df 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -580,6 +580,7 @@ struct status_change_data { unsigned short type; ///< Status change type (@see enum sc_type) int val1, val2, val3, val4; ///< Parameters (meaning depends on type). int tick; ///< Remaining duration. + int total_tick; ///< Total duration. }; struct storage_data { |