Commit Graph
100 Commits
Author SHA1 Message Date
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
Shauren 2cd2d2dd8a Core/Auras: Fixed visibility not being updated on phase shift auras when not moving 2011-05-15 00:23:31 +02:00
Shauren f7e98cd748 Fixed compile 2011-05-15 00:03:56 +02:00
Shauren 0411e6a73b Core/Stats: Fixed compile warning 2011-05-15 00:01:58 +02:00
Shauren a816cdd772 Core/Spells: Fixed TARGET_UNIT_DRIVER selection and possible problems with Righteous Defense target count 2011-05-14 14:12:40 +02:00
Shauren 77a7d9a4df DB/Achievements: Fixed typo on required type for Bloodthirsty Berserker 2011-05-14 13:49:11 +02:00
Shauren b23effb561 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-05-14 12:53:20 +02:00
Shauren d9ccb716fd Scripts/Naxxramas: Removed deprecated DoCompleteAchievement 2011-05-14 12:52:35 +02:00
Shauren 24a8cc24da Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS 2011-05-14 12:26:49 +02:00
Shauren 19bf53a0cb Core/Achievements: Added missing reset cases for achievement criterias 2011-05-14 10:50:27 +02:00
Shauren bdf43d5a9c Core/Achievements: Reset ACHIEVEMENT_CRITERIA_TYPE_HONORABLE_KILL when joining battlegrounds 2011-05-14 10:41:25 +02:00
Shauren ecc95a8690 Core/CreatureTextMgr: Converted chat types to use values found in sniff, without any need for conversions 2011-05-13 22:44:01 +02:00
Shauren 39cd19f649 Scripts/Icecrown Citadel: Added Sister Svalna gauntlet event script 2011-05-13 21:53:04 +02:00
Shauren 66a663b8e0 Core/Creatures: Added GetCorpseDelay method to creatures 2011-05-13 19:16:53 +02:00
Shauren 5652400557 Scripts/Icecrown Citadel: Blood-Queen Lana'thel - Current highest threat unit will be selected as target for Vampiric Bite 2011-05-12 22:03:16 +02:00
Shauren 82b5f9c629 Scripts: Fixed compile 2011-05-12 12:08:47 +02:00
Shauren 6396cf3e46 Core/CreatureAI: Properly initialize attack distance in CasterAI 2011-05-12 10:43:54 +02:00
Shauren c98438ae8f Core: Minor cleanup 2011-05-12 10:43:11 +02:00
Shauren 169e4bfa2b Core/SAI: Added missed changes 2011-05-12 10:42:25 +02:00
Shauren cbee5f956e Core/Spells: Removed unused variables 2011-05-12 10:41:25 +02:00
Shauren 339e8cb7e0 Core/SAI/EAI: Pass struct parameters by reference instead of value, saves unneeded copying 2011-05-12 10:40:53 +02:00
Shauren bca01dd419 Core/Players: Added missing break; 2011-05-12 10:39:29 +02:00
Shauren 32a98d343a Core/Players: Fixed possible crash in cooldown handling 2011-05-12 10:39:08 +02:00
Shauren 8e35ee612e Core/Auras: Fixed possible crash in charms 2011-05-12 10:38:40 +02:00
Shauren 53b409e756 Core/SAI: Fixed memory leak 2011-05-11 21:19:22 +02:00