Commit Graph

952 Commits

Author SHA1 Message Date
megamage
1ff5e51ddc *Fix the bug that npc in quest endless hunger assist each other.
--HG--
branch : trunk
2009-08-11 21:40:18 -05:00
Anubisss
08121cc271 *Remove a not needed log. :)
--HG--
branch : trunk
2009-08-12 02:32:13 +02:00
Anubisss
3ea9d899db *Implement achievement Timely Death.
--HG--
branch : trunk
2009-08-12 02:30:27 +02:00
Kudlaty
6eeaea276c Fix quest Death Challange
--HG--
branch : trunk
2009-08-12 02:07:52 +02:00
maximius
98a19f2125 *Linked Ulduar bosses with their scripts
*Wailing Caverns updates, by Oculus

--HG--
branch : trunk
2009-08-11 12:20:26 -07:00
QAston
e2e70b936b *Cleanups and obsolete spell handlers remove.
--HG--
branch : trunk
2009-08-11 19:57:27 +02:00
megamage
31374835f6 *Cleanup about deleting player.
--HG--
branch : trunk
2009-08-10 23:32:20 -05:00
Anubisss
c1c8333642 *Fix prison Containment Spheres in Keristrasza.
--HG--
branch : trunk
2009-08-11 04:57:09 +02:00
maximius
cba36e5c33 *More cleanup
--HG--
branch : trunk
2009-08-10 16:26:27 -07:00
maximius
e4e8af2873 *ScriptMgr cleanup
--HG--
branch : trunk
2009-08-10 16:13:57 -07:00
maximius
6780cefb7d *Merge
--HG--
branch : trunk
2009-08-10 16:12:23 -07:00
maximius
047146ce0a *Ulduar script updates, thanks Nemesis
*Minor Vault of Archavon cleanup

--HG--
branch : trunk
2009-08-10 16:11:44 -07:00
Kudlaty
5d23ff7703 Merge [SD2]
r1179 Initialize variables used for EscortAI. Simplify some parts of code and also remove obsolete code for reconnecting to path.
r1180 Added script for npc 19679, not allow vendor if not have friendly rep or better.
r1181 Updated ScriptDev2 to MaNGOS 0.12 patch for SD2 version 1180 and mangos-0.12 7680 - skip
r1182 Cleanup instance related definitions for BT and apply code style - skip
r1183 Provide updated patch for Mangos (8095) and restore option to use git am. Update How To Install.txt accordingly and clarify why/when patch is needed also for Windows. - skip
r1184 Added support for quest 11142. Database support for spell 42316 needed.
r1185 Fix typo from 1182 and set eol-style + add missing to makefile

--HG--
branch : trunk
2009-08-11 00:43:06 +02:00
Rat
916bf8dbda *fix achievement 630 (Wailing Caverns)
--HG--
branch : trunk
2009-08-10 23:48:22 +02:00
Kudlaty
1594f0381f Merge [SD2]
r1172 Replace some DealDamage() with ForcedDespawn()
r1173 Added a few more texts for quest 12733
r1174 Allow escortAI to continue run for as long as at least one member of party is in range (in case original player who start escort is in party).
r1175 Correct gossip text, wrong in rev 1173.
r1176 Correcting a bug for script related to quest 11129. Also use explicit boolean as check if still moving to location.
r1177 Adjusting tempsummon time for Opera event bosses and also despawn if creatures evade.
r1178 Remove not needed code (already called from escortAI::UpdateAI)

--HG--
branch : trunk
2009-08-10 23:24:40 +02:00
maximius
f2a24c215c *Halls of Lightning update, Loken script from SD2 (thanks manuel)
--HG--
branch : trunk
2009-08-10 14:14:58 -07:00
megamage
f86d54376a *Fix Lightwell. By Elron
--HG--
branch : trunk
2009-08-10 15:52:11 -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
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
df9cf9c0fa *Some scripts of ulduar boss (far from finished)
--HG--
branch : trunk
2009-08-09 15:09:44 -05: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
6fe9ce419e *Update Vault of Archavon, updates and FULL sqls are now accurate
--HG--
branch : trunk
2009-08-08 22:13:01 -07: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
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
megamage
74357a8971 *Fix the bug that noth is unselectable.
--HG--
branch : trunk
2009-08-07 15:12:14 -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
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
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
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
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
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
megamage
bcbfbd6826 *Some clean up of scripts.
--HG--
branch : trunk
2009-08-05 22:24:30 -05:00
Rat
35cf6778de *added script for training dummies
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill

--HG--
branch : trunk
2009-08-04 12:38:35 +02:00