Commit Graph

13338 Commits

Author SHA1 Message Date
Shocker
77dff61979 Merge pull request #3126 from megamage/master
Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960.
2011-09-19 17:09:08 -07:00
megamage
e81b3c6fde Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960. 2011-09-19 17:22:27 -04:00
Shauren
d7f9aafe9f Merge pull request #3114 from megamage/master
Fix crash caused by invalid talker in SmartScript. Closes #3082.
2011-09-19 09:12:46 -07:00
megamage
c9a4efdf8f Fix crash caused by invalid talker in SmartScript. Solve #3082. 2011-09-19 09:24:59 -04: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
click
872c2d4d63 Core/Build: Fix non-PCH builds 2011-09-18 16:30:18 +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
Machiavelli
a4ea803c83 Edited src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp via GitHub 2011-09-18 12:08:22 +03:00
Machiavelli
35228bdcc1 Scripts/Ulduar: Fix timer issues in Flame Leviathan script, thanks to Svannon.
(Edit via github)
2011-09-18 11:39:35 +03:00
Machiavelli
ab3acb7c5c Merge pull request #3097 from Aokromes/master
Remove 2 useless logs
2011-09-18 01:33:21 -07:00
Aokromes
055b9c7574 Remove 2 useless logs 2011-09-18 09:29:09 +03:00
Aokromes
0f908d4b1e Scripts/Shadow Labyrinth: Fix wrong target of Incite Chaos spell 2011-09-18 11:26:22 +07:00
QAston
8c2e58d036 Core/Entities: Allow 2 side parties to work. 2011-09-17 13:45:07 +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
QAston
a2d9aabbb3 Core/Entities: Allow creatures to attack players while in sanctuary. 2011-09-17 01:50:53 +02:00
QAston
fe25ce4fa3 Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack. 2011-09-17 00:56:59 +02:00
QAston
580264b5a5 Core/Entities: Remove obsolete function Unit::canAttack. 2011-09-16 23:51:01 +02:00
QAston
c0b1823524 Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget 2011-09-16 23:49:31 +02:00
QAston
3a3f2d927f Core/Misc: Whitespace and a minor typo fix (thanks Kapoeira) 2011-09-16 22:37:49 +02:00
QAston
9bbb4ef583 Core/Spells: Use Unit::IsValidAttack/AssistTarget functions to validate spell explicit targets. 2011-09-16 22:17:49 +02:00
QAston
31e755c291 Core/Entities: Add Unit::IsValidAssistTarget and Unit::IsValidAttackTarget functions for proper serverside checks of related entity flags. 2011-09-16 22:17:48 +02:00
Spp
bf38cd8f3e Tab2spaces previous commit :S 2011-09-16 21:56:29 +02:00
Spp
d0f9406a10 Core/Instances: Resurrect a dead player (with corpse) before enter to instance. Original patch by Den 2011-09-16 21:54:45 +02:00
Spp
2f83db28f2 Core/Instances: Fix client freeze when trying to enter an instance which have players inside and you have save but not in same group that people inside and your homebind is in the same continent that the instance 2011-09-16 21:52:49 +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
Spp
6c943bfb08 Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes 2011-09-16 10:53:24 +02:00
Shocker
400716926c Core/Misc: Revert the loot-related code from 74616464f2, the iterator is needed later 2011-09-16 00:37:04 +03:00
megamage
bd4cf4b78b Store pendingInstanceId instead of pointer of instance save, because pointer may become invalid. Fix #2987. 2011-09-15 22:04:51 +02:00
Shocker
74616464f2 Core/Misc: Fix gcc build 2011-09-15 21:44:50 +03:00
Shocker
7afb179185 Misc/Util: Add a template function for returning a random element from any container 2011-09-15 21:28:40 +03:00
Nay
8504a0107e Forgot a SQL in last commit =& 2011-09-15 17:56:07 +01:00
Nay
791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01:00
tharaca
e70676a8f6 DB/NPCs: Proper spawns for Shaper's Terrace (Un'goro) (waypoints and such).
Closes #2523
2011-09-15 17:52:34 +01:00
QAston
e07535c3e3 Core/Entities: Add new functions: Unit::GetReactionTo and Unit::GetFactionReactionTo for more direct reaction checks than Unit::IsFriendly/HostileTo (those functions have many duplicated code and have many checks unrelated to unit reaction). 2011-09-15 17:44:03 +02:00
Spp
af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Shauren
9006e4e8dc DB/Templates: Corrected immunity set for ICC bosses 2011-09-15 10:56:04 +02:00
Nay
981c80bf4f DB/Misc: Script Night Elf Mohawk.
Closes #2515.
2011-09-15 02:34:41 +01:00
tREAk
3185d65184 DB/NPCs: Correct scale of Flame of Azzinoth.
Closes #2483
2011-09-15 01:59:43 +01:00
Nay
8af86aced7 Core/Loot: Do not allow a player that has instance bind pending to loot. By Moriquendu.
Closes #2415

Regarding this issue, binding everyone on the raid/party on boss kill regardless of being inside or outside the instance needs to be implemented.
2011-09-15 01:53:59 +01:00
Nay
bff26d9319 Scripts/TOC: Anub'arak should enrage after 10 minutes, not 15. By telsamat.
Closes #2289
2011-09-15 01:46:32 +02:00
Tassader
b5e48fccc5 DB/NPCs: Remove spawns of Perimeter Bunny.
Closes #2107
2011-09-15 00:40:48 +01:00
LaserJet
cc0494cec4 DB/NPCs: Add immunities to IC bosses.
And some of those bosses should not be immune to diseases (by Aristoo).
Closes #1995 and closes #1992
2011-09-15 00:33:48 +01:00
Discover-
f2ff266363 DB/Text: Correct a sound used by Sister Svalna.
Closes #1625
2011-09-15 00:05:56 +01:00