mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
[Bug Fix] Remove possible Duel exploit. (#1911)
* [Duels] Cleanup duel response/request logic. * Fixes and function name cleanup. * Patch file name changes.
This commit is contained in:
+2
-2
@@ -783,9 +783,9 @@ public:
|
||||
|
||||
void GMKill();
|
||||
inline bool IsMedding() const {return medding;}
|
||||
inline uint16 GetDuelTarget() const { return duel_target; }
|
||||
inline uint32 GetDuelTarget() const { return duel_target; }
|
||||
inline bool IsDueling() const { return duelaccepted; }
|
||||
inline void SetDuelTarget(uint16 set_id) { duel_target=set_id; }
|
||||
inline void SetDuelTarget(uint32 set_id) { duel_target = set_id; }
|
||||
inline void SetDueling(bool duel) { duelaccepted = duel; }
|
||||
// use this one instead
|
||||
void MemSpell(uint16 spell_id, int slot, bool update_client = true);
|
||||
|
||||
Reference in New Issue
Block a user