Commit Graph
100 Commits
Author SHA1 Message Date
Trazom62 7a6ad7d4f4 Merge
--HG--
branch : trunk
2010-01-29 19:49:46 +01:00
Trazom62 3c9c950c5f Fix UnitAI::SelectTarget: avoid erasing player from the threadlist.
--HG--
branch : trunk
2010-01-29 19:46:30 +01:00
Trazom62 5757e4f77f Fix Script Naxxramas/Kel'thuzad. Thanks tbaart.
Fixe issue #321.

- frost blast shall not target MT.

--HG--
branch : trunk
2010-01-29 19:45:49 +01:00
Trazom62 268230ed92 Fix Script Naxxramas/Maexxna. Thanks Scarymovie87.
Fixe issue #162.

- Add an repeating event for Frenzy, spell only lasts 10 minutes
- Added comments for missing texts
- Code style : Changed "return;"s to "break;"s in switch-case
- Code style : Move code of AI of Wrap Webs from mob_generic_creature.cpp into boss_maexxna.cpp file, since it belongs to the fight

--HG--
branch : trunk
2010-01-29 19:44:15 +01:00
Trazom62 0192d4e0cf Fix Script Naxxramas/Heigan. Thanks Scarymovie87.
Fixe issue #176.

- fix timers

--HG--
branch : trunk
2010-01-29 19:37:53 +01:00
XTZGZoReX a385ea64b0 * Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
2010-01-29 19:24:14 +01:00
QAston 785cb86c6a *Fix build with GCC, thanks to Brian.
--HG--
branch : trunk
rename : sql/updates/7234_world_spell_ranks.sql => sql/updates/7236_world_spell_ranks.sql
2010-01-29 19:08:42 +01:00
QAston 94e5e3970e *Prevent linked effects to apply area auras in Unit::RemoveAreaAurasDueToLeaveWorld, finally fix the update sql
--HG--
branch : trunk
2010-01-29 18:51:06 +01:00
QAston 04aff1dba8 *Changes from recent commit into update file, sorry for that :<
--HG--
branch : trunk
rename : sql/updates/7233_world_spell_ranks.sql => sql/updates/7234_world_spell_ranks.sql
2010-01-29 18:21:51 +01:00
QAston 7776faa6ac *Typofix - Journeyman - rank 2 Apprentice - rank1
--HG--
branch : trunk
rename : sql/updates/7232_world_spell_ranks.sql => sql/updates/7233_world_spell_ranks.sql
2010-01-29 18:16:46 +01:00
QAston 9e31e08358 *Move spell rank extractor out of core, use sql table instead for easier maintaining of dependant database data.
--HG--
branch : trunk
2010-01-29 17:54:29 +01:00
XTZGZoReX 39a260d10d * Added actual loading of the addons table... This was missing in the original commit.
--HG--
branch : trunk
2010-01-29 11:56:48 +01:00
Trazom62 f5e267da16 Fix Script HoL/Ionar. Thanks WarHead.
Fixes issue #258.

--HG--
branch : trunk
2010-01-28 22:06:31 +01:00
Trazom62 62cd3ff865 Fix Script Violet Hold
- fix event reset if wipe at a boss
- fix boss not random again after a wipe
- fix erekem guard handling
- fix portal random location
- fix save and load data
- fix world state display for wave count
- fix some timers
- fix mob_erekem_guard set on correct creature_template entry

Still WIP.

--HG--
branch : trunk
2010-01-28 20:22:11 +01:00
Trazom62 4d0960e630 Fix Script Naxxramas/Kel'Thuzad. Thank PrinceCreed, Scazzato88 and Gyullo.
Fixes issue #486.
Fixes issue #511.

- fix kel'thuzad not casting when entering phase 2.
- fix crash when casting Detonate Mana.

