Commit Graph
78 Commits
Author SHA1 Message Date
Lopin 868c1c53f2 Core/GameObjects: Unrevealed GO_FLAG_UNK1. Now GO_FLAG_NOT_SELECTABLE makes gameobjects to be unselectable even in GM mode 2011-08-19 11:45:49 +02:00
QAston a077a26aa5 Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code. 2011-08-16 19:44:18 +02:00
Manuel Carrasco d9d5bce568 Scripts/Malygos: - Applied TC code style.
- Every Hover Disk will correctly change the faction once the creature passenger dies.
                 - Player's mount will be despawned when the passenger leaves it.
2011-08-12 16:29:43 -03:00
Spp- c69b149d7e Core: Typo fix introduced in previous commit (:S) 2011-08-01 14:57:30 +02:00
Spp- 079f292b15 Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change 2011-08-01 14:51:44 +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 7303adf1eb Core/Scripts: Merged ZoneScript::ProcessEvent methods into one accepting WorldObject* parameter 2011-07-22 21:52:53 +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
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
Shauren 9a5f8dc844 Scripts/The Nexus: Fixed compile warning 2011-06-25 23:40:36 +02:00
Lopin cb40eb556a Scripts/Nexus: Fixed logic in Intense Cold achievement. Thanks joschiwald for notice 2011-06-25 19:14:20 +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 6fd2bc4f28 Scripts/Nexus: Properly fixed achievement Intense Cold 2011-06-25 16:40:10 +02:00
Lopin 2e1542d738 Scripts/Nexus: Properly fixed achievement Split Personality 2011-06-24 14:41:42 +02:00
Lopin 0263b3d434 Scripts/Nexus: Fixed reseting of achievement Chaos Theory 2011-06-23 15:46:49 +02:00
Lopin 550635ac85 Scripts/Nexus: Properly fixed achievement Chaos Theory and small cleanup 2011-06-23 11:56:05 +02:00
click 158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
QAston 677cbbb93a Scripts: Fix some crashes occuring due to unsafe use of AuraScript::GetCaster() method.
There's "returns unit which casted the aura or NULL if not avalible" written in description of the method, but who cares...
2011-06-11 12:42:01 +02:00
Manuel 507dcdf563 Scripts/Nexus: Remove a few warnings from the Malygos script
Signed-off-by: click <[email protected]>
2011-05-31 06:26:37 +02:00
QAston 79aa5233d7 Scripts/AuraScripts: Use AfterEffectApply and AfterEffectRemove hooks in scripts, where they fit better than On* hooks. 2011-05-25 19:12:41 +02:00
Shauren 24a8cc24da Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS 2011-05-14 12:26:49 +02:00
Az@zel 52bc1e5fd3 Core/Misc: more warning fixes (some of them were real logical flaws - comparison of unrelated types) (Thanks to Tassader for pointing out that one line was completely unnecessary) 2011-05-11 12:32:54 +06:00
Az@zel f73c6c40bb Core/Misc: fix compiler warnings 2011-05-11 11:12:26 +06:00
click 2717129d0d Core: Clean up whitespace and tabs 2011-05-09 10:59:54 +02:00
Shauren 551889c42f Core: More warning fixes 2011-05-07 20:09:45 +02:00
Shauren 7905200eba Core: Warning fixes 2011-05-07 19:08:50 +02:00
johnholiver a1c708d62c Scripts/Oculus: Fix Eregos loot. 2011-05-05 18:18:02 -03:00
leak 1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
Shauren d73ffc9e81 Core/Vehicles:
* Added generic solution for vehicle accessories not relying on AI calls
* Only accessories marked as minion will be respawned when the vehicle enters evade mode
* Notify the summoner's AI when vehicle accessory fails to install and despawns
2011-04-22 21:59:37 +02:00
Shauren 3fcb49c685 Core/Scripts: Removed double calls to InstanceScript's Initialize methods 2011-04-03 21:24:22 +02:00
Manuel 21a2c56af3 Scripts/Eye of Eternity: Implemented script for Malygos encounter, please report any issue you find.
Thanks for the help to Machiavelli and Shauren.

Signed-off-by: Manuel <[email protected]>
2011-03-26 21:36:06 -03: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
Shauren 9710c41a40 More warning fixes 2011-03-08 19:11:02 +01:00
Shauren 4b4d3e7450 Core/Creatures: Implemented UNIT_FLAG_PASSIVE 2011-03-06 12:22:04 +01:00
Shauren c2b0bcbd6c Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Manuel fad1acfbcf Scripts/Oculus: Fixed issues in scripts after recent changes in Oculus.
Signed-off-by: Manuel <[email protected]>
2011-01-30 15:22:36 -03:00
Manuel 187f34248d Scripts/Oculus: Implemented AI for Boss Ley-Guardian Eregos.
Signed-off-by: Manuel <[email protected]>
2011-01-26 16:57:59 -03:00
Manuel 140c0d8109 Scripts/Oculus: Make Urom's event state available for condition system.
Signed-off-by: Manuel <[email protected]>
2011-01-26 16:53:48 -03:00
leak 137b079eea Core: Generic cleanup (tab2spaces/trailing whitespace removal) 2011-01-26 01:03:35 +01:00
Manuel 20a970f96b Core/Scripts/Oculus: Fixed typo thanks to Shauren.
Signed-off-by: Manuel <[email protected]>
2011-01-24 20:13:34 -03:00
Manuel 177e3903e5 Core/Scripts/Oculus: Improved Arcane Beam ability of Azure Ring Captain (Varos Encounter)
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:57:32 -03:00
Manuel 70a45be159 Core/Scripts/Oculus: Improved Energize Core ability of Boss Varos. Thanks to Xanadu, Gyullo and Josh.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:57:11 -03:00
Manuel cd946a22de Core/Scripts/Oculus: Switched ScriptedAI to BossAI.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:56:45 -03:00
Manuel 0197c4e322 Core/Scripts/Oculus: Implemented worldstates related to Varos.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:56:26 -03:00