Commit Graph
100 Commits
Author SHA1 Message Date
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
Manuel Carrasco 763d59aeec Core/Dungeon Finder: Added condition to avoid unnecessary checks to the joining result. 2011-08-05 21:47:12 -03:00
maanuel 360f0534ce Entities/Vehicle: Removed unneeded Spell Immunity, this fixes problems with spell 66296 (Shadow Veil). Thanks to tobmaps. 2011-06-26 22:27:00 -03:00
maanuel ea2d3563ab SQL: Renamed sql file, thanks to StewieGriffin. 2011-06-26 21:09:18 -03:00
maanuel 5c0c2ea873 Core/Spells: Fixed spell 62218 (Launch) used by npc 34793 (Catapult) in Isle of Conquest. 2011-06-26 16:03:50 -03:00
maanuel 1b9a2dc4dc Isle of Conquest: Corrected message sent when node is claimed or captured. 2011-06-23 18:41:38 -03: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
Manuel Carrasco 7e58463271 Scripts/SAI: Implemented AI for npc Murloc Lurker (it was an eventAI script), it uses the new event implemented.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-04-14 00:33:14 -03:00
Manuel Carrasco 4796848b83 Core/SAI: Implemented SMART_EVENT_IS_BEHIND_TARGET, it is triggered when the creature is behind its current target.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-04-14 00:30:32 -03:00
Manuel af49603fb8 SQL: Added forgotten data in full sql files.
Signed-off-by: Manuel <[email protected]>
2011-03-27 12:51:52 -03: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
Manuel 7a0df5876b Core/SmartAI: Moved log to debug level.
Signed-off-by: Manuel <[email protected]>
2011-03-04 00:13:25 -03:00
Manuel Carrasco ad11baffe6 Core/SAI: Implemented SMART_ACTION_INTERRUPT_SPELL action.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-15 00:29:33 -03:00
Manuel Carrasco 30916fd9ff Scrips/Spell: Implemented script for spell 26678.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-12 12:04:02 -03:00
Manuel Carrasco 6b2ffc9039 Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)

Thanks to Kaelima, Xanadu, Shauren and linencloth.

Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-10 22:36:35 -03:00
_manuel_ 71849e0efe DB/Oculus: Implemented AI for Boss Ley-Guardian Eregos (DB data for rev 11084)
Closes #428
2011-02-10 22:06:26 +00:00
Manuel 5661d9add8 Core/Spells: Stop Time should not make the caster enter in combat with the targets.
Signed-off-by: Manuel <[email protected]>
2011-01-30 16:06:24 -03: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
Manuel 6dbae56f57 Core/SQL: Fixed typo in world_scripts_full.
Signed-off-by: Manuel <[email protected]>
2011-01-25 01:57:57 -03: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 ba204ae3a7 Core/SQL: Added forgotten sql data.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:58:07 -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
Manuel fb950c00ee Core/ZoneScript: Implemented OnCreatureDeath function.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:56:06 -03:00
Manuel 76e4b6dda4 Core/Scripts/Oculus: Implemented AI for boss Varos Cloudstrider <Azure-Lord of the Blue Dragonflight>.
Signed-off-by: Manuel <[email protected]>
2011-01-20 12:37:41 -03:00
Manuel 9c7e0702a6 Core/Spell: Modified ImplicitTargets of spells 54069 and 56251 for correct functionality. Thanks to Xanandu and click.
Signed-off-by: Manuel <[email protected]>
2011-01-20 12:31:17 -03:00
Manuel 19634e7fce Core/ZoneScript: Implemented ProcessEvent function for units.
Signed-off-by: Manuel <[email protected]>
2011-01-20 12:27:08 -03:00
Manuel 98d3cc01d5 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-01-16 15:13:22 -03:00
Manuel 7b7327acdc Core/Scripts: Fixed issues with Drakkari Colossus/Elemental after recent changes. 2011-01-16 15:12:51 -03:00
Manuel 58564cc496 Core/Scripts: Rewritten Drakkari Colossus encounter from Gundrak.
Signed-off-by: Manuel <[email protected]>
2011-01-15 19:03:32 -03:00
Manuel 3ab85db411 Core/Player: Pets are unsummoned after spec switch. Fixes #180 2011-01-14 13:38:56 -03:00
Manuel cdf60d0643 Core/SQL: Assigned script npc_four_car_garage to creature 35273. 2011-01-09 21:12:17 -03:00
Manuel 014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00
Manuel 644902d369 Core/SQL: Fixed typo in sql file name. Thanks to laly. 2011-01-09 02:03:14 -03:00
Manuel 5cf76896eb Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
Anyway the map is not yet playable, there are issues not related with the script.