--HG--
branch : trunk
2010-01-28 19:30:15 +01:00
Rat cb05b01854 *fix script config, closes issue #521
--HG--
branch : trunk
2010-01-28 16:56:01 +01:00
thenecromancer 38209db46e Merge
--HG--
branch : trunk
2010-01-28 14:42:40 +01:00
thenecromancer 984a47b541 Implement Insanity phase for Herald Volazj encounter (still missing AI for adds)
--HG--
branch : trunk
2010-01-28 14:42:05 +01:00
_manuel_ 0711119de5 Removed tabs. Closed issue 397 and 171.
--HG--
branch : trunk
2010-01-27 15:15:49 -03:00
_manuel_ 3e73c5cc77 Implemented fix for Spirit Wolf (feral spirit talent). By Gyullo
--HG--
branch : trunk
2010-01-27 14:56:14 -03:00
_manuel_ 6c63596be0 Re-add event support for type 10 (goober) GOs. By Biglad
--HG--
branch : trunk
2010-01-27 14:50:42 -03:00
thenecromancer b31c11bf03 More correct spell Id for snake script
--HG--
branch : trunk
2010-01-27 15:57:14 +01:00
thenecromancer 4897f9019e Merge
--HG--
branch : trunk
2010-01-27 14:18:54 +01:00
teacher 10c99da6aa Moved old sql update files to 3.2.2a_old directory.
--HG--
branch : trunk
2010-01-27 13:44:32 +01:00
thenecromancer 6bca70a777 Fix Arena Teams on scoreboard being swapped
Fix Arena Unit Frames

--HG--
branch : trunk
2010-01-27 13:40:01 +01:00
Xanadu 2c81241bef Fixed hunter trap procs - Entrapment and Lock and Load shall be henceforth proced only by the correct traps.
Closes issue #110.

--HG--
branch : trunk
2010-01-27 00:02:21 +01:00
Trazom62 b233a12c86 Fix crash in npc_orinoko_tuskbreakerAI
--HG--
branch : trunk
2010-01-26 18:55:00 +01:00
Spp 89d86e0c57 Disable Ring of Valor Arena
--HG--
branch : trunk
2010-01-26 14:35:27 +01:00
Rat f107f9f8eb *finalized basic hard-lootmode defines
-DB devs should stick with lootmode 2,4,8,16 for hardmode loots (use as bitmask)
-and lootmode 1 as default

--HG--
branch : trunk
2010-01-26 11:06:46 +01:00
Rat 345d9f0d86 *log creature's entry in eascortAI error log
--HG--
branch : trunk
2010-01-26 10:54:11 +01:00
Trazom62 df97b00632 Fix startup warning due to r7188.
--HG--
branch : trunk
2010-01-25 22:56:26 +01:00
Trazom62 654ebe5950 Fix Script Gundrak/Gal Darah. Thanks Azuritus.
Fixes issue #448.

- implements achievements What the Eck? and Share The Love.
- Fix Impaling Charge used on aggro
- Fix reset of phase counter.

--HG--
branch : trunk
2010-01-25 21:08:44 +01:00
Trazom62 275ffe4f28 Fix SpellEffect Quest Complete: shall work if player is the unitTarget
--HG--
branch : trunk
2010-01-25 20:45:02 +01:00
Trazom62 89574b13ed Fix Script Naxxramas/Faerlina with help of Scarymovie87.
Fixes issue #158.

- simplifies widow embrace handling
- Adds can only be mind controlled in 25man version
- Adds will be killed, if mind controlled and using Widows Embrace
- Adds will only cast Widows Embrace on death in 10man version
- implements Achievement Momma said knock you out
- Avoid greet yell for non-player units moving in line of sight
- update some timers.

--HG--
branch : trunk
2010-01-25 20:40:13 +01:00
QAston 3f6999f744 *Some cleanup in SharedDefines
*Implement spell target modes 96-103, 91, 92

