Aokromes
d95a0aee76
Add missing %s to 2 emotes.
2011-12-09 20:54:20 +01:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Discover-
80720358f0
Scripts/Nagrand: Fix creature text of Maghar Prisoner and remove useless RAND() in go_warmaul_prison.
2011-10-25 23:52:55 +01:00
Discover-
fe3f19148a
DB/SAI: Convert quests Survey the Land & Illidan's Pupil from core scripts to SAI (and fix them properly)
...
Closes #3060
2011-10-23 11:10:58 +01:00
Nay
8e2440133e
DB/SAI: Convert quests 10987, 10107, 10108, 9918, 9849 from core scripts to SAI
...
Closes #1544
Closes #3055
Closes #3056
Closes #3058
Closes #3059
2011-10-23 11:00:56 +01:00
Discover-
fc174912f4
DB/Conditions: Fix quest Returning the Favor
...
Closes #3035
Also fix build (not enough Ctrl+S)
2011-10-22 17:48:09 +01:00
Nay
26b3e62b26
Scripts/Nagrand: Add a quest incomplete check in go_warmaul_prison (previous commit).
...
Thanks @Retriman
2011-10-22 17:38:26 +01:00
Discover-
8cc6750388
Scripts/Nagrand: Fix quest Finding The Survivors
...
Closes #442
Closes #3033
2011-10-22 17:33:12 +01:00
Discover-
6e1107f5fc
Scripts/Nagrand: Fix quest Totem of Kar'dash
...
Closes #3032
2011-10-22 17:30:53 +01:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
Nay
521c3fc656
Core/Scripts: Fix Build.
...
Closes #3500
Closes #3503
Thanks @raelik
2011-10-14 10:16:20 +01:00
Studioworks
2a494f1551
Fix the sequence of some lines because of my previous changes.
2011-10-13 00:08:41 +03:00
Studioworks
bb94ffc8fd
Readd accidentally removed line in my previous commit.
2011-10-12 22:14:30 +03:00
Studioworks
c7251a2b39
Core: Style cleanup in boss_illidan.cpp
2011-10-11 22:25:08 +03:00
megamage
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Shocker
7f89678bcd
Merge pull request #3278 from lost-illusion/master
...
CleanUp
2011-10-07 09:28:10 -07:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Bootz
f1ccb83dc0
REPO: Code-style change
...
* Fixed pUnit-unit
2011-10-07 10:48:56 -05:00
unknown
8acf07dbab
Random minor code cleanup
2011-09-29 22:35:00 +04:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Aokromes
0f908d4b1e
Scripts/Shadow Labyrinth: Fix wrong target of Incite Chaos spell
2011-09-18 11:26:22 +07:00
QAston
fe25ce4fa3
Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack.
2011-09-17 00:56:59 +02:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Chaplain
f5a668ae8d
Core: Cleanup.
2011-08-30 23:09:39 +03:00
Lopin
ededca3311
Core/Spells: Fixed quest Stopping the Spread
2011-08-24 15:57:14 +02:00
QAston
d4b90d1f86
Core/Spells: Remove OriginalVictim parameter from Unit::CastSpell(x,y,z) - setting unit target was enough for all spells which used it, there's never a need to cast with both unit and dest target on retail (in such cases unit target + DEST_TARGET target types are used).
2011-08-16 16:53:29 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Shauren
1e3c23a4e8
Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target
2011-07-15 12:33:03 +02:00
click
1aff85f541
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
2011-07-03 00:28:03 +02:00
click
cc02a3fa79
Core: Cleaning up hungarian notation - Phase7: pOwner -> owner
2011-07-03 00:06:11 +02:00
click
db045c40ad
Core: Cleaning up hungarian notation - Phase5: pKiller -> killer
2011-07-02 23:58:05 +02:00
click
f676585cac
Core: Cleaning up hungarian notation - Phase5: pWho -> who
2011-07-02 23:53:38 +02:00
click
f997363c08
Core: Cleaning up hungarian notation - Phase3: pVictim -> victim
2011-07-02 23:50:02 +02:00
click
70115f52f7
Core: Cleaning up hungarian notation - Phase3: pTarget -> target
2011-07-02 23:16:45 +02:00
click
169f5da8c3
Core: Cleaning up hungarian notation - Phase2: pPlayer -> player
2011-07-02 22:52:42 +02:00
click
f91ee24184
Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature
2011-07-02 22:18:03 +02:00
Spp-
bb921ae78c
Core: Do not use STL container size method to check if container is empty
2011-07-01 14:58:44 +02:00
click
a9c9ab0efa
Core: Clean up script variables to make variables consistant/standardized, and some additional warning-removals:
...
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
2011-07-01 03:00:39 +02:00
Spp-
6fd41ae50e
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
2011-06-30 14:24:56 +02:00
QAston
3137a82c7c
Core/Spells: Cleanup in Spell.h:
...
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
- Move IsQuestTameSpell function to SpellMgr.h
- Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
click
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
tobmaps
60470e4bd8
Core/Misc: Some random cleanups
2011-06-09 19:41:13 +07:00