DB/GameObject: Curious Pirate Landmark

This commit is contained in:
Aokromes committed 2017-11-16 22:20:30 +01:00
1 parent 58c2e871a9
commit de410a1d51
2 files changed
+7 -2

No files matched your search

@@ -0,0 +1,5 @@
--
SET @OGUID := 200629;
DELETE FROM `gameobject` WHERE `guid`=@OGUID;
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`PhaseId`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
(@OGUID,195206,1,1,169,-1161.73, -3605.03, 93.5951, -1.58825,0, 0, -0.71325, 0.70091, 300, 100, 1);
@@ -335,7 +335,7 @@ public:
{
}
void Reset()
void Reset() override
{
me->GetMotionMaster()->MoveRandom(7.0f);
me->SetReactState(REACT_AGGRESSIVE);
@@ -350,7 +350,7 @@ public:
me->GetMotionMaster()->Clear(MOTION_SLOT_IDLE);
}
void DamageTaken(Unit* attacker, uint32& damage) override
void DamageTaken(Unit* /*attacker*/, uint32& damage) override
{
if (damage >= me->GetHealth())
damage = me->GetHealth() - 1;