Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 8a3ced48c1 Core/Scripts: Limited possible phase number for EventMap to prevent overflows 2011-10-05 16:43:43 +02:00
Shauren 26c76bf388 Core/Spells: Implemented SPELL_AURA_BLOCK_SPELL_FAMILY 2011-10-02 16:23:52 +02:00
Shauren 2a34c5e4c8 Core/Auras: Fixed crashes in Infusion of Light and Frozen Power proc handlers
Closes #3271 & #3272
2011-09-30 18:45:49 +02:00
Shauren 8305b0240b Core/DB: Fixed a crash on shutdown under msvc compiler 2011-09-30 18:42:26 +02:00
Shauren 5d37116ea6 Core/Spells: Allow ProcessEvent hook to run in EffectSendEvent when spell caster is a player 2011-09-30 18:41:30 +02:00
Shauren cde2427cab Core/Movement: Players should not get instantly teleported to graveyard when falling under map 2011-09-30 18:40:09 +02:00
Shauren da54fb92d5 Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back) 2011-09-30 18:24:12 +02:00
Shauren e579703e88 Core/Spells: Fixed Shaman T10 shoulder visual 2011-09-28 22:57:34 +02:00
Shauren 7040ef5877 Scripts/Icecrown Citadel: Mark of the Fallen Champion will ignore armor now 2011-09-27 21:44:29 +02:00
Shauren 062e645637 Scripts/Spells: Bloodlust/Heroism handling changed, it is now possible to use these spells even if caster is under Sated/Exhaustion debuff 2011-09-25 15:08:48 +02:00
Shauren b07cc3751f Core/Scripts: Added NULL checks to new target selectors, threat references aren't guaranteed to be valid always, also added (default true) player typeid check to NonTankTargetSelector 2011-09-24 23:30:11 +02:00
Shauren da0229da8f Core/Scripts: Implemented 2 new target selectors, one specialized for spells, checking auras, range and attributes; and the other is a very simple non-tank selection what is sufficient for most cases 2011-09-24 19:40:57 +02:00
Shauren 29ba648fa3 Scripts/Icecrown Citadel: Fixed possible crash in npc_darnavanAI
Closes #3188
2011-09-24 11:29:49 +02:00
Shauren 154c7ce79c Core/Spells: Fixed Brewfest - Attack Keg spell damage 2011-09-22 20:16:47 +02:00
Shauren 3d4f9a0d1c Core/World: Shutdown messages are now sent in blizzlike intervals (every 15 seconds under 5 minutes and every minute under 15 minutes) 2011-09-20 11:40:08 +02:00
Shauren 80800def40 Core/Scripts: Reverted part of 7afb179185, fixes selecting random target starting at given position
Closes #3127
2011-09-20 09:03:12 +02:00
Shauren a11bee31c3 Core/SmartAI: Corrected validation check for SAI action summon, type parameter 2011-09-19 14:41:21 +02:00
Shauren 7c3f40b6b7 Compile fix 2011-09-19 13:33:19 +02:00
Shauren ff66d933d8 Scripts/Icecrown Citadel
* Traps after Deathbringer Saurfang will not turn off anymore
* Fixed Valithria Dreamwalker adds not attacking players

Closes #2343
Closes #2485
Closes #2815
2011-09-19 12:21:36 +02:00
Shauren 8ce80db6e6 Scripts/Icecrown Citadel
* Suppresser adds will not melee attack Valithria Dreamwalker (they still can do that to players)
* Changed DoZoneInCombat calls on summons to randomly selected target from summoner's threat list as the former fails if there is noone within 50 yards

