diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2017-04-18 21:28:39 +0800 |
---|---|---|
committer | Jedzkie <jedzkie13@rocketmail.com> | 2017-04-20 18:10:30 +0800 |
commit | ce66b7e6369c95923858c48711b1022644a87f90 (patch) | |
tree | 237e4c6cf66d03bb78931da51de9d86f21a8a821 /src/map/pc.h | |
parent | 5802b22439441be1914ae9024d6ce06d51c0210f (diff) | |
download | hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.gz hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.bz2 hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.xz hercules-ce66b7e6369c95923858c48711b1022644a87f90.zip |
Made prevent_logout effect on log-in optional
kRO does not prevent players from logging out after connecting to its zone servers.
Credits to @secretdataz of rAthena
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 0e4f1affd..482e30c41 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -73,6 +73,14 @@ enum equip_index { EQI_MAX }; +enum prevent_logout_trigger { + PLT_NONE = 0x0, + PLT_LOGIN = 0x1, + PLT_ATTACK = 0x2, + PLT_SKILL = 0x4, + PLT_DAMAGE = 0x8 +}; + enum pc_unequipitem_flag { PCUNEQUIPITEM_NONE = 0x0, ///< Just unequip PCUNEQUIPITEM_RECALC = 0x1, ///< Recalculate status after unequipping |