Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Misc: Removed some obsolete blank lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Jan 13, 2024
1 parent 87c5e0f commit 14c88e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27903,7 +27903,6 @@ void Player::SendItemRefundResult(Item* item, ItemExtendedCostEntry const* iece,

for (uint8 i = 0; i < MAX_ITEM_EXT_COST_CURRENCIES; ++i)
{

if (iece->RequirementFlags & (ITEM_EXT_COST_CURRENCY_REQ_IS_SEASON_EARNED_1 << i))
{
data << uint32(0);
Expand Down
1 change: 0 additions & 1 deletion src/server/game/Entities/Unit/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10254,7 +10254,6 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy)
if (player->HasAuraType(SPELL_AURA_ENABLE_WORGER_ALTERED_FORM) && !player->HasAuraType(SPELL_AURA_WORGEN_ALTERED_FORM))
player->CastSpell(player, 97709, true);
}

}

void Unit::ClearInCombat()
Expand Down
9 changes: 2 additions & 7 deletions src/server/scripts/Kalimdor/zone_durotar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ class npc_zuni : public CreatureScript
me->DespawnOrUnsummon(10000);
wp6 = false;
}

}
};

};

/*####
Expand Down Expand Up @@ -151,7 +149,6 @@ class npc_jinthala : public CreatureScript
{
npc_jinthalaAI(Creature* creature) : ScriptedAI(creature) { }
};

};

/*######
Expand Down Expand Up @@ -206,8 +203,7 @@ class npc_darkspear_jailor : public CreatureScript
Naga2->GetMotionMaster()->MovePoint(1, NagaPos);
Naga2->MonsterSay("I sshal ssslaughter you, Darksspear runt!", Language::LANG_UNIVERSAL, 0);
}
}

}
}
else
npc_darkspear_jailorAI::MovementInform(type, id);
Expand All @@ -232,8 +228,7 @@ class npc_darkspear_jailor : public CreatureScript
}
const char* text = player->getGender() == GENDER_MALE ? "Get in the pit and show us your stuff, boy." : "Get in the pit and show us your stuff, girl.";
creature->MonsterSay(text, Language::LANG_UNIVERSAL, creature);
player->KilledMonsterCredit(39062);

player->KilledMonsterCredit(39062);
}
return true;
}
Expand Down
3 changes: 1 addition & 2 deletions src/server/scripts/Kalimdor/zone_teldrassil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ enum VileTouch
SPELL_SUMMON_NATURES_BITE = 92573,
SPELL_CLEANSE_SPIRIT = 66056,
SPELL_POISON = 11918

};

#define TARINDRELLA_TEXT_ON_COMPLETE "This totem has been corrupting the eggs! It seems a greater threat looms. The Gnarlpine remain tainted by something most foul."
#define TARINDRELLA_TEXT_SPAWN "You've come to help, $c? Let us stay together for a while."
#define TARINDRELLA_TEXT_ON_KILL "My dear friends... I'm so sorry..."
Expand Down Expand Up @@ -264,7 +264,6 @@ class npc_mist : public CreatureScript
DoMeleeAttackIfReady();
}*/
};

};

void AddSC_teldrassil()
Expand Down
9 changes: 2 additions & 7 deletions src/server/scripts/Pandaria/zone_wandering_island.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ class npc_hot_air_balloon_vehicle : public CreatureScript
}
}
}

};

CreatureAI* GetAI(Creature* creature) const OVERRIDE
{
return new npc_hot_air_balloon_vehicleAI(creature);
Expand Down Expand Up @@ -540,7 +540,6 @@ class npc_master_shang_xi_wood_of_staves : public CreatureScript
for (auto&& player : playerList)
{
me->MonsterSay("$p, our people have lived the wholes of their lives on this great turtle, Shen-zin Su, but not in hundreds of years has anyone spoken to him.", Language::LANG_UNIVERSAL, player);

}
events.ScheduleEvent(EVENT_MASTER_SHANG_XI_WOODS_MOVE_POS2, 4000);
break;
Expand Down Expand Up @@ -690,7 +689,6 @@ class npc_master_shang_xi_worthy_questgiver : public CreatureScript
if (Creature* masterShangXi = creature->SummonCreature(56159, creature->GetPositionX(), creature->GetPositionY(), creature->GetPositionZ(), creature->GetOrientation(), TempSummonType::TEMPSUMMON_MANUAL_DESPAWN))
{
masterShangXi->GetMotionMaster()->MovePoint(0, masterShangXi->GetPositionX(), masterShangXi->GetPositionY(), masterShangXi->GetPositionZ());

}

return true;
Expand Down Expand Up @@ -863,7 +861,6 @@ class npc_master_shang_xi_worthy_of_passing : public CreatureScript
}
}
}

};

CreatureAI* GetAI(Creature* creature) const OVERRIDE
Expand Down Expand Up @@ -1381,8 +1378,8 @@ class npc_shu_dailo : public CreatureScript
break;
}
}

};

CreatureAI* GetAI(Creature* creature) const OVERRIDE
{
return new npc_shu_dailoAI(creature);
Expand Down Expand Up @@ -1988,7 +1985,6 @@ class npc_li_fei : public CreatureScript
{
me->SetWalk(true);
me->GetMotionMaster()->MovePoint(0, LiFeiSpawnPos);

}
}
void MovementInform(uint32 type, uint32 id) OVERRIDE
Expand Down Expand Up @@ -2055,7 +2051,6 @@ class npc_li_fei : public CreatureScript
}
}
}

};
};

Expand Down

0 comments on commit 14c88e2

Please sign in to comment.