diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-07 22:08:29 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:47 +0200 |
commit | ba573fcc38580a01985172b9bc864c97ce855af3 (patch) | |
tree | ebcdbcf9a86cd35d5a8ab3bb004faa5c490c16d4 /src/common/manaserv_protocol.h | |
parent | 7dc001eb32ae5345905e108741984258ee2f1813 (diff) | |
download | manaserv-ba573fcc38580a01985172b9bc864c97ce855af3.tar.gz manaserv-ba573fcc38580a01985172b9bc864c97ce855af3.tar.bz2 manaserv-ba573fcc38580a01985172b9bc864c97ce855af3.tar.xz manaserv-ba573fcc38580a01985172b9bc864c97ce855af3.zip |
Made cooldowns of abilities scriptable
- Removed hardcoded using of attributes
- Simply introduced lua functions to set global and ability cooldowns
- Requires database update
- Bumps the protocol
Diffstat (limited to 'src/common/manaserv_protocol.h')
-rw-r--r-- | src/common/manaserv_protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h index d3f2c8b4..73ea5932 100644 --- a/src/common/manaserv_protocol.h +++ b/src/common/manaserv_protocol.h @@ -29,8 +29,8 @@ namespace ManaServ { enum { - PROTOCOL_VERSION = 4, - SUPPORTED_DB_VERSION = 23 + PROTOCOL_VERSION = 5, + SUPPORTED_DB_VERSION = 24 }; /** @@ -144,7 +144,7 @@ enum { GPMSG_BEING_ABILITY_POINT = 0x0282, // W being id, B abilityId, W*2 point GPMSG_BEING_ABILITY_BEING = 0x0283, // W being id, B abilityId, W target being id PGMSG_USE_ABILITY_ON_BEING = 0x0292, // B abilityID, W being id - GPMSG_ABILITY_STATUS = 0x0293, // { B abilityID, D current, D max, D recharge } + GPMSG_ABILITY_STATUS = 0x0293, // { B abilityID, D remainingTicks } PGMSG_USE_ABILITY_ON_POINT = 0x0294, // B abilityID, W*2 position GPMSG_ABILITY_REMOVED = 0x0295, // B abilityID GPMSG_ABILITY_COOLDOWN = 0x0296, // W ticks to wait |