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
QAston
3effdb2c23
Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create
2011-06-07 12:47:32 +02:00
Shauren
a644206f88
Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines
2011-05-26 23:31:46 +02:00
click
59f48c9bec
Core: Clean up a lot of whitespace, and at the same time fix non-PCH building (again)
2011-05-22 17:27:56 +02:00
TCKiper
fb4913da3d
Scripts/Nagrand: Update KillCredit for quest chain of corky
2011-05-19 15:03:58 +02:00
Ramusik
5a3877f8eb
Core/Scripts: Cleanup and improve Fel Reaver script
...
Signed-off-by: click <clickvd@gonnamakeyou.com >
2011-05-13 22:41:36 +02:00
kaelima
f6e357902f
Revert part of 82dcb31eee
2011-05-13 01:19:54 +02:00
kaelima
9a18c61ac9
Scripts/Doomlord Kazzak: Yet another typo, this one was a bit larger though.
...
No idea how I could fail this hard on this one.
2011-05-13 00:22:12 +02:00
kaelima
0b87d2a2a6
Scripts/Doomlord Kazzak: Typo in most recent commit
2011-05-13 00:17:02 +02:00
kaelima
82dcb31eee
Scripts/Doomlord Kazzak: Fix spell Mark of Kazzak, further cleanup and fix sqls added with this commit.
2011-05-13 00:15:32 +02:00
Ramusik
aa18952774
Cleanup and improve Doom Lord Kazzak script
2011-05-12 18:17:43 +03:00
Shauren
551889c42f
Core: More warning fixes
2011-05-07 20:09:45 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
click
9762c17833
Core/Buildsystem: Update copyright-headers for 2011, and adjust with the correct teamname as well.
2011-04-27 18:17:00 +02:00
Machiavelli
374eba2f5d
Scripts/Shadowmoon Valley: Fix kill credit for Enraged Spirits
2011-04-26 23:30:13 +02:00
Shauren
8898db8b27
Core: Corrected NULL usage, it should only be used with pointers, not integers
2011-04-23 15:53:48 +02:00
Supabad
e79c8a389b
Scripts/BladesEdgeMountains: Adjust script to work for quest 10545 also
2011-04-06 11:35:55 +02:00
Supabad
3e22e88f4e
Scripts/Nagrand: Add core support for quest 9923,9924,9955
2011-04-06 11:35:50 +02:00
Shauren
3fcb49c685
Core/Scripts: Removed double calls to InstanceScript's Initialize methods
2011-04-03 21:24:22 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
c2c40a4750
Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now
2011-03-09 21:32:04 +01:00
Malcrom
e689edb7c2
Scripts/Shadowmoon Valley: Remove support for NPC Nelthakaru
...
DB/Misc: Add waypoints and scripts for quest Nelthakaru's Tale (SAI)
Closes #746
2011-02-23 23:10:48 +00:00
Machiavelli
5236bf4511
Fix build with scripts included
2011-02-20 21:19:32 +01:00
Machiavelli
c1445cd475
Fix build with scripts included
2011-02-20 21:07:03 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00