diff options
| author | Kargatum <dowlandtop@yandex.com> | 2021-01-03 17:47:07 +0700 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-05 20:07:57 +0100 |
| commit | 373ed8f46bef3fda0ffc2c4e2b6d39527d595c8e (patch) | |
| tree | 9580280f271db59e2abdb26094ab99ec43354a18 /src/server/game/Spells | |
| parent | 05a9b2d2cb40df7daedbce2712609f6bab9ad0e1 (diff) | |
Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
Diffstat (limited to 'src/server/game/Spells')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 4 | ||||
| -rw-r--r-- | src/server/game/Spells/SpellMgr.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 6acaac3c567..0e3f05a024a 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -1268,7 +1268,6 @@ void Spell::DoCreateItem(uint32 itemId, ItemContext context /*= ItemContext::NON /* == gem perfection handling over == */ - /* == profession specialization handling == */ // init items_count to 1, since 1 item will be created regardless of specialization @@ -1288,7 +1287,6 @@ void Spell::DoCreateItem(uint32 itemId, ItemContext context /*= ItemContext::NON /* == profession specialization handling over == */ - // can the player store the new item? ItemPosCountVec dest; uint32 no_space = 0; @@ -1329,7 +1327,6 @@ void Spell::DoCreateItem(uint32 itemId, ItemContext context /*= ItemContext::NON if (Guild* guild = player->GetGuild()) guild->AddGuildNews(GUILD_NEWS_ITEM_CRAFTED, player->GetGUID(), 0, pProto->GetId()); - // we succeeded in creating at least one item, so a levelup is possible player->UpdateCraftSkill(m_spellInfo->Id); } @@ -2964,7 +2961,6 @@ void Spell::EffectSummonObjectWild() o = target->GetOrientation(); } - Map* map = target->GetMap(); Position pos = Position(x, y, z, o); QuaternionData rot = QuaternionData::fromEulerAnglesZYX(o, 0.f, 0.f); diff --git a/src/server/game/Spells/SpellMgr.h b/src/server/game/Spells/SpellMgr.h index 812ecf23b0a..bf6f239536f 100644 --- a/src/server/game/Spells/SpellMgr.h +++ b/src/server/game/Spells/SpellMgr.h @@ -119,7 +119,6 @@ enum SpellFamilyFlag SPELLFAMILYFLAG_SHAMAN_TOTEM_EFFECTS = 0x04000000 // Seems to be linked to most totems and some totem effects }; - #define SPELL_LINKED_MAX_SPELLS 200000 enum SpellLinkedType @@ -130,7 +129,6 @@ enum SpellLinkedType SPELL_LINK_REMOVE = 0 }; - // Spell proc event related declarations (accessed using SpellMgr functions) enum ProcFlags : uint32 { @@ -301,7 +299,6 @@ enum ProcAttributes : uint32 PROC_ATTR_REQ_SPELLMOD = 0x0000008, // requires triggering spell to be affected by proccing aura to drop charges PROC_ATTR_USE_STACKS_FOR_CHARGES = 0x0000010, // consuming proc drops a stack from proccing aura instead of charge - PROC_ATTR_REDUCE_PROC_60 = 0x0000080, // aura should have a reduced chance to proc if level of proc Actor > 60 PROC_ATTR_CANT_PROC_FROM_ITEM_CAST = 0x0000100, // do not allow aura proc if proc is caused by a spell casted by item }; |
