Commit Graph
978 Commits
Author SHA1 Message Date
megamage 3fab9ff35e *More fixes of scripts.
--HG--
branch : trunk
2009-06-17 19:23:17 -05:00
megamage 816247bfd3 *Fix some merged SD2 scripts.
--HG--
branch : trunk
2009-06-17 19:18:30 -05:00
megamage 9676c5eddf *Fix a crash caused by boss_fathomguard script.
--HG--
branch : trunk
2009-06-17 15:44:18 -05:00
megamage 2d569883e6 *Add config option CheckDB to check if the contents in FULL folder are applied.
--HG--
branch : trunk
2009-06-17 14:09:17 -05:00
Machiavelli e4e3cb8661 * Fix cooldown of Draw Whadows in Grandmaster Vorpil script, spotted by toward and Visagalis
--HG--
branch : trunk
2009-06-17 17:31:51 +02:00
Machiavelli d9057a8189 *Merge
--HG--
branch : trunk
2009-06-17 17:14:25 +02:00
Machiavelli 87790145c5 *Fix bug that Illidari Council is unlootable after succesfuly completing the encounter.
--HG--
branch : trunk
2009-06-17 17:13:30 +02:00
Kudlaty 0085745c42 Merge [SD2]
r1026 Added save/load to blood furnace instance script.
r1027 Remove manual summons and teleport for boss morogrim, replace with proper spells. Apply sd2 code style.
r1028 Replace SetUInt32Value for display id with function SetDisplayId.
r1029 Simplify spawn of adds for hydross and use combatStartPosition instead of hard coded values for radius check. SD2 code style applied.
r1030 Remove call Aggro in AttackStart and start use EnterCombat AI function.
Note Aggro will still be called like normal, but no longer required defined in scripts.

--HG--
branch : trunk
2009-06-17 09:39:50 +02:00
megamage fb26b41e33 *remove outdated eventai in script. they are in core now.
--HG--
branch : trunk
2009-06-17 01:03:21 -05:00
megamage c6765f9365 *Allow to force to respawn creatures.
*Save creature data for vehicles.
*Change some visibility update sequence of respawned creatures.
*Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase

--HG--
branch : trunk
2009-06-17 01:01:39 -05:00
Kudlaty e62c77fb1d Merge [SD2]
r1021 Remove ScriptedAI boolean InCombat and use real combat state instead where check is needed.
r1022 Added new ScriptedInstance function, DoUseDoorOrButton() for future use in instance scripts.
r1023 Updated instance function DoUseDoorOrButton with additional variables. Remove some older code and replace to use new function.
r1024 Fix typo in previous commit. - Skip
r1025 Added instance script for blood furnace and make bosses set instance data. Some code cleanup - only some code cleanup

--HG--
branch : trunk
2009-06-17 07:16:40 +02:00
Kudlaty 3c502513b0 Merge [SD2]
r1017 Remove no longer needed functions used in instance scripts. Some additional code cleanup.
r1018 Remove redundant calls to InterruptNonMeeleSpells() and use true in CombatStop() calls instead where needed.
r1019 Fixed: use correct isInFlight check for item 34475 - Skipp already implemented
r1020 Restore work of three scripts after recent changes in AI about AttackedBy(), also some additional code cleanup.

--HG--
branch : trunk
2009-06-17 03:35:23 +02:00
Anubisss 5547366ce3 *Allow horde characters do quest Cluck! by Thraxx.
--HG--
branch : trunk
2009-06-17 03:05:40 +02:00
Anubisss 79dd0f345d *Fix quest Custodian of Time's script by Azrael.
*and use Player(with GetPlayer()) pointer instead of Unit in the script.

--HG--
branch : trunk
2009-06-17 02:19:23 +02:00
Kudlaty eba1debc3e Merge [SD2]
r1016 Restore build and simplify code.

--HG--
branch : trunk
2009-06-17 02:02:38 +02:00
Machiavelli 38f7be6093 Backed out changeset 49921bfa49f0 (1574) - Will have to modify the script later with a little more care.
--HG--
branch : trunk
2009-06-16 21:58:05 +02:00
megamage 726e686f08 *Cleanup of scripts.
--HG--
branch : trunk
2009-06-16 11:45:33 -05:00
megamage 560ca5a210 *Fix build.
--HG--
branch : trunk
2009-06-16 11:28:53 -05:00
Machiavelli a19f62b551 * Backport the Blood Furnace script from TC2 ( Do not merge into TC2 !! )
--HG--
branch : trunk
2009-06-16 18:26:24 +02:00
megamage 9049233629 *Merge.
--HG--
branch : trunk
2009-06-16 00:07:17 -05:00
megamage 572a9191d9 *Some creature display id update. By VladimirMangos and GriffonHeart
--HG--
branch : trunk
2009-06-15 18:02:12 -05:00
Machiavelli b7d218febc * Tabs to spaces in the entire TrinityScript project. Please set your text editing settings to insert 4 spaces upon tabbing.
--HG--
branch : trunk
2009-06-16 00:55:22 +02:00
Machiavelli a9c75c023b *Update Blood Furnace script; correctly set instance data and correctly manage doors upon boss kill. Based somewhat on the original script by Paytheo.
--HG--
branch : trunk
2009-06-16 00:51:09 +02:00
Kudlaty 20cd3a6613 Fix script for creature 16518
--HG--
branch : trunk
2009-06-15 21:51:23 +02:00
megamage 89e20ff999 *Fix build.
--HG--
branch : trunk
2009-06-15 12:34:28 -05:00
megamage 9055f25030 *Fix a bug that dark rider of dk quest cannot be attacked.
--HG--
branch : trunk
2009-06-15 12:12:22 -05:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
Kudlaty 6f1a4247a4 Merge [SD2]
r1010 Removed script for general marcus (can be done with eventAI)
r1011 Fix typos. Should not assign value. Expected equal-to operator.
r1012 Added support for quest 5561
r1013 Remove redundant directory path, already in include path - Skip.
r1014 Remove old tables in SD2 database no longer used. Remove ScriptName for script 'mob_eventai' that does no longer exist - Skip
r1015 Added PostgreSQL database create structure - Skip

