Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 07f3da9426 Core/EventAI: Added a db error log to EventAI loading when AIName is not set properly (we don't like stealth changes to loaded data) 2011-07-04 18:58:52 +02:00
Shauren 40b17fd862 Core/Objects: Send proper values with UPDATEFLAG_HIGHGUID 2011-07-04 13:47:23 +02:00
Shauren 5df24441d1 Scripts/Achievements: Fixed mass replace mistake 2011-07-03 13:35:36 +02:00
Shauren f3dfa8066a Scripts/Icecrown Citadel
* Fixed combat logs for Essence of the Blood Queen healing
* Added missing initialization for weekly quest status Blood Quickening
* Build fix for previous revision
2011-07-02 14:05:40 +02:00
Shauren 7ebb16a3f2 Scripts/Icecrown Citadel: Fixed room check for Blood Prince Council 2011-07-02 13:38:49 +02:00
Shauren 65a40a5437 Scripts/Icecrown Citadel: Teleporting to the Frozen Throne should now happen as on retail (with an areatrigger, not gossip), also added missing spawns to Frozen Throne and Tirion's gossip
NOTE: This does NOT mean The Lich King script is coming soon
2011-07-02 12:38:07 +02:00
Shauren f5102b6e6b Core/Scripts: Commented EventMap and added GetNextEventTime to know when will next event with given id run 2011-06-30 22:56:32 +02:00
Shauren 52f60df6a3 Scripts/Icecrown Citadel: Boiling Blood will not attempt to find a target if there isnt any 2011-06-30 09:31:46 +02:00
Shauren 1eff27f57c Core/Quests: Fixed adding autoaccept quests many times to log when started from items
Closes #2106
2011-06-28 20:16:15 +02:00
Shauren c1df981f0c SQL: Fixed line endings 2011-06-26 14:09:32 +02:00
Shauren bcd62b8d29 Scripts/Icecrown Citadel: Valithria Dreamwalker encounter should start when she is healed and fixed achievement credit
Closes #2117
Closes #2058
2011-06-26 12:47:34 +02:00
Shauren 2b1039d0e1 Scripts/Icecrown Citadel
* Removed spellmgr hacks for Boiling Blood
* Removed obsolete effect from Resistant Skin causing them to lose the aura when hit by shadow spell
2011-06-26 11:45:29 +02:00
Shauren c9a5aef061 Scripts/Icecrown Citadel
* Fixed Mark of the Fallen Champion
* Allow attacking Lady Deathwhisper during intro

Closes #2088
2011-06-26 01:12:49 +02:00
Shauren 9a5f8dc844 Scripts/The Nexus: Fixed compile warning 2011-06-25 23:40:36 +02:00
Shauren 7bdc090681 Core/GameObject: Removed useless typecast 2011-06-25 15:39:43 +02:00
Shauren 0bdbd771ce Core/Creatures: Reverted quest requirement for vendors, this has to be done differently 2011-06-24 15:11:29 +02:00
Shauren 0ae926e28e Core/Creatures: Items out of stock or items which are required for quests will no longer be displayed in vendor list 2011-06-23 21:24:16 +02:00
Shauren 65233f8e66 Scripts/Ulduar:
* Removed achievement hacks from Ignis the Furnace Master's script and scripted them properly
* Code style cleanups
2011-06-21 19:26:12 +02:00
Shauren fcea869353 SQL: Added missed changes to script fulls 2011-06-21 19:23:22 +02:00
Shauren f4047ff7dc Core/Alcohol: Drunk players will now properly see drunk-visible units. 2011-06-21 16:09:07 +02:00
Shauren 011e5a9003 Core/Achievements: Removed some hardcoded quest ids for achievement_criteria_data checks 2011-06-19 14:07:07 +02:00
Shauren d3971b4944 Core/Achievements: Allow attaching criteria scripts to any criteria type 2011-06-19 13:51:14 +02:00
Shauren 5a18ee0e66 Core/Quests: Fixed autoaccept quests for quest chains 2011-06-18 17:15:52 +02:00
Shauren 50dbb8c8a5 Core/Spells: Fixed spell effect quest complete when quest was already in target's quest log 2011-06-15 20:46:49 +02:00
Shauren fb44a609ff Core/Gossip: Fixed incorrect gossip menu texts introduced after dropping npc_gossip table 2011-06-15 18:53:55 +02:00
Shauren a6708fd595 Core/SAI: Fixed possible crashes in many SAI actions
Closes #1144
2011-06-15 17:33:06 +02:00
Shauren 1df876c3ec Core/SAI: Fixed crashes in AttackStart related to movement
Closes #1670
2011-06-15 17:32:31 +02:00
Shauren 58135913e3 SQL: Changed update by name to entry list 2011-06-14 16:29:09 +02:00
Shauren 2a46f97b72 Scripts/Icecrown Citadel: Removed unneccessary PreventDefaultAction call
Closes #1943
2011-06-12 16:11:14 +02:00
Shauren ce8977d1ce Added missed changes for previous revision 2011-06-11 13:08:23 +02:00
Shauren 9b79df7074 Core/Spells: Implemented SPELL_ATTR7_IS_CHEAT_SPELL serverside checks and allow GMs to cast these spells 2011-06-11 13:02:54 +02:00
Shauren 252ac95e1b Core/AI: Removed crappy and unused AOEAI 2011-06-11 12:17:01 +02:00
Shauren 14689c2748 Core/Spells: Removed unneeded hack 2011-06-11 10:16:25 +02:00
Shauren 1c550cba94 Scripts/Violet Hold: Changed one message to be blizzlike 2011-06-10 22:43:13 +02:00
Shauren 411deceb2a Core/ObjectMgr: Removed obsolete code 2011-06-10 22:42:44 +02:00
Shauren e1483329e0 Core/Mailsystem: Optimized returning and deleting old mails, will no longer take minutes when starting using old character db 2011-06-08 18:55:21 +02:00
Shauren 009aff2cc9 Core/Spells: Fixed targeting selection for target type 90 (TARGET_UNIT_TARGET_MINIPET)
Closes #1776
2011-06-04 12:13:27 +02:00
Shauren 665dbfd9ae Revert "Core/Transports: Fixed NPCs on transport disappearing after grid unloading"
This reverts commit 592ad10866.
2011-06-04 11:00:53 +02:00
Shauren 92af66e0a6 Scripts/Spells: Scripted Magic Rooster mount
Closes #1704
Closes #1733
2011-06-03 22:09:55 +02:00
Shauren 702424c287 DB/Templates: Fixed health for Sindragosa and Ice Tomb, thanks vcrx6 and Studioworks
Closes #1800
2011-06-03 21:36:29 +02:00
Shauren 97a5db68c2 Core/Auras:
* Fixed loading aura charges when they would exceed count set in SpellEntry while still remaining a valid value due to spell modifiers (that might not yet be active)
* Fixed refreshing aura charges when recasting the spell

Closes #1803
Closes #1786
Closes #1805
2011-06-03 21:30:50 +02:00
Shauren d9acafc2cc Scripts/Icecrown Citadel: Apply percent heal immunities to Valithria, not LK trigger, thanks HUNTERok for pointing it out 2011-05-31 18:23:24 +02:00
Shauren 5256b5abfe Core/Defines: Added missing custom errors to spell cast results, thanks Kaelima 2011-05-30 22:12:17 +02:00
Shauren 91b572d669 Tabs to spaces 2011-05-30 19:48:22 +02:00
Shauren 6eaf407616 Scripts/Icecrown Citadel: Valithria Dreamwalker should be immune to percent heals (or max heals like Lay on Hands)
Closes #1748
2011-05-30 19:33:43 +02:00
Shauren 675de592b2 Scripts/Icecrown Citadel: Added missing check in Valithria Dreamwalker's combat trigger update, this fixes constant respawning 2011-05-29 22:08:34 +02:00
Shauren 7fb8043b38 Scripts/Icecrown Citadel: Fixed Swarming Shadows on 25 man difficulties
Closes #1737
2011-05-29 18:53:35 +02:00
Shauren 1d8b298d8e Scripts/Gundrak: Bridge fix 2011-05-29 14:08:54 +02:00
Shauren 27246db7d5 Core/Auras: Replaced false with NULL since we are dealing with pointers 2011-05-29 14:01:20 +02:00
Shauren b2096c711e Scripts/Icecrown Citadel: Properly remove Uncontrollable Frenzy linked auras when entering evade more 2011-05-29 12:38:10 +02:00
Shauren 0bde74eff6 Core/Gossip: Removed hardcoded costs for dual spec and fixed handling of gossip menus with box_money 2011-05-29 12:06:16 +02:00
Shauren 60f00e4015 DB/Instances: Completing Valithria Dreamwalker encounter will now correctly bind players 2011-05-27 19:43:57 +02:00
Shauren 65fc7f7a28 Scripts/Icecrown Citadel: Valithria Dreamwalker encounter will now be ended if there is no player on combat trigger's threat list 2011-05-27 17:25:30 +02:00
Shauren 5851ec3e4f Scripts/Icecrown Citadel: Valithria Dreamwalker will now properly respawn after wiping 2011-05-27 17:15:45 +02:00
Shauren d07f6bb58f Core/Tickets: Fixed crashes in ticket unassign and comment commands
Closes #1714
2011-05-27 17:05:01 +02:00
Shauren 889cdda614 Core/Gossip: Fixed remaining issues with gossip menu items 2011-05-27 14:22:36 +02:00
Shauren 0ad14aeafd Core/Gossip: Gossip menu items will now have constant index, allowing to properly define scripts relying on that index when mixed with conditions. Script-created menus via ADD_GOSSIP_ITEM will still have the index generated dynamically 2011-05-26 23:57:17 +02:00
Shauren f91136b949 Core/Vehicles: Corrected vehicle spell bar packet, now empty slots will remain empty and spells will not be "packed" together anymore 2011-05-26 23:51:34 +02:00
Shauren 00f6164a68 Core/OutdoorPvP: Pass GossipMenuItems to CanTalkTo hook by reference 2011-05-26 23:33:05 +02:00
Shauren a644206f88 Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines 2011-05-26 23:31:46 +02:00
Shauren 7abb302d8f Core/Conditions: Prevent unneccessary copying condition list on every check 2011-05-26 23:27:43 +02:00
Shauren 0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
Shauren bafa57618c Core/Spells: Documented 2 spell attributes 2011-05-26 22:11:44 +02:00
Shauren 824e0356a8 Scripts/Icecrown Citadel: Fixed gossip text on teleporters 2011-05-26 10:49:30 +02:00
Shauren 51e7b92487 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-05-25 23:39:51 +02:00
Shauren 3d8e4300b7 Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
Closes #803
2011-05-25 23:39:17 +02:00
Shauren b378c146dc Scripts/Spells: Moved stack change checks for spell_gen_turkey_marker into new AfterEffectApply hook 2011-05-25 18:54:25 +02:00
Shauren c8f71c00a1 Core/Scripts: Added ExecuteEvent BossAI hook designed to contain event code which would otherwise be in while (uint32 eventId = events.ExecuteEvent()) switch blocks. This allows to define a base class sharing spells with other scripts 2011-05-25 18:50:44 +02:00
Shauren 5f5af1e95d Core/Spells: Implemented SPELL_ATTR3_IGNORE_HIT_RESULT. Spells with this attribute will only be subject to own spell modifiers, ignoring enemy avoidance auras such as Cloak of Shadows or Deterrence 2011-05-25 18:31:10 +02:00
Shauren 9cc7f25b9a Scripts: Removed CAST_PET and CAST_INST 2011-05-25 16:22:13 +02:00
Shauren 64adce7b8b Scripts: Removed CAST_SUM define 2011-05-25 15:55:14 +02:00
Shauren cb608283b2 Core/WaypointMgr: Fixed crashes when loading data with waypoint_data.id=0 and fixed memory leaks in .wp reload command 2011-05-24 23:13:47 +02:00
Shauren d9390bdd09 Scripts/Icecrown Citadel: Restored Sindragosa check for previously killed bosses (re-enabled Valithria Dreamwalker requirement) and fixed Valithria Dreamwalker encounter ending multiple times 2011-05-24 22:00:04 +02:00
Shauren 171065fc4b Scripts/Spells: Fixed crash in Druid T10 4P Restoration set bonus
Closes #1399
Closes #1507
2011-05-23 23:43:05 +02:00
Shauren 023595e644 Compile fix 2011-05-23 17:54:23 +02:00
Shauren 1542ff7722 Scripts/Icecrown Citadel: Fixed typo in Sindragosa spawning condition 2011-05-23 17:53:46 +02:00
Shauren f7ce41c4af Core/Spells: Fixed Anti-Magic Zone visual 2011-05-23 12:35:23 +02:00
Shauren 57177c86c3 DB/Text: Corrected text types 2011-05-22 18:38:27 +02:00
Shauren 78ea0075e1 Core/Spells: Allow overriding aura stack amount from CastCustomSpell 2011-05-21 21:36:37 +02:00
Shauren 33a8171f49 Fixed typo in file name, thx Kapoeira 2011-05-21 18:37:42 +02:00
Shauren 9368ef8a5c Scripts/Icecrown Citadel: Added text and sound for Deathbound Wards 2011-05-21 18:35:55 +02:00
Shauren 84ab669119 Scripts/Icecrown Citadel: Fixed Deathbound wards & their trap linking 2011-05-21 18:25:12 +02:00
Shauren a82a5c51dc Scripts/Icecrown Citadel: Summons during Valithria Dreamwalker encounter should enter combat when spawning 2011-05-21 16:32:34 +02:00
Shauren c3778487f0 Core/Spells: Fixed totem summoning behavior (summoning new totem while old is still active will not prevent new one from spawning) and fixed totem cooldowns
Closes #1609
Closes #1615
2011-05-21 10:58:32 +02:00
Shauren 0ab5cdef2e Scripts/Icecrown Citadel:
* Added Valithria Dreamwalker script
* Fixed Mutated Abomination on heroic mode at Professor Putricide
* Fixed saving heroic attempts to db
2011-05-20 22:20:11 +02:00
Shauren 3d620db0c1 DB/Conditions: Added target requirements for item 23417 to prevent exploits 2011-05-20 19:10:10 +02:00
Shauren 5303238744 Core/Auras: Fixed infinite mana stacking exploit 2011-05-20 17:11:53 +02:00
Shauren ac4ed1efdf Core/Spells: Moved setting UNIT_CREATED_BY_SPELL out of spell effect handlers and sending SMSG_TOTEM_CREATED into Totem class 2011-05-19 22:27:18 +02:00
Shauren 49a81557fa Core/Units: Fixed totem timer UI
Closes #298
Closes #1595
2011-05-19 18:50:57 +02:00
Shauren 69376d0e1c Core/Units: Removed calculating complete mechanic mask when checking if unit has aura with such mechanic, instead return result immediately (immunities don't need to be checked, unit won't have such aura if immune) 2011-05-19 17:46:36 +02:00
Shauren b8a7eace3e Core/Scripts: Print error when attempting to retrieve aura application target in script hook which does not have one 2011-05-19 13:22:17 +02:00
Shauren c3e1f41bc2 Scripts/Spells: Use more appropriate hook for Lifeblood calculations 2011-05-19 13:21:12 +02:00
Shauren 37145b6203 Core/Spells: Fixed spell modifiers losing charges on cancelled casts
Closes #247
Closes #640
Closes #1353
2011-05-17 13:33:24 +02:00
Shauren 63f7a6d3d9 Core/Spells: Use SpellDifficulty.dbc to check casterAuraSpell, excludeCasterAuraSpell, targetAuraSpell and excludeTargetAuraSpell
Scripts/Icecrown Citadel: Fixed Mutated Abomination not being able to eat ooze on heroic mode
Scripts/Icecrown Citadel: Removed some obsolete code

Closes #523, #1447
2011-05-17 13:17:42 +02:00
Shauren a290443738 Core/Creatures: Allow triggers to move and made all current triggers not move in db 2011-05-16 23:39:01 +02:00
Shauren 65cdf604f1 Core/CreatureTextMgr: Fixed creature yell range 2011-05-16 21:19:32 +02:00
Shauren a28da3582e Core/Objects: Fixed linked respawn cases when linking to itself in order to prevent respawning 2011-05-16 15:36:02 +02:00
Shauren 9650ba678b Core/Scripts: Implemented DOOR_TYPE_SPAWN_HOLE to use in instance script DoorData, marking doors that are only open if encounter is in progress, typically used with spawning points 2011-05-16 13:24:08 +02:00
Shauren 753718a7b0 Core/Units: Added method to check if health after heal will exceed given percentage 2011-05-16 13:23:00 +02:00
Shauren 243daed3a0 Core/Spells: Use spellLevel for miss chance calculations if caster is a trigger NPC and its level is lower than spell 2011-05-16 13:22:13 +02:00