--HG--
branch : trunk
2010-01-25 12:40:03 +01:00
thenecromancer 83c2b6a4d0 Merge
--HG--
branch : trunk
2010-01-25 02:38:53 +01:00
thenecromancer 9880a4985b Fix Rated Arena scores display (Matchmaking Value is not implemented)
--HG--
branch : trunk
2010-01-25 02:38:18 +01:00
Xanadu 5be6e1e3c4 Merge after backout
--HG--
branch : trunk
2010-01-25 02:09:29 +01:00
Xanadu 6fb6aa9c66 Backed out changeset: 4cc8628cc8ef. That wasn't a good call. Thanks go to QAston for pointing it out to me.
--HG--
branch : trunk
2010-01-25 02:09:05 +01:00
thenecromancer 7aa63d5834 Merge
--HG--
branch : trunk
2010-01-24 23:47:57 +01:00
thenecromancer 73dd5925be Do not allow units that are not in world to create dynamic objects from spell effect handlers
--HG--
branch : trunk
2010-01-24 23:47:17 +01:00
thenecromancer 9d59288b1d Drop BG Flag when entering vehicle
--HG--
branch : trunk
2010-01-24 23:46:50 +01:00
Xanadu 46a98576d9 Fix Entrapment - now only proc on Frost Trap and Snake Trap activation.
--HG--
branch : trunk
2010-01-24 23:16:35 +01:00
Xanadu 91ee99a7bf Fix Frost Trap Aura spamming log due to nonexistent triggered spell
--HG--
branch : trunk
2010-01-24 23:10:15 +01:00
Trazom62 41fb791f1f Fix Script VoA/Emalon.
- fix handling of minions' list so the overcharge does not fail due to dead minion in the list.

--HG--
branch : trunk
2010-01-24 21:57:33 +01:00
Rat 523dae2f63 *added new CMakeLists
-should speed up building on linux systems

--HG--
branch : trunk
2010-01-24 20:02:05 +01:00
Trazom62 50815cb7bc Fix Script Naxxramas/Kel'Thuzad. Thanks Scarymovie87.
Fixes issue 464.

- fix timers
- fix maximum number of spawn abomination or weaver
- fix kel'thuzad not attackable after reset.
- fix phase 3 start at 45%

--HG--
branch : trunk
2010-01-24 19:14:29 +01:00
QAston 3d7b021b23 Remove SpellChannelInterruptFlags definitions which were duplicate of SpellAuraInterruptFlags, move IsRemoved check to Aura::UpdateTargetMap
--HG--
branch : trunk
2010-01-24 18:58:06 +01:00
QAston 492fe452fd *Bring back one unintentionally removed check in Aura::UpdateOwner
*Remove not blizzlike hack for Vanish (it should not remove delayed spells from player)

--HG--
branch : trunk
2010-01-24 18:26:29 +01:00
Trazom62 8710fe8fa0 implement ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM (achievement Epic, Superior)
remove hack for ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT (achievement Needy, Greedy)

need DB support

--HG--
branch : trunk
2010-01-24 16:26:33 +01:00
nihal 08e4346ab2 Some good old fashioned proper Trinity Standard sql renaming and formatting.
Also added missing data to world.sql.

--HG--
branch : trunk
2010-01-24 15:59:10 +01:00
thenecromancer 81321b390a Add support for Maelstrom Weapon to prevent melee attack interruption when affecting spells
--HG--
branch : trunk
2010-01-24 15:43:58 +01:00
thenecromancer 372bef8a55 SPELLMOD_DAMAGE is applied in SpellDamageBonus() - remove this hack for Eviscerate to prevent double apply
--HG--
branch : trunk
2010-01-24 15:23:30 +01:00
thenecromancer 897bd3e1a9 Merge
--HG--
branch : trunk
2010-01-24 15:21:01 +01:00
thenecromancer 963731abc8 Send SMSG_SPELLORDAMAGE_IMMUNE when target is immune to periodic aura tick
--HG--
branch : trunk
2010-01-24 15:20:32 +01:00
QAston 1fd2292d73 *Some optimisation in Unit::HasNegativeAuraWithInterruptFlag.
--HG--
branch : trunk
2010-01-24 15:08:05 +01:00
thenecromancer 6c24f75524 Fix some reactive/shapeshift based talents being active in spec they are not learned in
--HG--
branch : trunk
2010-01-24 15:05:07 +01:00
thenecromancer efa55f457f Implement direct damage effect for Seal of Vengeance
--HG--
branch : trunk
2010-01-24 14:47:26 +01:00
QAston 58383311a6 Fixes issue #476. Remove owned auras in addition to applied auras on unit death.
--HG--
branch : trunk
2010-01-24 13:23:34 +01:00
QAston d1a40eb688 *Do not keep area aura targets in combat with aura owner
*Add some safety checks to area aura target map update.

