Show
Ignore:
Timestamp:
11/19/08 13:49:07 (17 years ago)
Author:
yumileroy
Message:

[svn] * Reimplemented packet/update forwarding in more generic way
* Implemented far sight spells (Far Sight, Eagle Eye, etc) at unlimited range and properly forward packets
* Implemented bind vision spells (Mind Vision, etc) to forward packets at unlimited distance
* Implemented Sentry Totem (both vision switching/forwarding and alerting)
* Other misc possession fixes
* Added .bindsight and .unbindsight commands

Please test out the above spells (including Mind Control) and report any issues on the forums.

Original author: gvcoman
Date: 2008-11-14 20:40:35-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.h

    r230 r233  
    903903        void Possess(Unit *target); 
    904904        void RemovePossess(bool attack = true);  
     905        WorldObject* GetFarsightTarget() const; 
     906        void ClearFarsight(); 
     907        void RemoveFarsightTarget(); 
     908        void SetFarsightTarget(WorldObject* target); 
     909        // Controls if vision is currently on farsight object, updated in FAR_SIGHT opcode 
     910        void SetFarsightVision(bool apply) { m_farsightVision = apply; } 
     911        bool HasFarsightVision() const { return m_farsightVision; } 
    905912 
    906913        bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options = 0); 
     
    22902297        WorldLocation m_teleport_dest; 
    22912298 
     2299        bool m_farsightVision; 
     2300 
    22922301        DeclinedName *m_declinedname; 
    22932302    private: