This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ScriptPCH.h" | |
struct Rochet2 | |
{ | |
uint8 icon; | |
std::string name; | |
uint32 HK, titleID; | |
}; | |
// {icon, "title name", honored_kills, titleID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ScriptMgr.h" | |
#include "ScriptedCreature.h" | |
#include "SpellScript.h" | |
#include "SpellAuraEffects.h" | |
#include "Player.h" | |
enum Spells | |
{ | |
SPELL_CORRUPTED_FEAR = 160000, | |
SPELL_SHA_VOLLEY = 160001, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp | |
index 3ceb20b..c18d5cb 100644 | |
--- a/src/game/Spell.cpp | |
+++ b/src/game/Spell.cpp | |
@@ -3143,8 +3143,8 @@ void Spell::_handle_immediate_phase() | |
if (m_spellInfo->Effect[j] == 0) | |
continue; | |
- // apply Send Event effect to ground in case empty target lists | |
- if (m_spellInfo->Effect[j] == SPELL_EFFECT_SEND_EVENT && !HaveTargetsForEffect(SpellEffectIndex(j))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> | |
* | |
* 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 | |
* option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************ | |
* AnimationOnLevel * | |
* * | |
* Edit By DemonicRealms * | |
* * | |
* RealityNetGaming * | |
************************************* | |
*/ | |
class AnimationOnLevel : public PlayerScript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:global ConnCount0 | |
:if ([:typeof $ConnCount0] = "nothing") do={ | |
:set ConnCount0 0 | |
} | |
:local ConnCount1 0 | |
:foreach i in=[/interface wireless registration-table find] do={ :set ConnCount1 ($ConnCount1 + 1) } | |
:if ($ConnCount0 < $ConnCount1) do={ |