Closes #3094
2011-09-18 11:50:52 +02:00
Shauren a644e0d951 Core/Entities: GameObject's m_unique_users will now store full guids to get rid of silly casts 2011-09-17 13:20:21 +02:00
Shauren 63b62d4ad0 Core/Grids: Added GameObjectWorker 2011-09-17 13:18:42 +02:00
Shauren 94e5ff6549 Core/Commands: Removed setting orientation from cast commands 2011-09-17 12:16:33 +02:00
Shauren f356f65fa6 Core/Spell: Remove obsolete check, its already handled in a better way using SpellScript 2011-09-16 12:32:09 +02:00
Shauren 113080dace Core/Spells: Temporarily commented out SPELL_ATTR6_CAN_TARGET_UNTARGETABLE check, needs more research 2011-09-16 12:27:00 +02:00
Shauren 732e27f1e8 Core/Spells: Spells having the same effect types on multiple effects will now select them at the same time (except targets selected by entry) to ensure correct behavior with MaxAffectedTargets use 2011-09-16 11:40:53 +02:00
Shauren c93c27d056 Scripts/Icecrown Citadel:
* Mark of the Fallen Champion should be a debuff
* Fixed periodic damage taken from Twisted Nightmare on heroic difficulties of Valithria Dreamwalker encounter
2011-09-16 11:29:35 +02:00
Shauren 9006e4e8dc DB/Templates: Corrected immunity set for ICC bosses 2011-09-15 10:56:04 +02:00
Shauren b7f6416ee3 Core/Spells: Fixed summoning to instances 2011-09-15 00:02:45 +02:00
Shauren ea14e096ac Core/Entities: Vehicles should be able to be both source and target of map scripts 2011-09-06 10:33:45 +02:00
Shauren f13f32c972 Core/Achievements: Award normal mode achievements when instance was done on heroic mode 2011-09-05 15:21:37 +02:00
Shauren 663e00dc1e Scripts/Icecrown Citadel: Despawn Rot worms when reseting Valithria Dreamwalker
Closes #2875
2011-09-03 11:05:35 +02:00
Shauren f15704d22b Some missed things 2011-09-03 10:03:21 +02:00
Shauren d4df023e62 Oops, missed this (could have caused crashes) 2011-09-02 23:53:04 +02:00
Shauren 7e2c7a6989 Scripts/Icecrown Citadel
* Replaced custom check classes with new Trinity::UnitAuraCheck
* Rotface will no longer select separate players for each effect of Mutated Infection

