Commit Graph

27 Commits

Author SHA1 Message Date
Drahy
fc9a4b32c4 * Redone world_script_texts added/fixed some texts + cleanup
* Please reimport world_script_texts.sql from FULL folder

--HG--
branch : trunk
2009-08-13 17:32:34 +02:00
Kudlaty
ed637fbf1f Merge [SD2]
r1211 Correct tempsummon type for adds and add spellId for future use. Patch by Abim - skip
r1212 Added support for quest 6523. Patch by Meldanor - skip (already have that, just move waypoints to db)
r1213 Add a few missing address-of operators and some general cleanup.
r1214 Adjusting how pet are summoned and check when new pet can be summoned for sharkkis. - skip
r1215 Added support for event related to quest 12727. Original patch by ckegg
r1216 Some adjustments to function for controlling combat movement (MoveChase())
r1217 Use SetCombatMovement() for more scripts where expected and remove one useless function from Scripted_NoMovementAI (this may be fully removed)
r1218 Correct script_texts, adding variable %s where missing (...and where expected. Note that not all creature emote texts contain name of sender). - skip
r1219 Reset DATA_OPERA_OZ_DEATHCOUNT to 0 at start, in case event was previously run and incremented counter.
r1220 Correct lost-in-process FillPointMovementListForCreature() for quest 12727 (copy/paste == bad)

--HG--
branch : trunk
2009-08-13 02:48:34 +02:00
Kudlaty
57d2f5e7d2 Merge [SD2]
r1205 Check pointer for NULL before use. - skip
r1206 Remove conflicting MovePoint and let creature fully use MoveChase for summoned in hyjal. - skip
r1207 Add instance bosses for map 602. Scripts can not be considered complete and must be tested further when databases has better values for misc (such as creature factions, health/mana etc)
r1208 Added handling of doors for second last boss in BRD. Apply sd2 code style and clean up last boss(es) scripts and spells. Patch by Turok - skip
r1209 Merge scripts for last bosses in BRD to one source file. Also not store pointers to creatures and create only when needed.
      Added creation of portal if Moria survive and Emperor is dead. - skip
r1210 Clean up and add script for second boss in SWP. Patch by paytheo (original by ckegg) - skip
note: in previous merge should be r120x insted of r200x. Sorry for that

--HG--
branch : trunk
2009-08-13 00:57:55 +02:00
Kudlaty
14527965dc merge
--HG--
branch : trunk
2009-08-10 23:25:41 +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
c45488502f *Fix ordering
--HG--
branch : trunk
2009-08-10 14:20:57 -07:00
maximius
f2a24c215c *Halls of Lightning update, Loken script from SD2 (thanks manuel)
--HG--
branch : trunk
2009-08-10 14:14:58 -07: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
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
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
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
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
Drahy
ebad12818b * Some cleanup in full sqls
--HG--
branch : trunk
2009-08-04 05:31:00 +02:00
Chaz Brown
71adccb1c7 Fix CRLF in SpellAuras.cpp and strange character in world_script_texts.sql
--HG--
branch : trunk
2009-08-03 04:17:18 -04:00
Chaz Brown
ba31fc3714 Fix errors in some sqls, including 4610_world_scripts.sql
--HG--
branch : trunk
2009-07-27 12:06:59 -04:00
Kudlaty
0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +02:00
Kudlaty
779a0c1b0d Fix typo. Thx to X-Savior for poiting
--HG--
branch : trunk
2009-07-24 11:50:28 +02:00
Kudlaty
4f7e94ace2 Merge [SD2]
r1095 Correct one spellId in hyjal - skip
r1096 Remove more grid search code from scripts and use functions.
r1097 Remove obsolete functions redefined in 1094
r1098 Added text for bosses in map 615
r1099 Added instance script for map 615

--HG--
branch : trunk
2009-07-24 06:16:31 +02:00
Kudlaty
3b6aacb512 Fix typos in sql FULL. Thx for poiting X-Savior
--HG--
branch : trunk
2009-07-13 10:34:41 +02:00
Anubisss
87213301e7 *Merge SD2.
*r1202: Added support for quest 12739(and 12742 to 12750). Patch by ckegg

*And merge a grid searcher from SD2.

--HG--
branch : trunk
2009-07-12 01:17:04 +02:00
Drahy
57ab0f01f3 * Used finally after long time trinity sql coding style
* Missing data are now in 4321_world - just import this
* Updated all FULL sqls to 4321

--HG--
branch : trunk
2009-06-29 22:25:16 +02:00
BroodWyrm
62dc6eb7bb * Add textids to unworthy_initiate script - thx to crackm of SD2
* Fix a bug that unworthy_initiate is attackable after reset - thx to seirge

--HG--
branch : trunk
2009-06-26 20:35:15 +02:00
Kudlaty
2ac0089d16 Merge [SD2]
r1056 Added some texts for future use + added one additional waypoint for npc 24358
r1057 Add spell and correct gossip text for npc 24358. Move open door code to instance script
r1058 Simplify scripts using manual call ActivateTaxiPathTo().
      Added ScriptName for npc 22112, also cleanup code.
r1059 Remove redundant call to activateTaxiPathTo(), taxi already implemented for related spell. Some code cleanup
r1060 Update scripts with SD2 code style for a few commonly used pointers passed in functions (Player* pPlayer, Creature* pCreature, etc)
      Remove some useless whitespace - Skip
r1061 Trim trailing whitespace in source files. - Skip
r1062 Added script to control misc alarm/rooftop bots, summoning guards when hostile players comes in range and trigger AttackStart based on aura.
r1063 Fixed missing call to AI constructor for npc 18585. Code cleanup.
r1064 Correcting a few wrong gossip icons. Code cleanup.
r1065 Fixed two more lost calls to ai constructors.
      Add one missing scriptname to *full.sql added in rev 982

--HG--
branch : trunk
2009-06-19 00:22:19 +02:00
Kudlaty
ce4a4c740a Merge [SD2]
r1031 Removed empty Aggro function from most scripts. - Skip(already deleted)
r1032 Correct spell id's for Leotheras, added enrage and some missing definitions for future dev.
Change movement generator when changing forms and reset threat.
Updated texts and summon correct npc. SD2 code style applied.
r1033 Added: Heroic support for all bosses in Dark Portal / Black Morras event.
Fixed: Timers and spells in Dark Portal / Black Morras bosses and other.
r1034 Correct spellIds for boss Vashj. Remove code from UpdateAI where better used in other functions (eg JustSummoned). Prevent channel generators from cast before boss actually reach destination in phase 2. SD2 code style applied.
r1035 Simplify SpawnAdds function in boss hydross

--HG--
branch : trunk
2009-06-18 10:47:39 +02:00
megamage
cf99758b0b *Move all full sqls to a seperate folder.
--HG--
branch : trunk
2009-06-17 13:35:23 -05:00