Commit Graph

1151 Commits

Author SHA1 Message Date
Kudlaty
75faad4b93 Merge [SD2]
r1251 Add waypoints for Hellmaw
r1252 Add missing SQL to *_full for script added in rev 1243
r1253 Increment count value only for alive creature in SL instance script. Some minor cleanup.
r1254 Fix typo, and not set friendly creature in combat with zone. Also add comments and re-order code for readability. Patch by astriconX - skip
r1255 Handle akama channelers in different way, fill list of guids only when needed for event. - skip
r1256 Clean up akama script and apply sd2 code style. - skip
r1257 Correct 2 waypoints and apply sd2 code style to related script.
r1258 Add basic support for quest 1560
r1259 Simplify way to summon druid creatures. Patch by Turok
r1260 Clean up two more world bosses, apply SD2 code style and simplify code. Add missing texts. Patch by Turok.

--HG--
branch : trunk
2009-08-14 15:58:37 +02:00
QAston
a797b2fe6f *Correct procflags for Darkmoon Card: Death - by Joro.
--HG--
branch : trunk
2009-08-14 13:26:38 +02:00
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
maximius
184c8ac829 *Cleanup
--HG--
branch : trunk
2009-08-13 18:20:40 -07:00
maximius
02e759a879 *Added directions to Inscription trainers to all guards, based on Nafsih's patch
*Cleaned up Sethekk Halls

--HG--
branch : trunk
2009-08-13 18:16:55 -07:00
maximius
5d4ffbb90a *Fix Anzu multiple spawns, by Oculus
--HG--
branch : trunk
2009-08-13 17:05:15 -07:00
megamage
354c7a5f0d *Add 4854 sql to full.
--HG--
branch : trunk
2009-08-13 18:16:42 -05:00
megamage
e0449b421c *Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
--HG--
branch : trunk
2009-08-13 14:39:01 -05:00
megamage
25f81cdfcd *Fix some typos in spell_area which make some spells are not available to female char.
--HG--
branch : trunk
2009-08-13 13:40:30 -05:00
Drahy
eaf8c93f7a * Fixed some iport errors from previous revision
* Added more INSERTs for faster import

--HG--
branch : trunk
2009-08-13 17:58:33 +02:00
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
5ba4407d42 Merge [SD2]
r1231 Remove old hack code that never worked and move/comment a few remaining to a more suitable function.
r1232 Use more safe way to check local bool in AI, accessed from GossipSelect
r1233 Update instance type and data labels for ZG to sd2 style and remove not needed ones.
r1234 Add scriptname for Gong, prevent using it in ZG if event already in progress or done (script added in previous commit)
r1235 Restore compile, sorry for typos :)
      Apply SD2 code style to arlokk script.

--HG--
branch : trunk
2009-08-13 17:02:49 +02:00
Drahy
02da8a41f7 [8361] Avoid apply bonuses to item 32262 drain life. Author: VladimirMangos
--HG--
branch : trunk
2009-08-13 11:21:08 +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
megamage
4f4775a31b [8339] Improved storing/restoring BG entry point
* Introduced new table character_battleground_data
    * Entry point is now stored on BG enter event not join event
    * Entry point for dungeons is now correctly set to nearest graveyard
      (this prevent well known assert in GetInstance because of porting to already destroyed instance)
    * Teleporting from BG correctly restore mount state
    * Teleporting from BG correctly restore taxi flight
      (in multipath flight you will end up in nearest transition point on the route)

    Signed-off-by: ApoC <apoc@nymfe.net>

--HG--
branch : trunk
2009-08-12 20:27:00 -05: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
QAston
ba91c78ceb *Update Mana Shield Spell Power Coefficient - by fukifat.
*Add function void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool changeAmount), and aura effect specific stuff to it.
*More correct aura scaling with lvl for area auras.
*Prevent exploits with relog while having auras with modified amount.

--HG--
branch : trunk
2009-08-13 00:52:05 +02:00
megamage
cd78172c7d *Do not allow to enter frostwyrm wing before killing all previous bosses. If you do not like it, simply do not apply the sql.
--HG--
branch : trunk
2009-08-12 08:01:06 -05:00
maximius
7a548ff9d5 *Add some missing scripts
--HG--
branch : trunk
2009-08-11 22:57:40 -07:00
megamage
36302e1d24 *Fix ulduar script sqls. By Epsik
--HG--
branch : trunk
2009-08-11 16:49:07 -05: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
Anubisss
c1c8333642 *Fix prison Containment Spheres in Keristrasza.
--HG--
branch : trunk
2009-08-11 04:57:09 +02:00
Drahy
1beff219b8 * Cleanup in Fulls
--HG--
branch : trunk
2009-08-11 02:02:45 +02:00
maximius
e546665e67 *Missed in last commit >_<
--HG--
branch : trunk
2009-08-10 16:37:09 -07:00
maximius
8fd6714236 *Fix typo in 4872_world_scripts.sql, thanks Lorac
--HG--
branch : trunk
2009-08-10 16:36:03 -07:00
Kudlaty
5a2dbd43db merge
--HG--
branch : trunk
2009-08-11 00:43:56 +02: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
Anubisss
d303603a86 *Fix a typo.
--HG--
branch : trunk
2009-08-11 00:37:26 +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
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
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
megamage
61b4b86d28 *Move beast within bonus auras to sql.
--HG--
branch : trunk
2009-08-09 16:28:24 -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
df9cf9c0fa *Some scripts of ulduar boss (far from finished)
--HG--
branch : trunk
2009-08-09 15:09:44 -05:00
Rat
29cee3e914 *add delete line to 4831_script_texts.sql
--HG--
branch : trunk
2009-08-09 21:20:59 +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
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
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
Chaz Brown
a2c2bad94b Add config options for filters, add some, delete some, change others. Make sure you update your trinitycore.conf
--HG--
branch : trunk
2009-08-08 02:08:20 -04: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