Commit Graph

12 Commits

Author SHA1 Message Date
Kudlaty
5b87f1fcdc Merge [SD2]
r1245 Update escortAI MAX_PLAYER_DISTANCE from 50 to 66 yards - skip
r1246 Not call JustDied() AI function when escortAI max range is over limit(not regular death). Some additional cleanup to apply code style.
r1247 Implement automated FailQuest in escortAI (if npc has specific death events, call npc_escortAI::JustDied()). Clean up scripts related to it.
      Restore original faction at escortAI's JustRespawned() in case faction changed (normal case for escorts). Remove in scripts where defined.
r1248 Add small delay before move to first point in escortAI.
r1249 Add support for quest 898
r1250 Add support for quest 10451. Original patch by Lightguard

--HG--
branch : trunk
2009-08-14 05:32:39 +02:00
Kudlaty
93e420ed29 Merge [SD2]
r1241 Add text to ysondre and also replace manual summon with spell. Clean up script. Patch by Turok
r1242 Add support for quest 4770
r1243 Add support for quest 4904
r1244 Update most scripts calling escortAI's Start() from outside creature AI with more safe method.

--HG--
branch : trunk
2009-08-14 04:21:52 +02:00
Kudlaty
f6ec531d4d Merge [SD2]
r1221 Restore compile after changes to KilledMonster().
      Remove no longer needed code where creature_template are expected to have definitions for KillCredit.
      Replace one creature script with areatrigger script and some related code cleanup.
      Requires Mangos 8190+
r1222 Move waypoints for Barnes to database. Also adjust code and simplify parts of pre-event. Some additional code cleanup
r1223 Clean up labels for Kara instance.
r1224 Replace use of MANGOS_DLL_SPEC with MANGOS_DLL_DECL as expected in script. Thanks Zor for notice. - skip
r1225 Add new options for escortAI.
      For normal escorts, InstantRespawn can be set true (normal will despawn creature and use database spawntimesecs)
      For non-escorting scripts, option to loop path can be set. Creature will return to respawn coords and after, start path from beginning.
r1226 Remove escortAI option to defend self. Creature must be able to enter combat with any attacking and then defend self by attacking back.
      If custom cases exist where creature must not be set in combat with attacking, then custom script is expected.
r1227 Using _SECURE_SCL=0 to speedup iterators in Windows (release build, ref Mangos rev 8194). Patch by Vladimir - skip
r1228 Clean up gruul instance + scripts, add instance save and apply sd2 code style.
      Some adjustment to hurtful strike. Minor adjustments to other spell abilities.
      Create own AI for adds, and avoid repetitive code being common for all adds.
      Patch by Abim - skip
r1229 Move door code to instance script and simplify Set/GetData() code and aggro check. - skip
r1230 Remove no longer needed call to Reset() in Council_Base_AI and correct typo. - skip

--HG--
branch : trunk
2009-08-13 05:47:23 +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
megamage
0ed719c558 *Fix Quest Skywing. By Farah
--HG--
branch : trunk
2009-08-10 15:28:49 -05: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
Drahy
ebad12818b * Some cleanup in full sqls
--HG--
branch : trunk
2009-08-04 05:31:00 +02:00
Kudlaty
0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +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
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
hunteee
c6c1284eb0 *Second part of previous commit.
--HG--
branch : trunk
2009-06-18 19:31:55 +02:00
megamage
cf99758b0b *Move all full sqls to a seperate folder.
--HG--
branch : trunk
2009-06-17 13:35:23 -05:00