Trap converted to use xyz_location as m_Position instead of x, y, z

This commit is contained in:
Arthur Ice
2014-11-30 18:10:30 -08:00
parent 54bc1b06e4
commit 2546c6c226
6 changed files with 74 additions and 85 deletions
+1 -3
View File
@@ -53,9 +53,7 @@ public:
Timer respawn_timer; //Respawn Time when Trap's been disarmed
Timer chkarea_timer;
uint32 trap_id; //Database ID of trap
float x; //X position
float y; //Y position
float z; //Z position
xyz_location m_Position;
float maxzdiff; //maximum z diff to be triggerable
float radius; //radius around trap to be triggerable
uint8 chance; //%chance that the trap is triggered each 'tick'