mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[12069] Cleanup comment style
This commit is contained in:
parent
5efb3867f5
commit
835d1c7479
205 changed files with 2835 additions and 2835 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include "../../game/ScriptMgr.h"
|
||||
#include "../../game/SpellAuras.h"
|
||||
|
||||
//uint8 loglevel = 0;
|
||||
// uint8 loglevel = 0;
|
||||
int nrscripts;
|
||||
Script* m_scripts[MAX_SCRIPTS];
|
||||
|
||||
|
|
@ -376,10 +376,10 @@ bool EffectAuraDummy(const Aura* pAura, bool apply)
|
|||
|
||||
void ScriptedAI::UpdateAI(const uint32)
|
||||
{
|
||||
//Check if we have a current target
|
||||
// Check if we have a current target
|
||||
if (m_creature->isAlive() && m_creature->SelectHostileTarget() && m_creature->getVictim())
|
||||
{
|
||||
//If we are within range melee the target
|
||||
// If we are within range melee the target
|
||||
if (m_creature->IsWithinDistInMap(m_creature->getVictim(), ATTACK_DISTANCE))
|
||||
{
|
||||
if (m_creature->isAttackReady())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue