Commit Graph
100 Commits
Author SHA1 Message Date
megamage feba13e650 *change SPELL_AURA_MOD_ARMOR_PENETRATION_PCT to reduce armor on target and add cap amount of armor reduced by armor penetration rating By thenecromancer
--HG--
branch : trunk
2009-08-10 15:32:08 -05:00
megamage 0ed719c558 *Fix Quest Skywing. By Farah
--HG--
branch : trunk
2009-08-10 15:28:49 -05:00
Kudlaty 3b3a878199 Merge [SD2]
r1171 Restore compile. Replace add/remove/has monster movement flag with new function and correct CreatureRelocation() and SendMonsterMove() related code.
Remove all use of Relocate() and replace with expected CreatureRelocation()
Requires Mangos 8078.

--HG--
branch : trunk
2009-08-10 20:32:12 +02:00
Anubisss 77e186c95e *Merge heads. :(
--HG--
branch : trunk
2009-08-10 17:04:06 +02:00
Anubisss 18f712f52b *Read AutoBroadcast's messages from cache instead of from DB every times.
--HG--
branch : trunk
2009-08-10 17:03:11 +02:00
Rat 0795a9dbb2 *add script for Wailing Caverns, Disciple of Naralex event, thanks to Oculus
--HG--
branch : trunk
2009-08-10 15:37:16 +02:00
Rat 66d7fa3431 *add new functions to escortAI (does not effect old escort scripts)
--HG--
branch : trunk
2009-08-10 15:27:42 +02:00
Kudlaty 7faff34ae5 Missing part of patch added in 4783
--HG--
branch : trunk
2009-08-10 04:04:28 +02:00
Kudlaty dc0dad36f1 Fix credit from quest 12698
--HG--
branch : trunk
2009-08-10 03:30:10 +02:00
Anubisss 1f5bf07bcb *Implement achievement Chaos Theory, Intense Cold.
*Thanks to Big for the help with testing in the last one. :)

--HG--
branch : trunk
2009-08-10 01:46:53 +02:00
megamage 61b4b86d28 *Move beast within bonus auras to sql.
--HG--
branch : trunk
2009-08-09 16:28:24 -05:00
megamage 2c4dad27db [8336] Prevent apply item 34678 damage effect to cast target if it's friendly. Author: VladimirMangos
Current combat target or just selection will be used instead if it not friendly.

--HG--
branch : trunk
2009-08-09 15:54:49 -05:00
megamage bc14ebb102 *Fix a typo of fixed damage spells. Thanks to loop69
--HG--
branch : trunk
2009-08-09 15:49:38 -05:00
megamage ee2a26ee9f [8334] Small cleanup in magic shield back damage code. Author: VladimirMangos
--HG--
branch : trunk
2009-08-09 15:48:37 -05:00
megamage 8fb63dc91c [8332] Add non-unique key accid for realmcharacters table for speedup queries by this field. Author: rilex
Just note about related _not_ mangos bug: this table _expected_ to have primary key by pair (`realmid`,`acctid`).
    If used DB not have it for table, then this wrongly setup of DB.

--HG--
branch : trunk
2009-08-09 15:35:46 -05:00
megamage 3eb938b8de [8331] Restore spirit guids work, step 2 Author: VladimirMangos
Remove hack in battleground code that prevent proper work guids in result
    sabotage of now correct work spell itself.

--HG--
branch : trunk
2009-08-09 15:33:45 -05:00
megamage 677b7b9757 *Add an assert in removeunitfromnotify
--HG--
branch : trunk
2009-08-09 15:22:43 -05:00
megamage e657f65f2b merge
--HG--
branch : trunk
2009-08-09 15:13:21 -05:00
megamage c033cfc39a Backed out changeset: 43d0f185abe2
--HG--
branch : trunk
2009-08-09 15:11:04 -05:00
megamage df9cf9c0fa *Some scripts of ulduar boss (far from finished)
--HG--
branch : trunk
2009-08-09 15:09:44 -05:00
megamage df5853c399 *Fix a typo of Icebound Fortitude which causes crash.
--HG--
branch : trunk
2009-08-09 14:51:53 -05:00
Rat 29cee3e914 *add delete line to 4831_script_texts.sql
--HG--
branch : trunk
2009-08-09 21:20:59 +02:00
Rat 2b1d4b756e *Stratholme update
*added basic instance save
*handle Baron's doors
*Rammstein's adds will move to players

--HG--
branch : trunk
2009-08-09 19:52:34 +02:00
Kudlaty 197c22bfc8 Fix despawning Ghuls in script for quest 12698
--HG--
branch : trunk
2009-08-09 19:40:10 +02:00
Anubisss 81337a1547 *Fix achievement Respect Your Elders.
--HG--
branch : trunk
2009-08-09 19:10:51 +02:00
Anubisss cd0bdade03 *Implement achievement On The Rocks.
--HG--
branch : trunk
2009-08-09 18:30:37 +02:00
Rat a57bc8018c *fix Leotheras the Blind Channeler reset(visual is still bugged)
!please delete all Greyheart Spellbinders (21806) from the instance, they are still summoned by script!

--HG--
branch : trunk
2009-08-09 17:21:30 +02:00
Kudlaty fba08ab4a8 UNIT_FLAG_NON_ATTACKABLE was cousing Whitemane's resurrect to miss Mograine
Whitemane was healing Mograine while he was faking death - patch by totoro

--HG--
branch : trunk
2009-08-09 15:00:04 +02:00
Rat 3a46926823 *fix Lady Vashj event
--HG--
branch : trunk
2009-08-09 14:32:45 +02:00
Rat 1ad11c4460 *fix crash in Illidan script
*only spawn parasites in first phase of fight
*despawn spirits instead of killing them (looks better)

--HG--
branch : trunk
2009-08-09 13:55:53 +02:00
Rat f2f168464d *added script for Tomb of the Seven event in Blackrock Depths
--HG--
branch : trunk
2009-08-09 10:57:09 +02:00
maximius b68a0972e0 *ScriptName -> script (thanks Forgiven)
--HG--
branch : trunk
2009-08-08 23:27:18 -07:00
maximius 6fe9ce419e *Update Vault of Archavon, updates and FULL sqls are now accurate
--HG--
branch : trunk
2009-08-08 22:13:01 -07:00
maximius 84ab289a40 *Cleaned up SQL, updated FULLs
--HG--
branch : trunk
2009-08-08 21:51:55 -07:00
megamage 2f83f6a79c *Try to fix a crash caused by adding player to wrong instance.
--HG--
branch : trunk
2009-08-08 19:05:44 -05:00
megamage 94d048311d *Fix a crash caused by undismissed pet.
--HG--
branch : trunk
2009-08-08 17:58:58 -05:00
megamage a78a0c6b01 *Fix a crash caused by relocationnotify
--HG--
branch : trunk
2009-08-08 17:47:23 -05:00
maximius 64ee35bd94 *Added autoannounce to core, and optimized autobroadcast db query to put less strain on MySQL
--HG--
branch : trunk
2009-08-08 15:05:21 -07:00
Nevan 38abfbeedd Typo
--HG--
branch : trunk
2009-08-08 21:52:19 +02:00
Nevan 8aa30007b5 *Fix Glyph of Blood Strike
*Fix Glyph of Plague Strike
*Fix Glyph of Death Strike

--HG--
branch : trunk
2009-08-08 21:51:00 +02:00
Kudlaty d41d789ddb merge
--HG--
branch : trunk
2009-08-08 21:29:46 +02:00
Kudlaty 10d2625a5c Merge [SD2]
r1151 Remove old workaround and instead use spell to summon dragonhawk from eggs in ZA. Correct eggs hatched count. - skip
r1152 Remove obsolete script function DoZoneInCombat() and replace in code with SetInCombatWithZone(). Requires Mangos 8057+ - skip
r1153 Respawn eggs for boss in ZA in case evade. Remove old workaround and summon dragonhawks by spell from all remaining eggs at 35% hp. - skip
r1154 Added main spells for first boss in ZA - skip
r1155 Added ZA boss' spirit lynx script - skip
r1156 Correct typos and errors in misc .txt files - skip
r1157 Added abilities and phases for halazzi - skip
r1158 Add two lost variables in previous commit, used for reset phase - skip
r1159 Use expected movement flag for escortAI (source need more detailed cleanup) - skip
r1160 More corrections of movementflags + minor cleanup code. - skip
r1161 Correcting boss astromancer and adds' spells. Some minor code cleanup.
r1162 Fix typo related to ReceiveEmote() and update code for once script, using spell instead of emote.
r1163 Added spells for Unworthy Initiate. - skip
r1164 Added ScriptedAI function EnterEvadeIfOutOfCombatArea() used for location check of creatures that are expected to evade when out of certain area. Location coordinates are hard coded for each creature entry.
r1165 Replace/use EnterEvadeIfOutOfCombatArea for three bosses, with locations added in previous commit.
r1166 Add one more boss to EnterEvadeIfOutOfCombatArea() list and also use boolean for function (to be used if special case evade events are expected).
r1167 Remove some old (and wrong/not needed) movementflags, correct remaining to use MONSTER_* - skip
r1168 Fixed spellId typo - skip
r1169 Added basic support for quest 12733 (change our script to this)
r1170 Remove meele attack for mini-boss and add some distance for MoveChase()

--HG--
branch : trunk
2009-08-08 21:29:12 +02:00
megamage edfba5caa3 *Implement SPELL_ATTR_EX4_FIXED_DAMAGE
--HG--
branch : trunk
2009-08-08 14:27:30 -05:00
megamage fdade24355 *Fix the quest requirement for DK to leave start zone. By kaell
--HG--
branch : trunk
2009-08-08 12:55:51 -05:00
megamage f00fd3959e *Revert Mangos patch [8325]
--HG--
branch : trunk
2009-08-08 12:42:13 -05:00
megamage 0d80df4e58 *Add assert back to go::setownerguid
--HG--
branch : trunk
2009-08-08 12:40:20 -05:00
megamage 1165b889a0 [8328] Fixed problem with crash at startup in result destroy anti-freeze thread runnable. Author: VladimirMangos
* Destroy runnable only if no references.
    * Some code cleanups

--HG--
branch : trunk
2009-08-08 12:37:33 -05:00
megamage a3ee65bee1 [8327] Fixed recieved packet size check for MSG_MOVE_TELEPORT_ACK. Author: VladimirMangos
--HG--
branch : trunk
2009-08-08 12:35:09 -05:00
megamage b78d7a01b4 [8325] Restore BG spirit guids work after [8308]-1. Author: VladimirMangos
--HG--
branch : trunk
2009-08-08 12:31:29 -05:00
megamage 58dc6e180b [8320] Imporovements in wild summoned gameobjects work. Author: VladimirMangos
* Not set owner for will summoned gameobjects.
      Its not expected to have owner, and must be accessable to all players (or team).
    * Set for all objects summoned by spells: despawned by deafult for proper despawn withut owner.
    * Cleanup Spell::EffectSummonObjectWild.

