mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Changue spell 9454 to 38505
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
@@ -613,10 +613,10 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
|
||||
sWorld->SendGlobalGMMessage(&data);
|
||||
|
||||
WorldLocation loc;
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
|
||||
player->TeleportTo(loc);
|
||||
player->SetHomebind(loc, 876);// GM Jail Homebind location
|
||||
player->CastSpell(player,9454);// freeze him in place to ensure no exploit happens for jail break attempt
|
||||
player->SetHomebind(loc, 876); // GM Jail Homebind location
|
||||
player->CastSpell(player, 38505); // Shackle him in place to ensure no exploit happens for jail break attempt
|
||||
|
||||
if (sConfigMgr->GetOption<bool>("Anticheat.AnnounceJail", true))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
@@ -123,10 +123,10 @@ public:
|
||||
handler->GetSession()->GetPlayer()->TeleportTo(1,16226.5f,16403.6f,-64.5f,3.2f);
|
||||
|
||||
WorldLocation loc;
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
|
||||
pTarget->TeleportTo(loc);
|
||||
pTarget->SetHomebind(loc, 876);// GM Jail Homebind location
|
||||
pTarget->CastSpell(pTarget, 9454);// freeze him in place to ensure no exploit happens for jail break attempt
|
||||
pTarget->SetHomebind(loc, 876); // GM Jail Homebind location
|
||||
pTarget->CastSpell(pTarget, 38505); // Shackle him in place to ensure no exploit happens for jail break attempt
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user