mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(DB/TheEye): make Thaladred walk (#18629)
* init Co-Authored-By: amed80 <8395873+amed80@users.noreply.github.com> * remove walk from script and walkspeed --------- Co-authored-by: amed80 <8395873+amed80@users.noreply.github.com>
This commit is contained in:
3
data/sql/updates/pending_db_world/thaladred-movement.sql
Normal file
3
data/sql/updates/pending_db_world/thaladred-movement.sql
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
--
|
||||||
|
UPDATE `creature_template_movement` SET `Chase` = 2 WHERE `CreatureId` = 20064;
|
||||||
|
UPDATE `creature_template` SET `speed_walk` = 2 WHERE `entry` = 20064;
|
||||||
@@ -1009,7 +1009,6 @@ struct npc_thaladred : public ScriptedAI
|
|||||||
scheduler.CancelAll();
|
scheduler.CancelAll();
|
||||||
me->SetReactState(REACT_PASSIVE);
|
me->SetReactState(REACT_PASSIVE);
|
||||||
_hasDied = false;
|
_hasDied = false;
|
||||||
me->SetWalk(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustEngagedWith(Unit* /*who*/) override
|
void JustEngagedWith(Unit* /*who*/) override
|
||||||
@@ -1018,7 +1017,6 @@ struct npc_thaladred : public ScriptedAI
|
|||||||
{
|
{
|
||||||
Talk(SAY_THALADRED_AGGRO);
|
Talk(SAY_THALADRED_AGGRO);
|
||||||
}
|
}
|
||||||
me->SetWalk(true);
|
|
||||||
ScheduleTimedEvent(100ms, [&]
|
ScheduleTimedEvent(100ms, [&]
|
||||||
{
|
{
|
||||||
DoResetThreatList();
|
DoResetThreatList();
|
||||||
|
|||||||
Reference in New Issue
Block a user