Closes #2866
2011-09-02 23:49:23 +02:00
Shauren e3f4cca534 Core/Arena: Players online but not in world will now gain their arena points as intended 2011-09-02 16:09:32 +02:00
Shauren b5cfd08a10 Scripts/Icecrown Citadel
* Despawn all kind of summons when Blood Prince Council encounter finishes
* Properly remove Delirious Slash debuff on all difficulties
* Increased delaying events when Blood-Queen Lana'thel's air phase happens, she should no longer cast anything before flying
* Remove Mutated Infection debuff when Rotface dies
2011-09-02 12:52:27 +02:00
Shauren b12c75ecfa Scripts/Icecrown Citadel: Fixed Blood-Queen Lana'thel's target selection for Bloodbolt Whirl 2011-09-01 00:00:19 +02:00
Shauren 0fb5c2947f Revert "Rotface should only cast Mutated Infection on one player."
This reverts commit b0ec389e1f.
2011-08-31 23:58:41 +02:00
Shauren 3be7485020 Yet another missed change, i should probably start reading what i change... 2011-08-30 12:58:10 +02:00
Shauren d8fcc9ef46 Core/Objects: Properly clear update mask after sending update packets, thanks Havenard for pointing it out
Closes #2799
2011-08-30 12:38:41 +02:00
Shauren 4138b6e48e Scripts/Icecrown Citadel: Valithria Dreamwalker will be immune to healing from Glyph of Dispel Magic 2011-08-29 13:22:20 +02:00
Shauren 240534ba2f Scripts/Icecrown Citadel: Removed crashing script for Expunged Gas and moved it to where it belongs - proc system 2011-08-29 13:17:08 +02:00
Shauren 582ca004dc Scripts/Icecrown Citadel: Fixed Professor Putricide variable debuffs on 25man heroic mode 2011-08-28 20:41:34 +02:00
Shauren 8c707a13de Core/Objects: Changed how update fields changes are identified, no longer storing old value to compare with new. Instead fields are now simply marked if changed. This means that even if a field changes back to its original value, packet will be sent anyway (client expects it for some fields like shapeshift) 2011-08-28 18:31:37 +02:00
Shauren 8cf3e5536a Scripts/Icecrown Citadel: Fixed eating ooze ability
Closes #2707
2011-08-28 18:27:34 +02:00
Shauren 8ca3912eed Scripts/Icecrown Citadel: Fixed crashes in spell_putricide_expunged_gas_SpellScript 2011-08-28 17:59:34 +02:00
Shauren b94a6f63c5 Core/Auras: If the creature whose model is used for SPELL_AURA_TRANSFORM is a trigger, apply trigger model rules to the creature as well 2011-08-28 17:36:02 +02:00
Shauren 28a8732c8b Scripts/Icecrown Citadel
* Fixed Lord Marrowgar's Coldflame
* Fixed crashes cause by recent targeting changes in Professor Putricide
* Corrected target usage in Rotface's Ooze Explosion spell script
* Added missing previous bosses killed check to Valithria Dreamwalker
2011-08-27 17:02:44 +02:00
Shauren 7e1f3ceb44 DB/Templates: Added equipment template for Terenas Menethil 2011-08-23 15:49:06 +02:00
Shauren 730f3cd7e9 Core/Weather: Added one more weather state 2011-08-23 14:23:27 +02:00
Shauren cb9985c054 Core/Spells: Check SPELL_AURA_PREVENT_RESSURECTION on targets for resurrection spells 2011-08-21 19:03:24 +02:00
Shauren 7cea5a1f5b Core/SpellMgr: Corrected indentation in SpellMgr::LoadDbcDataCorrections 2011-08-21 15:01:40 +02:00
Shauren ce27105a68 Core/Spells: Also prevent using self-resurrection spells like Reincarnation when under effect of SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 14:38:21 +02:00
Shauren 5f6c6d3925 Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 12:42:22 +02:00
Shauren 080c420e6a Core/SpellScripts: Added method to access m_spellValue in script 2011-08-20 15:47:35 +02:00
Shauren 7b95bbd2c1 Scripts/Naxxramas: Removed unneeded lines 2011-08-20 15:45:25 +02:00
Shauren 1c606d0d0c Core/Battlegrounds: Don't send SOTA transports removal twice 2011-08-17 12:02:34 +02:00
Shauren d2ae95ec00 Scripts/Pit of Saron: Removed unneccessary line 2011-08-16 15:03:51 +02:00
Shauren bac78de203 Core/Battlegrounds: SotA will no longer crash in update 2011-08-13 12:28:36 +02:00
Shauren f03ef48b3e Core/Object: Removed incorrect code (never affected anything) 2011-08-13 11:44:51 +02:00
Shauren 6ea362e9e0 Core/PacketIO: Documented structure of SMSG_OVERRIDE_LIGHT 2011-08-13 11:44:05 +02:00
Shauren f797f9f74d Core/Spells: Failed triggered spell casts will no longer cause the proc aura that triggered them to be removed (this behavior should only apply to channeled spells), also corrected UNIT_FIELD_CHANNEL_OBJECT setting 2011-08-12 13:22:53 +02:00
Shauren 8e2a32906d Core/Gridmonster: Increased upper value for search radius to size of grid 2011-08-08 13:16:03 +02:00
Shauren f4f16aea28 Core/Spells: Fixed radius of Mutated Plague (Professor Putricide encounter)
Closes #2521
2011-08-07 16:48:39 +02:00
Shauren 6ebca04861 Core/Misc: Removed existence check from HandleSetSelectionOpcode and moved setting faction visible to gossip open 2011-08-06 18:48:58 +02:00
Shauren 68d34ab3c2 Scripts/Icecrown Citadel: Blood-Queen Lana'thel will now target every player only once during air phase
Closes #764
2011-08-04 10:36:27 +02:00
Shauren fa4b659964 Compile fix for f899c92899 2011-08-01 15:58:51 +02:00
Shauren f736c64836 Scripts/Icecrown Citadel: Added emote warning for Mutated Infection at Rotface 2011-08-01 12:49:12 +02:00
Shauren f899c92899 Core/Spells: Use ModStackAmount for CastCustomSpell with aura stack value if the aura is refreshed on target 2011-08-01 12:05:30 +02:00
Shauren a80b36c2f3 Core/Spells: Limited SPELL_ATTR3_PLAYERS_ONLY attribute to only allow players, not pets and totems. This fixes many boss area spells incorrectly selecting pets and totems as their targets. 2011-08-01 11:17:34 +02:00
Shauren 8753a18263 Core/Auras: Corrected SPELL_AURA_CLONE_CASTER and mirror image opcode handling, will no longer rely on incorrectly used creator guid 2011-07-31 16:43:54 +02:00
Shauren 0cb2a95a04 Scripts/Icecrown Citadel: Fixed orientation of Ice Bomb trigger spawns, spell should now work as intended 2011-07-29 23:06:25 +02:00
Shauren c063639ce0 Scripts/Icecrown Citadel: Sindragosa will no longer attempt to enter both last phase and air phase 2011-07-29 21:37:33 +02:00
Shauren 3e5aa2d1ff Core/Movement: Implemented methods to animate creatures landing and takeoff and use them in Sindragosa script 2011-07-27 12:40:14 +02:00
Shauren b9a6e2333c Core/Spells: Removed implicit casts from SpellImplicitTargetInfo, fixed copypaste mistakes and one crash 2011-07-27 12:35:59 +02:00
Shauren 16a1435a0b Core/GameObjects: Prevent repeating damage/destruction events when the gameobject is already in that state 2011-07-24 23:55:14 +02:00
Shauren bd45e59e9f Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-07-23 00:23:27 +02:00
Shauren 18d4daf539 Revert "Scripts/Icecrown Citadel: Fixed Sindragosa first air phase entering condition (when reaching 85% health, not timed)"
This reverts commit c1fb71fefc.
2011-07-23 00:22:38 +02:00
Shauren 7303adf1eb Core/Scripts: Merged ZoneScript::ProcessEvent methods into one accepting WorldObject* parameter 2011-07-22 21:52:53 +02:00
Shauren ba4c4d8943 Core/GameObject: Added missed change to destructible health setting 2011-07-22 21:42:17 +02:00
Shauren 74e2d981ac Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair 2011-07-22 21:22:05 +02:00
Shauren 0a4f18fab3 Compile fix and removed unneeded call in HomeMovementGenerator initialization 2011-07-22 20:10:48 +02:00
Shauren 6b1a7497dc Scripts/Icecrown Citadel: Fixed Precious' Plagued Zombies duration
Closes #2365
2011-07-22 19:05:46 +02:00
Shauren 19036d260a Scripts/Icecrown Citadel
* Fixed Gas Spore resistance debuff
* Removed obsolete scripts since aura stacking changes