I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
_manuel_ 6f551d853f Core/Scripts: Novos the Summoner should only summon 4 Crystal Handlers.
--HG--
branch : trunk
2010-12-15 12:16:31 -03:00
_manuel_ 51a66dc427 Core/Scripts: Implemented core script for quest "Stunning Defeat at the Ring" (11300), original code from ScriptDev2 thanks to kiper for porting, also for a full functionality for this quest you need the DB scripts made by him.
--HG--
branch : trunk
2010-12-03 17:36:07 -03:00
_manuel_ ada9c4ae98 Core/CreatureAI: Implemented SummonedCreatureDies function for scripting, it is called when the summoner's summon dies.
--HG--
branch : trunk
2010-12-03 14:23:49 -03:00
_manuel_ 651ff8565a Core/Scripts: Implemented script for quest The hunt is on (11794).
--HG--
branch : trunk
2010-12-01 15:29:35 -03:00
_manuel_ 5674f81e51 Core/Spells: Deterrence should deflect Death Grip.
Fixes issue 4582.

Based on gastuslg´s patch and thanks to click.

--HG--
branch : trunk
2010-11-09 23:02:47 -03:00
_manuel_ 3ee05b26ce Core/Spells: Now you can cast the Water Elemental's Freeze without cancelling its Waterbolt.
Author: dr.tenma

Fixes issue #4215

--HG--
branch : trunk
2010-10-22 17:22:38 -03:00
_manuel_ 4ab3b63646 Core/Scripts: Applied some Coding Standards.
--HG--
branch : trunk
2010-10-21 23:24:12 -03:00
_manuel_ 8ad97b1a47 Core/Scripts: Uldaman improvements.
Uldaman now is near to 99% blizzlike, datas and events are fully rewriten.
* Add save to instance.
* Add support for quest 2240 (Hidden Chamber).
* Archeadas Encounter more blizzlike.
* Ironaya Event (and animation) now working for Horde and Ally.

Author: D_Skywalk

Closes issue #4431.

--HG--
branch : trunk
2010-10-21 20:54:47 -03:00
_manuel_ ecfd91a77d Core/Scripts: Target Dummies can be stunned in retail, and they leave combat after 5 seconds (it starts to count after the last damage done) not 10.
--HG--
branch : trunk
2010-10-15 00:00:23 -03:00
_manuel_ 61fcd1fade Core/Spells: Righteous Vengeance should proc with Divine Storm, Judgements and Crusader Strike criticals, fixed by cryser99.
Fixes issue 3082.
Fixes issue 2760.

--HG--
branch : trunk
2010-10-14 22:48:12 -03:00
_manuel_ 4aff9d0203 Core/Player: Added value for counting root times, used by SMSG_FORCE_MOVE_ROOT & SMSG_FORCE_MOVE_UNROOT. Actually I am not sure for what it is. Thanks to linencloth for help.
--HG--
branch : trunk
2010-10-05 23:02:46 -03:00
_manuel_ 91858c4ff8 Core: Fixed compile.
--HG--
branch : trunk
2010-10-01 21:24:50 -03:00
_manuel_ dfa401faf6 Core/Quests: Modified Quest System to support DF quests, the will work at the same time with daily quests but in parallel; in this way they will not count in the daily quests limit. Again, thanks to Spp & Gyullo.
--HG--
branch : trunk
2010-10-01 20:32:00 -03:00
_manuel_ 6246d79b55 Core/Dungeon Finder: Modified LFGMgr to use DF quests to reward.
* In this way we will store the character's day progress in the db, preventing to lose the information because of a crash/restart/shutdown.

Patch by Gyullo and me, thanks to Spp & linencloth for help.

* The next commit will modify the current Quest System to support DF quests.

--HG--
branch : trunk
2010-09-28 00:19:37 -03:00
_manuel_ 524a584345 Core/Quests: Implemented new flags to QuestFlags enum.
--HG--
branch : trunk
2010-09-19 21:03:07 -03:00
_manuel_ c4ed3430cf Core/Players: Better check for weekly quests in RewardQuest function.
--HG--
branch : trunk
2010-09-19 13:24:21 -03:00
_manuel_ 997b9e6b22 Fixed issues with The Second Trial (Q9686).
P.S: Now my System Date is right!

