Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Shauren
7b95bbd2c1
Scripts/Naxxramas: Removed unneeded lines
2011-08-20 15:45:25 +02:00
Lopin
8494f2dc93
Scripts/Naxxramas: Fixed reseting of Just Can't Get Enough achievement. Thanks to Shauren for notice
2011-08-20 13:18:17 +02:00
Lopin
feb3d9ce20
Scripts/Naxxramas: Fixed achievement Just Can't Get Enough
2011-08-20 12:16:25 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +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
Machiavelli
bcdbc9517e
Scripts/Naxxramas: Remove improper unit flags from Gothik the Harvester and properly make him ignore damage taken in phase 1.
2011-07-19 20:32:31 +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
f676585cac
Core: Cleaning up hungarian notation - Phase5: pWho -> who
2011-07-02 23:53:38 +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-
6fd41ae50e
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
2011-06-30 14:24:56 +02:00
Machiavelli
299dd39d1f
Scripts/Naxxramas: Achievement The Safetey Dance (Heigan the Unclean) shouldn't be marked as failed if non players die due to erruptions. Also tiny cleanup in affected file.
2011-06-29 05:03:47 +02:00
Lopin
0cf40b897c
Scripts/Achievements: Fixed a crash in Heigan's achievement script & more possible crashes & small improvements to handling datas for achievements
2011-06-25 19:11:56 +02:00
Lopin
24f4cf6cb5
Core/Achievements: Fixed achievement Safety Dance in Heigan the Unclean's encounter
2011-06-20 17:07:01 +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
kaelima
1996832b16
Scripts/Naxxramas: Fix possible exploit on Gothik because of wrong used unitflag.
...
Changed UNIT_FLAG_OOC_NOT_ATTACKABLE to UNIT_FLAG_NON_ATTACKABLE. Thanks Aokromes for the tip.
Also some cleanup.
2011-05-30 23:00:03 +02:00
tobmaps
2de87eaaab
DB/SAI: Convert Spore cpp script to SAI. Tnx malcrom for SAI
...
Closes #1630
2011-05-28 16:51:36 +07:00
Shauren
64adce7b8b
Scripts: Removed CAST_SUM define
2011-05-25 15:55:14 +02:00
Shauren
d9ccb716fd
Scripts/Naxxramas: Removed deprecated DoCompleteAchievement
2011-05-14 12:52:35 +02:00
Shauren
82b5f9c629
Scripts: Fixed compile
2011-05-12 12:08:47 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
1a4a618d81
Core/Scripts: Code style cleanup in ScriptedAI and BossAI
2011-03-19 10:54:16 +01:00
Shauren
c2c40a4750
Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now
2011-03-09 21:32:04 +01:00
Shauren
6c020c72cc
Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1
2011-03-02 16:50:09 +01:00
Socolin
5f0d84a69e
Scripts/Naxxramas: Fix raid mode dependant spawn points of Zombie spawns during the Gluth encounter.
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 22:39:00 +01:00
Machiavelli
7ac9ffd587
Scripts/Naxxramas: Patchwerk's hateful strike can, however, hit the main tank if no other targets are in melee range.
...
Thanks to Tassader for pointing out
2011-01-06 22:24:32 +01:00
Exordian
4a6098383d
Scripts/Naxxramas: Patchwerk's hateful strike should not hit the main tank
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 21:08:07 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
82f45966fc
Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
...
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)
--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
Shauren
314376e32c
Scripts: Fixed uninitialized variables, unreferenced parameters and virtual overrides
...
--HG--
branch : trunk
2010-12-14 16:24:59 +01:00
Shauren
dd2602d3ec
Fixed line endings in 10623_world_spell_bonus_data
...
Scripts/Naxxramas: Fixed a possible crash in instance script
--HG--
branch : trunk
2010-12-12 17:32:26 +01:00
Shauren
e4e048ed57
Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel and Naxxramas)
...
Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden
Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel
Closes issue #5051 .
Closes issue #5050 .
Closes issue #5035 .
--HG--
branch : trunk
2010-12-08 17:24:31 +01:00
Spp
408fce1de6
Core: Some optimizations
...
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file
--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
leak
6fe19b5a86
Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two virtual functions each.
...
Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal.
Closes issue 5011.
--HG--
branch : trunk
2010-12-05 18:04:10 +01:00
linencloth
8fae0c176d
Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
...
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility
--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Spp
9e4357c9ad
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-24 14:44:56 +02:00
azazel
caa3a58213
Core:
...
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable
* fix some signed/unsigned warnings and some typos
--HG--
branch : trunk
2010-08-23 22:58:32 +06:00
azazel
399e35f8f5
Core:
...
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings
* fix some other warnings here and there
--HG--
branch : trunk
2010-08-22 23:46:40 +06:00
Machiavelli
d5270f9e0d
Globally find & replace InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap) -> InstanceScript* GetInstanceScript(InstanceMap* pMap) const, this makes sure instance scripts get initialized properly and prevents crashes in scripts.
...
NOTE: this either breaks or fixes crlf, have no time to check now.
--HG--
branch : trunk
2010-08-11 21:52:44 +02:00
silinoron
a094d3e281
Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
...
--HG--
branch : trunk
2010-08-09 10:37:28 -07:00
click
abd261b1a1
Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart
...
- should fix the "linking scripts" failure (not tested)
--HG--
branch : trunk
2010-08-09 01:52:26 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00