062e645637
Scripts/Spells: Bloodlust/Heroism handling changed, it is now possible to use these spells even if caster is under Sated/Exhaustion debuff
Shauren2011-09-25 15:08:48 +02:00
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
Shauren2011-09-24 23:30:11 +02:00
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
Shauren2011-09-24 19:40:57 +02:00
cd7060c65a
Core/Spells: Add more generic overload for Unit::CastSpell function and make all cast functions use it as a base.
QAston2011-09-24 16:41:04 +02:00
29ba648fa3
Scripts/Icecrown Citadel: Fixed possible crash in npc_darnavanAI
Shauren2011-09-24 11:29:49 +02:00
d01a761f53
Core/Spells: Drop EFFECT_IMPLICIT_TARGET_PET and use EFFECT_IMPLICIT_TARGET_EXPLICIT instead.
QAston2011-09-24 02:01:18 +02:00
71bbbaa21b
Merge pull request #3146 from Havenard/fix0001
QAston2011-09-23 06:04:17 -07:00
9692be4cbb
Scripts/Ulduar/XT-002: Add gameobject handling for XT-002 door and boundary checking during the encounter.
Machiavelli2011-09-23 11:50:31 +02:00
413b542cd9
Add a tempfix for trigger missile spell effects after rev 13a1d90130.
QAston2011-09-23 13:09:31 +02:00
13a1d90130
Core/Spells: Improvements in selecting default targets based on effect type.
QAston2011-09-23 11:58:01 +02:00
ab023e847a
Core/Misc: Add <GM> tag to GMs in Who list
Spp2011-09-23 11:23:22 +02:00
99c63e86ae
Scripts/Ulduar: Make XT-002 and Ignis enter evade mode if pulled out from their fight areas.
Souler2011-09-22 22:14:52 +02:00
41ad855bdf
Core/SmartAI: fixed SMART_ACTION_SOUND, note: target(s) must be player(s)
Rat2011-09-20 17:46:40 +02:00
4ccb22e1a6
Fix the incorrect logic of threat online status check. Also add targets in other map or phase to offline container.
megamage2011-09-20 10:26:34 -04:00
8aead2a1ee
Do not add spell-caused threat to creatures in other map or phase. Fix crashes #2396 and #2992. Note: Threat system is still thread-unsafe. This patch only reduces the chance of crash.
megamage2011-09-20 10:24:44 -04:00
3d4f9a0d1c
Core/World: Shutdown messages are now sent in blizzlike intervals (every 15 seconds under 5 minutes and every minute under 15 minutes)
Shauren2011-09-20 11:40:08 +02:00
80800def40
Core/Scripts: Reverted part of 7afb179185, fixes selecting random target starting at given position
Shauren2011-09-20 09:03:12 +02:00
77dff61979
Merge pull request #3126 from megamage/master
Shocker2011-09-19 17:09:08 -07:00
e81b3c6fde
Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960.
megamage2011-09-19 17:22:27 -04:00
d7f9aafe9f
Merge pull request #3114 from megamage/master
Shauren2011-09-19 09:12:46 -07:00
c9a4efdf8f
Fix crash caused by invalid talker in SmartScript. Solve #3082.
megamage2011-09-19 09:24:59 -04:00
a11bee31c3
Core/SmartAI: Corrected validation check for SAI action summon, type parameter
Shauren2011-09-19 14:41:21 +02:00
a2d9aabbb3
Core/Entities: Allow creatures to attack players while in sanctuary.
QAston2011-09-17 01:50:53 +02:00
fe25ce4fa3
Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack.
QAston2011-09-17 00:56:59 +02:00
580264b5a5
Core/Entities: Remove obsolete function Unit::canAttack.
QAston2011-09-16 23:51:01 +02:00
c0b1823524
Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget
QAston2011-09-16 23:49:31 +02:00
3a3f2d927f
Core/Misc: Whitespace and a minor typo fix (thanks Kapoeira)
QAston2011-09-16 22:37:49 +02:00
9bbb4ef583
Core/Spells: Use Unit::IsValidAttack/AssistTarget functions to validate spell explicit targets.
QAston2011-09-16 22:17:20 +02:00
31e755c291
Core/Entities: Add Unit::IsValidAssistTarget and Unit::IsValidAttackTarget functions for proper serverside checks of related entity flags.
QAston2011-09-16 22:16:14 +02:00
d0f9406a10
Core/Instances: Resurrect a dead player (with corpse) before enter to instance. Original patch by Den
Spp2011-09-16 21:54:45 +02:00
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
Spp2011-09-16 21:52:49 +02:00
f356f65fa6
Core/Spell: Remove obsolete check, its already handled in a better way using SpellScript
Shauren2011-09-16 12:32:09 +02:00
113080dace
Core/Spells: Temporarily commented out SPELL_ATTR6_CAN_TARGET_UNTARGETABLE check, needs more research
Shauren2011-09-16 12:27:00 +02:00
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
Shauren2011-09-16 11:40:53 +02:00
6c943bfb08
Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes
Spp2011-09-16 10:53:24 +02:00
400716926c
Core/Misc: Revert the loot-related code from 74616464f2, the iterator is needed later
Shocker2011-09-16 00:37:04 +03:00
bd4cf4b78b
Store pendingInstanceId instead of pointer of instance save, because pointer may become invalid. Fix#2987.
megamage2011-09-15 15:29:52 -04:00
7afb179185
Misc/Util: Add a template function for returning a random element from any container
Shocker2011-09-15 21:28:40 +03:00
8504a0107e
Forgot a SQL in last commit =&
Nay2011-09-15 17:56:07 +01:00
791acfebac
Core/Spells&GOs: Fix Ritual of Doom.
Nay2011-09-15 17:51:17 +01:00
e70676a8f6
DB/NPCs: Proper spawns for Shaper's Terrace (Un'goro) (waypoints and such).
tharaca2011-09-15 17:49:03 +01:00
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).
QAston2011-09-15 17:44:03 +02:00
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
Spp2011-09-15 14:08:17 +02:00
9006e4e8dc
DB/Templates: Corrected immunity set for ICC bosses
Shauren2011-09-15 10:56:04 +02:00
981c80bf4f
DB/Misc: Script Night Elf Mohawk.
Nay2011-09-15 02:34:41 +01:00
3185d65184
DB/NPCs: Correct scale of Flame of Azzinoth.
tREAk2011-09-15 01:59:43 +01:00
8af86aced7
Core/Loot: Do not allow a player that has instance bind pending to loot. By Moriquendu.
Nay2011-09-15 01:53:14 +01:00
bff26d9319
Scripts/TOC: Anub'arak should enrage after 10 minutes, not 15. By telsamat. Closes#2289Nay2011-09-15 01:46:32 +02:00
b5e48fccc5
DB/NPCs: Remove spawns of Perimeter Bunny.
Tassader2011-09-15 00:40:48 +01:00
cc0494cec4
DB/NPCs: Add immunities to IC bosses.
LaserJet2011-09-15 00:33:48 +01:00
f2ff266363
DB/Text: Correct a sound used by Sister Svalna.
Discover-2011-09-15 00:05:56 +01:00
e51dcad60a
DB/NPCs: Respawn Snowblind Digger in Stormpeaks.
Grobi2011-09-14 23:45:28 +01:00
c89b4fd7db
DB/TextScripts: Anchorite Truuen should speak Common and not Draconic.
Unknown2011-09-14 23:19:29 +01:00
b7f6416ee3
Core/Spells: Fixed summoning to instances
Shauren2011-09-15 00:02:45 +02:00
8d31aba768
DB/ZG: Fix gossip typos in Zul'Gurub
durotar2011-09-14 22:11:10 +01:00
decb20f079
Merge pull request #2991 from megamage/master
QAston2011-09-14 14:27:21 -07:00
bca9545fbe
DB/Quests: Fix quest Last of Her Kind.
Svannon2011-09-14 21:57:40 +01:00
e71c5921f1
DB/NPCs: Add some missing spawns to Stormpeaks (Frostfloe)
Nay2011-09-14 21:07:50 +01:00
60f7737272
Core/DataStore: Add struct for LiquidTypeEntry.dbc, unused for now.
kaelima2011-09-14 15:02:12 +02:00
8aadf83e93
Core/Dungeon Finder: Fix entry point not being saved to db.
Spp2011-09-14 11:21:02 +02:00
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
Spp-2011-09-14 10:16:14 +02:00