--HG--
branch : trunk
2010-07-25 01:34:35 -03:00
_manuel_ 9c16014f1e Added missing data to world_database.sql forgotten in commit 9000.
--HG--
branch : trunk
2009-07-23 22:27:01 -03:00
_manuel_ 3f9086fb4f Fixed resist chances with Positive Auras.
BIG thanks to QAston.

--HG--
branch : trunk
2010-07-22 13:04:47 -03:00
_manuel_ 3c1887aab9 Fixed problems with Sacred Cleansing, by QAston.
Fixes issue 546.

--HG--
branch : trunk
2010-07-15 19:31:40 -03:00
_manuel_ 3fad2782f1 Fixed compile warnings, thanks to jurkovic.nikola
--HG--
branch : trunk
2010-06-05 12:50:22 -03:00
_manuel_ 373fc63a50 Removed some unnecessarily code, implemented guid store for chests, removed pointers.
--HG--
branch : trunk
2010-06-05 11:38:52 -03:00
_manuel_ 5718cabd9c Implemented script for Sunreaver Guardian and Silver Covenant Guardian.
--HG--
branch : trunk
2010-05-29 14:19:00 -03:00
_manuel_ 78cb29a30d Implemented areaflag hacks for areas Sunreaver Pavilion and Silver Covenant Pavilion.
--HG--
branch : trunk
2010-05-29 14:13:56 -03:00
_manuel_ 033d688d8e Re-implemented pointers to npcs, now quest "The Attack" is working again.
Resolves issue #1567

--HG--
branch : trunk
2010-05-26 17:04:23 -03:00
_manuel_ 4658b3be97 Modified SCRIPT_COMMAND_TELEPORT_TO now it can be used for Creatures. For players datalong2 must be 0 for creatures 1.
--HG--
branch : trunk
2010-05-25 22:11:36 -03:00
_manuel_ a7ebcc91cf - Applied TrinityScript Developing Standards.
- Now the fellhunter will move to the corpse and then cast the spell.
- Removed code from Reset() that can cause crash, check if the owner exist before do MoveFollow.

--HG--
branch : trunk
2010-05-24 12:10:09 -03:00
_manuel_ b6add13f9e Fixed checks for Disarm Trap, thanks to Spp.
--HG--
branch : trunk
2010-05-23 22:17:01 -03:00
_manuel_ 8460168e5f Removed tabs
--HG--
branch : trunk
2010-05-23 18:20:10 -03:00
_manuel_ 83afcd9061 Disarm Trap now can be used in BattleGrounds and Arenas.
--HG--
branch : trunk
2010-05-23 18:06:22 -03:00
_manuel_ 18e19eaeed Making use of SetFlying function in Creature::Create instead of AddUnitMovementFlag(MOVEMENTFLAG_FLY_MODE|MOVEMENTFLAG_FLYING);
--HG--
branch : trunk
2010-05-22 23:37:59 -03:00
_manuel_ e6ba336f91 Sorry, removed unused code.
--HG--
branch : trunk
2010-05-20 19:09:42 -03:00
_manuel_ eae2426f40 The Nexus: Oculus.
- Implemented AI for Mage-Lord Urom.

--HG--
branch : trunk
2010-05-20 19:05:18 -03:00
_manuel_ d3f0bddd3f Makes cage doors open at Drakos death.
--HG--
branch : trunk
2010-05-16 16:37:19 -03:00
_manuel_ 4671e6fd99 Support for spell 51336 (Magic Pull).
--HG--
branch : trunk
2010-05-16 11:03:47 -03:00
_manuel_ 80a5ddcac3 Improvements in boss_draoksAI and npc_unstable_sphereAI, removed hack for spell 51336.
--HG--
branch : trunk
2010-05-16 11:03:18 -03:00
_manuel_ 28bbc233d1 Added missing newscript = new Script; , my fault. Thanks to Anubisss.
--HG--
branch : trunk
2010-05-13 11:36:18 -03:00
_manuel_ 899736d89c Changes in scripts for quest chain The Amphitheater of Anguish:
- Added blizzlike content, like texts.
- Corrected some spells and timers.
- As i saw in offi can be more than 1 player doing different parts of the chain at the same time.
- Added code to prevent the npc gets out of the ring.
- Added support for The Amphitheater of Anguish: From Beyond.

