Commit Graph

12692 Commits

Author SHA1 Message Date
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
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
LihO
069162b9d4 Core/Entities: Restore group of player after teleport from BG. 2011-09-17 20:20:10 +02:00
LihO
db8b02690b Core/Groups: Refactored sending of update packets.
Now it is possible to send update packet to single player.
2011-09-17 20:17:41 +02: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
791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +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
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
Shauren
b7f6416ee3 Core/Spells: Fixed summoning to instances 2011-09-15 00:02:45 +02:00
QAston
decb20f079 Merge pull request #2991 from megamage/master
Core/Entities: Do not call AddObjectToRemoveList(Pet*) in Map::MoveAllCreaturesInMoveList() - Closes #2892.
Scripts: Fix a crash in npc_brunnhildar_prisoner script. Closes #2825.
2011-09-14 14:27:21 -07:00
kaelima
60f7737272 Core/DataStore: Add struct for LiquidTypeEntry.dbc, unused for now. 2011-09-14 15:02:12 +02:00
Spp
8aadf83e93 Core/Dungeon Finder: Fix entry point not being saved to db. 2011-09-14 11:21:02 +02:00
Spp-
49686075c3 Core/Dungeon Finder: Use areatrigger coords when trying to get out from a lfg dungeon using the portal after player have been disconnected and original coords have not been saved 2011-09-14 10:16:14 +02:00
megamage
76488854d8 A more conservative way to fix crash #2892. 2011-09-13 11:54:55 -04:00
Spp-
33ce07bdde Core: Minor cleanups (here and there)
- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
2011-09-13 14:15:35 +02:00
Aokromes
e79dbb3066 Better description for Rate.InstanceResetTime setting. 2011-09-13 09:37:01 +03:00
megamage
937d26e0fe Temp fix of crash caused by npc_brunnhildar_prisoner script. Solve #2825, #2880 and #2772. 2011-09-12 13:00:01 -04:00
megamage
2dbf64827a Do not call AddObjectToRemoveList(Pet*) in Map::MoveAllCreaturesInMoveList(). Fix #2892. 2011-09-12 11:44:32 -04:00