mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
This commit is contained in:
@@ -1361,7 +1361,7 @@ public:
|
||||
DoCastVictim(SPELL_SR_SHOOT, false);
|
||||
uiTimer[2] = urand(4000, 6000);
|
||||
}
|
||||
if (me->IsWithinMeleeRange(me->GetVictim(), 6))
|
||||
if (me->IsWithinMeleeRange(me->GetVictim()))
|
||||
{
|
||||
if (uiTimer[0] <= diff)
|
||||
{
|
||||
|
||||
@@ -103,7 +103,7 @@ class npc_warp_splinter_treant : public CreatureScript
|
||||
{
|
||||
if (Unit* Warp = ObjectAccessor::GetUnit(*me, WarpGuid))
|
||||
{
|
||||
if (me->IsWithinMeleeRange(Warp, 2.5f))
|
||||
if (me->IsWithinMeleeRange(Warp))
|
||||
{
|
||||
int32 CurrentHP_Treant = (int32)me->GetHealth();
|
||||
Warp->CastCustomSpell(Warp, SPELL_HEAL_FATHER, &CurrentHP_Treant, 0, 0, true, 0, 0, me->GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user