--HG--
branch : trunk
2010-05-13 11:09:10 -03:00
_manuel_ 31318eabfd Fixed weekly quest reset by Gyullo.
--HG--
branch : trunk
2010-04-26 17:52:57 -03:00
_manuel_ c972765e0a Implemented script for areatriggers 5332,5338,5334 and 5340, related with quest Last Rites.
--HG--
branch : trunk
2010-04-23 16:11:57 -03:00
_manuel_ b0daeeb4ab Added missing return;
--HG--
branch : trunk
2010-04-20 22:53:35 -03:00
_manuel_ c1d3c2a31d Implemented npc_locksmith script for npcs 29665,29725,29728. Code from ScriptDev2.
--HG--
branch : trunk
2010-04-20 22:25:26 -03:00
_manuel_ f928c04734 Improvements in npc_warmage_violetstandAI
--HG--
branch : trunk
2010-04-18 10:56:12 -03:00
_manuel_ 160666fa00 Fixed faction issue with vehicles in BattleGrounds. Thanks to Gyullo for help and Rat for idea.
--HG--
branch : trunk
2010-04-04 20:00:07 -03:00
_manuel_ a5c09f5d44 Corrected Ferocious Inspiration entry.
--HG--
branch : trunk
2010-04-04 14:54:11 -03:00
_manuel_ ffd133388a Merge
--HG--
branch : trunk
2010-04-03 13:40:05 -03:00
_manuel_ b835df6153 Implemented more stack rules for player spells. See --> pastebin.com/8LHknLgr
Thanks to QAston.

--HG--
branch : trunk
2010-04-03 13:34:03 -03:00
_manuel_ 77a6c20e12 Implemented:
* Script at_aldurthar_gate for quests 13315 and 13351.
* Script at_warsong_farms for quest 11686.
* Script at_stormwright_shelf for quest 12741.

Code from ScriptDev2.

Before execute sql updates, apply TDB fix. New Fix Submissions > Core related DB content

--HG--
branch : trunk
2010-04-02 16:13:05 -03:00
_manuel_ 21a5f99201 Corrected gossip script npc_hira_snowdawn. Thanks to wowgargamel.
--HG--
branch : trunk
2010-04-02 14:46:11 -03:00
_manuel_ 9f544d2f93 Implemented script for vendor/trainer Hira Snowdawn.
--HG--
branch : trunk
2010-04-01 12:58:02 -03:00
_manuel_ ecba58c8f6 Fix hardmode achievement from Obsidiam Sanctum
Fix Flame Tsunami aura and visual effects

Author: Gyullo

--HG--
branch : trunk
2010-03-26 23:16:22 -03:00
_manuel_ 2cb7a31512 Corrected script for Glyph of Feral Spirit, aura must be checked on Owner not Pet. By Gyullo.
--HG--
branch : trunk
2010-03-26 22:19:03 -03:00
_manuel_ 49c5be6d80 Improvement in npc_mageguard_dalaranAI.
--HG--
branch : trunk
2010-03-26 22:13:04 -03:00
_manuel_ 2796f08297 Support for spell Disarm Trap.
--HG--
branch : trunk
2010-03-26 22:04:38 -03:00
_manuel_ e34a7d3134 Merge
--HG--
branch : trunk
2010-03-21 15:22:40 -03:00
_manuel_ 2318d74dde Added missing sql for last commit.
--HG--
branch : trunk
2010-03-21 15:07:13 -03:00
_manuel_ fae77f2621 Add additional field for storage of speed_run rate of creature
This allow independent rate of walk vs run speed. Existing field renamed to explicit speed_walk.

Note that default database rate for run is a result of the most common value seen, 8.0/7.0

Author: NoFantasy.

--HG--
branch : trunk
2010-03-21 14:57:49 -03:00
_manuel_ 02a9cd6a43 Improvements in boss_four_horsemen script.
--HG--
branch : trunk
2010-03-11 16:42:40 -03:00
_manuel_ ca033148c9 Backed out commit 3cb8647899, values are in dbcs, if you have issues with the spell try to show us the debug lines.
--HG--
branch : trunk
2010-03-08 23:17:26 -03:00
_manuel_ 887583bf09 Support for quest Doing your Duty by Malcrom. Thanks to Supabad.
--HG--
branch : trunk
2010-03-08 11:07:47 -03:00
_manuel_ 1a4c7c34fe Fix SoTA draw game by Gyullo.
--HG--
branch : trunk
2010-03-05 14:43:19 -03:00