--HG--
branch : trunk
2010-01-24 13:08:25 +01:00
Rat 79accd730e *removed no more needed extern keywords from ScriptLoader
--HG--
branch : trunk
2010-01-24 11:56:33 +01:00
Rat f10cb92298 *merge ScriptMgr::LoadOverridenDBCData to SpellMgrLoadSpellCustomAttr, patch by Azuritus, closes issue #444
--HG--
branch : trunk
2010-01-24 11:45:50 +01:00
XTZGZoReX 9f00ca3eb8 * Remove CellLock class and all cell-level thread locking.
** It was wasting CPU power as cell-level locking is not needed.
** Our multithreading is on map-level, not cell-level.
** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
** Some minor cleanup in Cell::Visit/Map::Visit.

--HG--
branch : trunk
2010-01-23 22:24:41 +01:00
XTZGZoReX fe07518baf * Partly revert [7173]. The log call is useful - "CRASH ALERT" part removed.
--HG--
branch : trunk
2010-01-23 20:08:44 +01:00
arcanzic 35e7a65c3c Merge...
--HG--
branch : trunk
2010-01-23 13:01:54 -06:00
arcanzic c827f58d93 Remove useless spam at core boot. I have never seen, nor heard of a script not assigned to a npc, crashing the core.
--HG--
branch : trunk
2010-01-23 13:00:06 -06:00
XTZGZoReX 6e3127bbe5 * Fix CRLF.
--HG--
branch : trunk
2010-01-23 20:00:01 +01:00
Trazom62 171e7b70a5 Fix some crashes linked to gurgthock summon
Fixes issue #440.
Fixes issue #441.

--HG--
branch : trunk
2010-01-23 18:48:06 +01:00
thenecromancer fd5390c4c1 Merge
--HG--
branch : trunk
2010-01-23 17:47:18 +01:00
thenecromancer b2bb515c22 table create for previous commit
--HG--
branch : trunk
2010-01-23 17:46:03 +01:00
Trazom62 2b4a229934 Fix Script Naxxramass/Anub'Rekhan. Thanks scarymovie87.
Fixes issue #141.
Fixes issue #305.

- Fix some timers
- Implements Berserk ability after 10 minutes
- Fixed spawning method for Crypt Guardians
- Fix spawn of Corpse Scarabs on player or crypt guardian death.
- code cleanup

--HG--
branch : trunk
2010-01-23 17:34:18 +01:00
thenecromancer d32e0878c7 Remove Battle Shout/Blessing of Might hack
Add table holding stacking masks for non-target/caster related stacking rules
Aura bounce check is still to be done

--HG--
branch : trunk
2010-01-23 17:05:20 +01:00
thenecromancer caf3505f75 Fix Unrelenting Assault applying debuff to non-player target
--HG--
branch : trunk
2010-01-23 16:37:06 +01:00
thenecromancer 1f602fae47 Apply SPELLMOD_COST in takeRunePower() ( replacement for removed hack in previous commit )
--HG--
branch : trunk
2010-01-23 16:19:23 +01:00
thenecromancer 9a236d18ff Merge
--HG--
branch : trunk
2010-01-23 16:06:23 +01:00
thenecromancer e893ad71cf Fix Empowered Rune Weapon
Cleanup cast flags

--HG--
branch : trunk
2010-01-23 16:06:06 +01:00
Anubisss 340ded3973 Fix compile in WIN.
--HG--
branch : trunk
2010-01-23 16:00:05 +01:00
thenecromancer 84980ea77c Apply armor reduction for physical attacks before other calculations ( for correct block amount and etc..)
--HG--
branch : trunk
2010-01-23 15:44:28 +01:00
thenecromancer 39ba392c75 Merge
--HG--
branch : trunk
2010-01-23 15:05:33 +01:00
Anubisss d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
Trazom62 c784110d87 Fix Crash in boss_gluthAI::UpdateAI.
Fixes issue #442.
Thanks JuliuSZS for pre-diagnose