--HG--
branch : trunk
2009-06-15 03:31:11 +02:00
Kudlaty 678fffd492 Merge [SD2]
r1009 Restore compile. RecieveEmote function moved to creature AI.

--HG--
branch : trunk
2009-06-15 02:52:06 +02:00
Kudlaty a4cb3799db Merge [SD2]
r1006 Restore build (using pointer to m_creature now exist in creatureAI). - Skip
r1007 Some cleanup in mr.stonefist script and remove strange call to AttackedBy()
r1008 Added support for quest 9752 - move waypoint to db

--HG--
branch : trunk
2009-06-15 01:59:46 +02:00
Kudlaty 4c2986c6b1 Merge [SD2]
r1001 Correcting location where drake fly to for quest 10814
r1002 Reorganize and rename sql-files. - Skip
r1003 Include data from sd2_db_version table in function used by .server info -command - Skip
r1004 Updated How to install.txt - Skip
r1005 Fixed typo in scriptdev2_script_full.sql - Skip

--HG--
branch : trunk
2009-06-15 01:06:48 +02:00
Kudlaty 898b65a6d1 Fix compile
--HG--
branch : trunk
2009-06-15 00:27:40 +02:00
Kudlaty 09d0f77b8c merge sd2
r998 Added support for quest 11129
r999 Remove obsolete code
r1000 Summon pet of sharkkis in different way, to also allow summon if pet dies during fight. - skip

--HG--
branch : trunk
2009-06-15 00:10:42 +02:00
megamage 43ea5bf480 *Fix compile in *nix. Thanks to Aokromes
--HG--
branch : trunk
2009-06-14 11:57:41 -05:00
megamage e192d8f39b *Some work on vehicle.
--HG--
branch : trunk
2009-06-14 09:57:57 -05:00
Chaz Brown 98c8b762b7 Fix some typos in Headless Horseman script
--HG--
branch : trunk
2009-06-13 16:50:25 -04:00
Chaz Brown 6936190811 Fix some typos in Headless Horseman script
--HG--
branch : trunk
2009-06-13 16:47:58 -04:00
megamage e3080b3306 *Add a simple script of razorscale
--HG--
branch : trunk
2009-06-13 13:29:08 -05:00
megamage 0e6e4fff64 *Fix the bug that door state of naxx is not loaded.
--HG--
branch : trunk
2009-06-13 11:23:50 -05:00
megamage bd88344c72 *Fix a crash in arlokk script.
--HG--
branch : trunk
2009-06-12 14:24:03 -05:00
Anubisss a6d7f0805c *Add 2 missing filles to cmake.
--HG--
branch : trunk
2009-06-11 21:43:48 +02:00
Machiavelli 181a647af5 * Add script for Razorfen Kraul, implements access to certain room after certain event. Script by ArticDevil, thank you.
* Rename the 'Azeroth' filter to 'Eastern Kingdoms' in the script vcproj files

--HG--
branch : trunk
2009-06-11 20:17:44 +02:00
Machiavelli 1c97b2bf79 Merge
--HG--
branch : trunk
2009-06-11 17:56:20 +02:00
Machiavelli 6eaf6e962a * Change name of recently added scriptAI functions to better reflect purpose
* Fix typo in 3910_world.sql, spotted by irish

--HG--
branch : trunk
2009-06-11 17:54:59 +02:00
megamage 9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage 50d9c8e9ee *Add placeholder of ulduar.
--HG--
branch : trunk
2009-06-10 17:21:14 -05:00
Anubisss e80b7d3c30 *Merge SD2.
*r993: Added support for quest 2078
*r994: Added missing SQL update files in rev 993
*r995: Added support for quest 731
*r996: Use CombatStartPosition as return point for escortAI instead of script generated location. - Skip.
*r997: Added gossip to obtain scarlet illusion related to quest 5862/5944

--HG--
branch : trunk
2009-06-10 22:12:58 +02:00
Machiavelli ee9beadbc2 Merge
--HG--
branch : trunk
2009-06-10 08:45:45 +02:00
Machiavelli f137dc02ec * Better fix for issue that players are unable to loot creatures when the HP of the creature is changed via a script. Do not use rev before this.
--HG--
branch : trunk
2009-06-10 08:44:10 +02:00
megamage 853432b201 *Fix a bug that creature ignore LOS in assistance case.
--HG--
branch : trunk
2009-06-09 19:55:15 -05:00