Closes #2285
2011-07-15 14:41:49 +02:00
Shauren 1e3c23a4e8 Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target 2011-07-15 12:33:03 +02:00
Shauren bc1f668471 SQL: Corrected comment, oops bad copypasta 2011-07-08 18:29:32 +02:00
Shauren 39be194fd0 Core/Object: Removed unused LoadValues method 2011-07-08 18:18:04 +02:00
Shauren d12194a006 Core/Units: Removed unused vehicle check 2011-07-08 18:16:28 +02:00
Shauren 34124f6ce9 Scripts/Icecrown Citadel
* Lord Marrowgar's Coldflame will now spread slower
* Lord Marrowgar will no longer attempt to target tanks with Bone Spike Graveyard
* Valithria Dreamwalker will now properly cast Dreamwalker's Rage and kill enemy creatures
* Blood-Queen Lana'Thel will now warn the player who is under effects of Frenzied Bloodthirst
2011-07-08 18:15:57 +02:00
Shauren 3ea03b0aaf Scripts/Spells: Fixed Shadowmourne after recent changes to auras 2011-07-08 16:44:58 +02:00
Shauren 0059e2e21b Scripts/Icecrown Citadel: Sindragosa will now mark 2 players for frost tombs on 10 man heroic mode
Closes #2233
2011-07-05 19:51:15 +02:00
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