--HG--
branch : trunk
2010-01-23 11:52:45 +01:00
QAston d9b38250ff *Remove Death runes from Reaping/Blood of the North/Death Rune Mastery when talent aura is removed.
--HG--
branch : trunk
2010-01-23 10:33:16 +01:00
QAston 216d32e8a7 *Prevent assertion fail in Unit::_AddAura after creature add to remove list.
--HG--
branch : trunk
2010-01-22 20:03:47 +01:00
Trazom62 7b3691ac9e Fix irand(min,max) usage (min shall always be lower than max)
--HG--
branch : trunk
2010-01-22 18:38:33 +01:00
QAston c1aa60aaab *Run grid searches for area auras every 500ms instead of every unit update
*Fix a stupid typo which caused memory leak in Unit::RemoveOwnedAura

--HG--
branch : trunk
2010-01-22 18:06:01 +01:00
Rat b4a6fd1a81 Merge
--HG--
branch : trunk
2010-01-22 00:06:35 +01:00
Rat f221f5911a *update eventAI docs
*add missed docs

--HG--
branch : trunk
2010-01-22 00:04:50 +01:00
Trazom62 2a261b44e1 Fix EffectSendEvent to work if target is GO or Unit.
--HG--
branch : trunk
2010-01-21 23:57:14 +01:00
Trazom62 54458c0f13 Fix Script Naxxramass Thaddius/Stalagg/Feugen
- Stalagg and Feugen respawn if the other adds not dead within 5 sec.
- Thaddius start combat timers as soon as both are killed.
- Fix Thaddius flags after a crash
- Fix global variables used for adds alive flag.

--HG--
branch : trunk
2010-01-21 20:37:02 +01:00
thenecromancer 76102c1cdd Change temp threat aura mods to use temp threat modifier instead of "asisting" it's threat value over all references.
--HG--
branch : trunk
2010-01-21 16:25:09 +01:00
thenecromancer 3b29a4e6f4 Do not apply SPELL_AURA_MOD_THREAT to negative threat changes (Eg. let Feint and alikes apply full effect)
--HG--
branch : trunk
2010-01-21 15:51:11 +01:00
thenecromancer 0f531f75ff Send all 24 bits of spell Id for vehicle spell actions
--HG--
branch : trunk
2010-01-21 15:33:43 +01:00
XTZGZoReX 1c310c887b So much for my fix-without-compile skills. :(
(inb4 scores)

--HG--
branch : trunk
2010-01-21 11:21:47 +01:00
XTZGZoReX 73719d3e76 * Removed unnecessary query.
--HG--
branch : trunk
2010-01-21 10:42:46 +01:00
Xanadu e21081172c Removed the Debug_NoPCH config from Windows build.
--HG--
branch : trunk
2010-01-21 03:23:43 +01:00
Xanadu 01bb79cc7d Fix SPELLMOD_PCT spell mods to stack in a truly multiplicative way
--HG--
branch : trunk
2010-01-21 02:02:35 +01:00
Xanadu 9e91fc997c Fix build.
--HG--
branch : trunk
2010-01-21 01:28:18 +01:00
Anubisss 8154831335 Merge.
--HG--
branch : trunk
2010-01-20 21:16:28 +01:00
Anubisss 6855787a83 Fix a memory leak in AddonMgr::LoadFromDB(). This not leaks _yet_ because that function not used anywhere(if my eyez are right) but in the future can leaks.
--HG--
branch : trunk
2010-01-20 21:15:42 +01:00
thenecromancer fbe09a92f9 Allow spells with effect mechanic to allow apply other effects when effect with mechanic would be fail due to effect/state immunity.
--HG--
branch : trunk
2010-01-20 21:10:18 +01:00