--HG--
branch : trunk
2009-08-08 12:25:20 -05:00
megamage f8a05d264f [8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. Author: VladimirMangos
[8319] Restore compile PGSQL support after last changes. Author: ApoC

--HG--
branch : trunk
2009-08-08 12:12:56 -05:00
megamage 658538a092 *Some update of vehicle.
--HG--
branch : trunk
2009-08-08 11:57:51 -05:00
megamage 9952786d14 *Also aggro player-controlled units in dozoneincombat.
--HG--
branch : trunk
2009-08-08 11:56:54 -05:00
megamage ecdba0cbba *Only allow mover to turn when it is on vehicle.
--HG--
branch : trunk
2009-08-08 11:55:49 -05:00
megamage 462086f3b1 *Fix a bug that UNIT_STAT_CASTING is not cleared when delayed spells are casted.
--HG--
branch : trunk
2009-08-08 11:53:48 -05:00
Nevan 233f3c8306 *Fix Icebound Fortitude Formula
*Fix Glyph of Icebound Fortitude

--HG--
branch : trunk
2009-08-08 17:47:15 +02:00
Nevan ea605726d6 *Fix Unbreakable Armor Formula
*Fix Glyph of Unbreakable Armor

--HG--
branch : trunk
2009-08-08 17:20:48 +02:00
QAston 6b4772207f *Cleanups, remove obsolete code and minor optimizations in spellauras.cpp and spelleffects.cpp
*Remove GetDummyAura(uint32 spellid) function - it is faster to use GetAuraEffect or GetAura if id is known than iterate threw dummy auras list
*Move Death Strike code from HandleDummyAuraProc to Spell::EffectDummy - original patch by hununza.

--HG--
branch : trunk
2009-08-08 16:18:05 +02:00
Anubisss 08f1421ae1 *Fix startup with libtrinityinterface.
--HG--
branch : trunk
2009-08-08 14:24:18 +02:00
megamage 0f7b23070f *Fix a bug introduced in 3874. This makes IsNonMeleeSpellCasted cannot correctly check if caster is casting.
*This fixes the bug that Heigan chases players when he is channelling.

--HG--
branch : trunk
2009-08-07 16:12:50 -05:00
megamage 74357a8971 *Fix the bug that noth is unselectable.
--HG--
branch : trunk
2009-08-07 15:12:14 -05:00
megamage 0fc62066bf *Fix a typo in spellauras.cpp which makes some triggered spells triggered twice.
--HG--
branch : trunk
2009-08-07 15:12:01 -05:00
megamage 8c67a6a697 merge
--HG--
branch : trunk
2009-08-07 14:41:48 -05:00
megamage 6fe8d1269d Backed out changeset: f86476eb503d
--HG--
branch : trunk
2009-08-07 14:41:14 -05:00
megamage 3549c0bddd *Check category instead of flags for some spells. Author: VladimirMangos
--HG--
branch : trunk
2009-08-07 14:40:37 -05:00
maximius fe3ba612d9 *Emalon the Stormwatcher fully scripted, by Necroo (boss needs to be spawned and ScriptName needs to be updated)
*Added config options: DurabilityLoss.OnDeath and DurabilityLoss.InPvP, optimized Rate.RepairCost

--HG--
branch : trunk
2009-08-07 12:12:42 -07:00
Kudlaty be74be36f6 Merge [SD2]
r1146 Use ForcedDespawn() where possible and remove some not needed function calls. Code style applied. Requires Mangos 8040+
r1147 Make Millhouse have better movement, using distance for MoveChase
r1148 Added missing call sendGossipMenu
r1149 Correct mixed up emote and language in one script_texts
r1150 Update custom SD2 patch for Mangos 0.12 branch - skip

--HG--
branch : trunk
2009-08-07 18:07:40 +02:00
Nevan 4e07fd3a0f *Fix Glyph of Mirror Image
--HG--
branch : trunk
2009-08-07 16:45:56 +02:00
Kudlaty 0aef1a9a48 Merge [SD2]
r1142 Fix: Kael'thas advisors gain double health in phase 3 and dropp them on reset
      Fix: Void Reaver will now ignore pets and totems when casting arcane orb
r1143 Remove old workaround for summon kael(TK) weapons and use spells instead. Apply code style to parts of code.
r1144 Added lost sql from revision 1119 and 1121 - skip
r1145 Correcting details for npc related to quest 590

--HG--
branch : trunk
2009-08-07 02:03:27 +02:00
megamage 6d6d780370 [8316] Remove duplicate player stat output. Author: XTZGZoReX
--HG--
branch : trunk
2009-08-06 17:47:42 -05:00
megamage 7f8ce1d809 [8315] Fixed memory leaks (mostly at server shutdown) and code cleanups. Author: VladimirMangos
* Fixed leak in BattleGround::m_PlayerScores at BattleGround::Reset,
      add and use BattleGroundScoreMap typedef
    * Delete AreaTeam objects stored in global map at shutdown
    * Delete Corpse objects stored in global map at shutdown
    * Store guild bank log entries as objectes instead pointers in log event lists

--HG--
branch : trunk
2009-08-06 17:45:37 -05:00
megamage e8556b879d [8311] Prevent multiline fake messages in chat. Author: horogandris
--HG--
branch : trunk
2009-08-06 17:42:44 -05:00
QAston b35e7ac28d *Correctly show npc root aura expire in client - by thenecromancer.
--HG--
branch : trunk
2009-08-06 23:41:08 +02:00
megamage befbae3a61 *Fix the bug that players get stuck after teleported out of bg.
*Do not delete the map immediately until all players are teleported.

--HG--
branch : trunk
2009-08-06 16:14:13 -05:00
QAston 50c73d433c *Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.
--HG--
branch : trunk
2009-08-06 23:10:36 +02:00
megamage 91885a7790 *Fix the bug that player's pet enterevademode repeatedly.
--HG--
branch : trunk
2009-08-06 14:39:06 -05:00
megamage 624bd6a1f0 *Fix some Gothik mob spells. Thanks to Stryker
--HG--
branch : trunk
2009-08-06 13:57:41 -05:00
Kudlaty 6eb19cbe0f Merge [SD2]
r1130 Update scripts using common way to initialize heroic and instance data and apply sd2 code style. - skip
r1131 Added more parts of vazruden/nazan -encounter. Note scriptCall MovementInform() must be corrected before this script can work as expected. - skip
r1132 Add custom patch for backport SD2 to 0.12 branch of Mangos. Please note this is not officially supported and bugs are not to be posted in regular way (use own thread in forums for help/improvements) - skip
r1133 Replace some needless use of script function DoSpawnCreature with direct call of SummonCreature.
r1134 Correct timer for najentus spine and remove obsolete code. - skip
r1135 Corrected a few variables in misc scripts, apply SD2 code style - skip
r1136 Added support for quest 12848 - skip (already scripted)
r1137 Correct timer and check if event already begun for mob_illidari - skip
r1138 Remove one custom MoveInLineOfSight and use only for intro
r1139 Remove useless cached copy of creature guid already cached in instance script. Call Reset for boss when encounter actually start to ensure adds list are filled and also simplify some additional for mob's script. - skip
r1140 Restore compile after changes in displayId. Requires Mangos 8015+ - skip
r1141 Added instance script for map 601 - skip (already have better)

--HG--
branch : trunk
2009-08-06 20:35:18 +02:00
Kudlaty 87f573752e Merge [SD2]
r1120 Add CallForHelp at aggro for two instance bosses. Requires Mangos 7951+
r1121 Added basic parts of boss spell definitions and texts for Nexus instance - skip (already have better)
r1122 Correct one spellId, add more spell definitions for boss noth - skip
r1123 Remove wrong spell for gluth and add missing emote text. Summon only expected amount of adds. Some additional cleanup in anubrekhan and check heroic for a few spell cast. - skip
r1124 Use normal health check calculation for easier backport (to older client)
r1125 Fixed typo in previous commit
r1126 Add spell cast to dragon in scrying orb event and add workaround for kill credit.
r1127 Convert gossip related define to enum and remove one useless (redefinition)
r1128 Remove no longer needed item scripts that can be controlled with database table item_required_target (Mangos 7980+)
r1129 Remove one more obsolete item script (use spell_area DB table for area limited spell).
      Cleanup other and provide spell error message. Requires Mangos 7983+

--HG--
branch : trunk
2009-08-06 19:10:50 +02:00
megamage e1cfdaedcf *Remove the assert(false) in StopCastingCharm() because i am not able to fix it for now.
--HG--
branch : trunk
2009-08-06 11:32:56 -05:00
megamage 7dd131a293 *Use flags for positive spell check to reduce calculation.
--HG--
branch : trunk
2009-08-06 11:24:14 -05:00
Kudlaty 6bbea44dbb Fix typo in 4787_script_texts.sql. Thx Aokromes
--HG--
branch : trunk
2009-08-06 18:05:17 +02:00
megamage 05940192f4 *Fix a dead loop in 4786. By QAston.
--HG--
branch : trunk
2009-08-06 11:01:22 -05:00
megamage e8330e4162 *Update creature damamge formula. Use damage mod in config as total_pct modifier.
--HG--
branch : trunk
2009-08-06 10:38:46 -05:00
Kudlaty e645927759 Merge [SD2]
r1114 Added two new struct ObjectDistanceOrder/ObjectDistanceOrderReversed for generic use sorting objects by GetDistanceOrder()
r1115 Remove obsolete code in misc scripts and use struct ObjectDistanceOrder/Reversed instead
r1116 Added script for mob 24079 + related instance script - skip (already have it better)
r1117 Update DoPlaySoundToSet function and allow WorldObject as source for sound.
r1118 Correcting end bosses scripts in SM cathedral
r1119 Added basic scripts w/texts for bosses in utgarde keep

--HG--
branch : trunk
2009-08-06 17:36:32 +02:00
megamage 048665a37a *Try to fix the crash caused by invalid map pointer of player.
--HG--
branch : trunk
2009-08-06 10:21:10 -05:00
megamage d4dca0c8cd *Mirror Image By thenecromancer
*Fixes a bug when images loose name after they reset
*Fixes a bug when images consistently interrupt owner's cast
*Fixed a bug when images have very laggy follow movement
*Removed a line that made no sense

--HG--
branch : trunk
2009-08-06 08:53:29 -05:00
megamage 8c875f2323 *Patch Reliquary of Souls. By Farah
--HG--
branch : trunk
2009-08-06 08:50:44 -05:00
megamage 87c8df8f3a *Add script of General Bjarngrim, Halls of Lightning. Source: SD2. Thanks to manuel.
--HG--
branch : trunk
2009-08-06 08:49:41 -05:00
Rat 6941264b3d *fix typo in 4759_world.sql
--HG--
branch : trunk
2009-08-06 10:21:48 +02:00
megamage 11b6ae7924 *Correct reputation rounding. By Necroo
--HG--
branch : trunk
2009-08-05 22:24:47 -05:00
megamage bcbfbd6826 *Some clean up of scripts.
--HG--
branch : trunk
2009-08-05 22:24:30 -05:00
megamage 054974596e *Teleport player to start pos instead of home pos when using stuck spell.
--HG--
branch : trunk
2009-08-05 19:45:10 -05:00
megamage 9a8c60dbc7 *Do not allow dk to teleport out of start map without completing required quests.
*Remove some useless quest status enum.

--HG--
branch : trunk
2009-08-05 19:43:55 -05:00
megamage f03cd942cd *Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS
--HG--
branch : trunk
2009-08-05 17:26:15 -05:00
megamage e3e09cc86a *Fix a typo.
--HG--
branch : trunk
2009-08-05 16:42:12 -05:00
megamage ec56fd77bf *Merge
--HG--
branch : trunk
2009-08-05 16:40:41 -05:00
megamage 5b1e8ef6ff [8309] Fixed paladin judgement selection code in some places. Author: KAPATEJIb
--HG--
branch : trunk
2009-08-05 16:39:09 -05:00
megamage 907342d5b0 [8308] More generic code for new continent spell casting including fly form/mounts. Author: VladimirMangos
* Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in
      SpellMgr::GetSpellAllowedInLocationError.
    * Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item)
    * For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state.
    * Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality.
    * Allow in `spell_area` have data deepndent from ghost auras

    This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area`

--HG--
branch : trunk
2009-08-05 16:33:34 -05:00
megamage 31f989fab9 For check allowed in dead state auras apply use IsDeathPersistentSpell instead hack code. Author: VladimirMangos
--HG--
branch : trunk
2009-08-05 16:14:54 -05:00