diff options
author | jackpoz <giacomopoz@gmail.com> | 2014-01-10 22:39:08 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2014-01-10 22:39:08 +0100 |
commit | 8fcfabe784797fea46e25428492d9070adda1dc9 (patch) | |
tree | e1257c39ef71f38ed5be9f4ff8222833c393dbbe /dep/StormLib/src/SFileReadFile.cpp | |
parent | 41b613186e06e3f41549912f91e68bafa3e8c059 (diff) |
Core/Spells: Fix potions cooldown in combat
Fix a cooldown issue related to potions allowing Players in combat to use more than 1 potion in a row, especially with high latency.
This also fixes an exploit about using infinite potions in combat just by skipping the client-side check.
The original implementation c064c2e2e1eebd43b273365583dd181293bafa22 was missing a check in Spell::CheckCast() about this particular case since Potion cooldown is added only after the Player goes out of combat.
Fixes #1259 .
Diffstat (limited to 'dep/StormLib/src/SFileReadFile.cpp')
0 files changed, 0 insertions, 0 deletions