Commit Graph

896 Commits

Author SHA1 Message Date
Kudlaty
95b5da8cdf Functions Clean Up - by Drethek
--HG--
branch : trunk
2009-07-23 19:43:21 +02:00
Kudlaty
81e6f06680 Add script for quest 12861. Author: Drethek.
--HG--
branch : trunk
2009-07-23 19:30:25 +02:00
QAston
21ffe5f70a *Cleanup in The Endless Hunger script. - by Drethek.
--HG--
branch : trunk
2009-07-23 15:22:45 +02:00
QAston
1eef9f86f6 *Script for Plug the Sinkholes - by Drethek.
--HG--
branch : trunk
2009-07-23 15:13:17 +02:00
QAston
8e44d673b9 *Merge.
--HG--
branch : trunk
2009-07-22 17:11:20 +02:00
QAston
2ff21d4cef *Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.

--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
Anubisss
a22a9399dd *Fix door handling in Akama's script.
--HG--
branch : trunk
2009-07-22 02:05:29 +02:00
megamage
ffcbd11b2c [8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

    Signed-off-by: VladimirMangos <vladimir@getmangos.com>

    Also implement KillCreditN field check at loading.

--HG--
branch : trunk
2009-07-20 12:30:37 +08:00
Rat
ac91127d78 Backed out changeset: ad3793582d28
--HG--
branch : trunk
2009-07-19 23:19:52 +02:00
Rat
e1c44483f5 *added script for Underbog Colossus (SSC)
--HG--
branch : trunk
2009-07-19 23:08:38 +02:00
Necroo
a91296aec6 *Add cooldown timer for boss Grand Magus Telestra.
--HG--
branch : trunk
2009-07-19 13:36:55 +02:00
Rat
c8342ca8ce *use OriginalVictim for some range based spell casts (only scripts)
-fixed void reaver's arcane orb spell, now it is shown in combatlog (cheers to bossmods)

--HG--
branch : trunk
2009-07-18 23:22:23 +02:00
Rat
b7b3264cb5 *SerpentShrine Caverns fixes
-target only players for some spells
-innerdeamons only follow their 'targets'
-despawn deamons when Leo divides himself

--HG--
branch : trunk
2009-07-18 20:18:09 +02:00
Rat
99112d1966 *fixed Supremus' Vulcanos (temp fix untill summon spell fixed)
*fixed Supremus Molten Flame

--HG--
branch : trunk
2009-07-18 19:46:14 +02:00
Rat
69c8c84f09 *implemented MOJO (yes the frog from Zul'Aman) have fun
--HG--
branch : trunk
2009-07-18 18:18:33 +02:00
BroodWyrm
926e4b8c08 * And add the right one
--HG--
branch : trunk
2009-07-17 23:46:36 +02:00
QAston
b897fcbe10 *Use spell instead of function for giing kill credit in Death's Challenge script - by Drethek.
--HG--
branch : trunk
2009-07-17 19:26:53 +02:00
QAston
88cd705c26 *Remove some code for spells not present in dbc of 313.
--HG--
branch : trunk
2009-07-17 17:26:13 +02:00
BroodWyrm
d6bd04ab0d * Add script for Val'kyr Battle-maiden - patch provided by Drethek
* Add summonerguid to summons by spell

--HG--
branch : trunk
2009-07-16 20:27:53 +02:00
QAston
8898e9f420 *Fix the bug that escorted creatures return to their spawnpoint after engaging combat.
--HG--
branch : trunk
2009-07-14 20:15:47 +02:00
QAston
814f66db91 *Fix Defensive Tactics.
*Correctly delete gameobject in BT_Najentus script.

--HG--
branch : trunk
2009-07-13 23:36:38 +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
Kudlaty
a15748df60 Rewrite script for quest 12680
Add support for spells 52267 and 52264
Thanks to Drethek for patch

--HG--
branch : trunk
2009-07-11 02:03:20 +02:00
QAston
490494ab07 *Update proc entry for Elemental Focus - by Bengan.
*Update proc entry for Chill of the Grave, Wandering Plague, Endless Winter, Glyph of Chains of Ice - by Destalker
*Add missing script call for EffectDummyCreature_npc_nestlewood_owlkin.

--HG--
branch : trunk
2009-07-09 19:48:39 +02:00
QAston
5206cd8a4e *Fix snake trap.
--HG--
branch : trunk
2009-07-09 17:02:29 +02:00
Kudlaty
0687722812 Better function to despawn creature with script in azuremyst_isle
--HG--
branch : trunk
2009-07-09 11:43:57 +02:00
megamage
9a2588a454 *Fix a crash caused by archaedas script.
--HG--
branch : trunk
2009-07-01 18:14:46 -05:00
Kudlaty
0df76804c4 Merge [SD2]
r1086 Add long time needed grid search functions for closest creature and gameobject - skip, we have better function in core
r1087 Remove no longer needed grid search code and use functions instead.

--HG--
branch : trunk
2009-06-29 06:31:05 +02:00
Kudlaty
6c1b64c45d Merge [SD2]
r1081 Fix spell/timers for dathrohan/balnazzar
r1082 Correct summon timer for jan'alai hatcher and summon different as spells suggest.
      Redesign waypoint for hatchers and set expected run movement.
      Adjust distance check function. - skip
r1083 Correct order of events for jan'alai 'bombing phase'. Remove not needed summons and summon only expected amount.
      Replace teleport code with spells - skip
r1084 Correct spell/timers for two SM bosses.
r1085 Provide updated .patch file (made for Mangos 7842+) - skip

--HG--
branch : trunk
2009-06-28 00:16:04 +02:00
megamage
c688528f72 *Remove some useless contents in sln files.
--HG--
branch : trunk
2009-06-27 16:24:44 -05:00
QAston
da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston
a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
BroodWyrm
23a47bee35 * Use int32 not int (i think it makes no different)
--HG--
branch : trunk
2009-06-26 20:39:05 +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
Rat
0319f6a269 - properly reset Shada of Akama after wipe
- despawn summons if Shade is killed, so Akama can complete the event

--HG--
branch : trunk
2009-06-24 09:33:20 +02:00
Machiavelli
662ef92caa *Clean up scripts, remove all per script declared functions to toggle gameobject state and use InstanceData::HandleGameObject instead.
--HG--
branch : trunk
2009-06-22 14:31:39 +02:00
Muhaha
b3711b9581 * Akama is summoned after the illidari council has been defeated. (remove your akama spawn from creature db)
--HG--
branch : trunk
2009-06-20 03:42:02 +02:00
Muhaha
eab85d9d6e * Added LowerPlayerDamageReq function from TC2
* Akama is summoned after the illidari council has been deafeated. (remove your akama spawn from creature db)
* Dampen Magic timer
* Merging mother from TC2

--HG--
branch : trunk
2009-06-20 02:54:03 +02:00
Kudlaty
88137c07b9 Merge [SD2]
r1080 Update code with new and faster functions for distance checks.

--HG--
branch : trunk
2009-06-19 16:42:48 +02:00
Anubisss
b28a7eb406 *Backport TrinityCore2 r4137.
--HG--
branch : trunk
2009-06-19 11:13:50 +02:00
Kudlaty
827d296372 Merge [SD2]
r1066 Added a few more encounters to SetData ZA instance - Skip
r1067 Added end boss' in ZA adds with random selection and their abilities. - Skip
r1068 Added support for quest 10994 (basic parts)
r1069 Added instance script for BFD
r1070 Remove enum type not related to boss/encounter.
r1071 Fix misunderstanding committed in 1067. Spawn 1 of 2 possible adds, each from 4 different groups instead of 4 random of 8 possible. - Skip
r1072 Save instance data for TYPE_EVENT_RUN in ZA when expected and not allow it to reset on Load(). Remove useless code for goFlags. - Skip
r1073 Added struct and enum for misc npc/go entries used in naxx instance - Skip
r1074 Restore Windows build after changes in Mangos rev 7810 - Skip
r1075 Added 6 new taxi paths (wyrmrest temple) - Skip, already implemented
r1076 Correcting berserk spell for najentus, also make sure spell are actually casted.
r1077 Update sources and use enum GossipOptionIcon instead of magic number.
r1078 Provide new .diff file to use with Mangos 7812+ - Skip
r1079 Update one old boss script, clean code.

--HG--
branch : trunk
2009-06-19 05:17:25 +02:00
megamage
9008c0a838 *Merge.
--HG--
branch : trunk
2009-06-18 20:28:16 -05:00
megamage
e0553121f2 *Merge
--HG--
branch : trunk
2009-06-18 20:26:49 -05: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
BroodWyrm
a2a56b21f1 *Merge.
--HG--
branch : trunk
2009-06-18 21:52:29 +02:00
BroodWyrm
bcc2148e2c *Fix "Endless Hunger" Script ... npc should not move into wall
--HG--
branch : trunk
2009-06-18 21:51:12 +02:00
Machiavelli
3c3a4a303d * More updating of iterator data types in loops, and fix a crash (sorry)
--HG--
branch : trunk
2009-06-18 21:16:25 +02:00
Kudlaty
38261d1967 Add despawning adds for pathelon script
--HG--
branch : trunk
2009-06-18 19:16:15 +02:00
Kudlaty
c41e432834 Merge [SD2]
r1051 Fixed loot state for delrissa. Move open door to instance script and remove redundant lackey killed code. Correcting set enounter state == DONE. Some code cleanup/rename to clarify intent of use.
r1052 Respawn delrissa in case dead but party wipe after this point.
      Correcting a few Aggro() -calls/events and also use similar code for lackeys as in boss to put all in combat.
      Avoid initialize lackeys in case boss already dead.
r1053 Cleanup and apply sd2 code style in some parts of delrissa. Also remove most old commented code.
r1054 Simplify health check code for vexallus and move open door code to instance script.
r1055 Reactivate commented code about taxi path, related to quest 10870

--HG--
branch : trunk
2009-06-18 17:46:32 +02:00
Machiavelli
3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00