Commit Graph

33 Commits

Author SHA1 Message Date
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
maximius
f2a24c215c *Halls of Lightning update, Loken script from SD2 (thanks manuel)
--HG--
branch : trunk
2009-08-10 14:14:58 -07: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
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
Kudlaty
87f573752e Merge [SD2]
r1120 Add CallForHelp at aggro for two instance bosses. Requires Mangos 7951+
r1121 Added basic parts of boss spell definitions and texts for Nexus instance - skip (already have better)
r1122 Correct one spellId, add more spell definitions for boss noth - skip
r1123 Remove wrong spell for gluth and add missing emote text. Summon only expected amount of adds. Some additional cleanup in anubrekhan and check heroic for a few spell cast. - skip
r1124 Use normal health check calculation for easier backport (to older client)
r1125 Fixed typo in previous commit
r1126 Add spell cast to dragon in scrying orb event and add workaround for kill credit.
r1127 Convert gossip related define to enum and remove one useless (redefinition)
r1128 Remove no longer needed item scripts that can be controlled with database table item_required_target (Mangos 7980+)
r1129 Remove one more obsolete item script (use spell_area DB table for area limited spell).
      Cleanup other and provide spell error message. Requires Mangos 7983+

--HG--
branch : trunk
2009-08-06 19:10:50 +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
172a6f1279 * Added missing script name go_shrine_of_the_birds
* Trinity sql coding style

--HG--
branch : trunk
2009-08-05 01:21:09 +02:00
Rat
35cf6778de *added script for training dummies
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill

--HG--
branch : trunk
2009-08-04 12:38:35 +02:00
Drahy
ebad12818b * Some cleanup in full sqls
--HG--
branch : trunk
2009-08-04 05:31:00 +02:00
QAston
2e34af64cf *Allow ItemExpire events to be scripted.
*Add .debug itemexpire command
*Add script for Disgusting Jar and Mysterious Egg - original patch by Elron.

--HG--
branch : trunk
2009-08-04 01:44:14 +02:00
Anubisss
d8462e5350 *Add a missing update to scripts' full sql.
--HG--
branch : trunk
2009-08-03 03:04:23 +02:00
Kudlaty
0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +02:00
Kudlaty
d62da4cc16 Merge [SD2]
r1106 Prevent abuse of item 44222. Apply some SD2 code style
r1107 Add health modification for phase and correct phase value for kael(TK)
r1108 Remove scripted function SetSheathState() and use mangos function instead. Fix one typo and apply sd2 code style for one script.
r1109 Remove old makefile* files not needed.
r1110 Some minor adjustments to sharkkis, add one spell and also add distance to MoveChase. Not kill boss' advisors on Reset when not needed.
r1111 Check pointers and avoid possible crash
r1112 Added script for friendly Kael in MgT (movement to orb-platform, transform and gossip)
r1113 Correct misunderstanding added in 1112, and use timer for transformation instead (creature are expected to spawn/fly down once player use orb).

--HG--
branch : trunk
2009-07-25 22:16:21 +02:00
Kudlaty
261e75c9cf Merge [SD2]
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes
r1101 Correcting a few details and simplify call drakes for boss sartharion
      Add boss and mini-boss' abilities and add more common events to common drakes AI
r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865)
r1103 Added support for quest 6481 (summon npc 11920)
r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?)
r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune.

--HG--
branch : trunk
2009-07-24 22:42:17 +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
a7832a632b Script for quest 11878. Author: Drethek
Missing update of *full.sql

--HG--
branch : trunk
2009-07-23 20:04:58 +02:00
QAston
1eef9f86f6 *Script for Plug the Sinkholes - by Drethek.
--HG--
branch : trunk
2009-07-23 15:13:17 +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
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
Kudlaty
060064f9de Add spells to horses needed in q 12680
move sql *_template changes to new file world_tmp_full.sql

--HG--
branch : trunk
2009-07-12 17:16:40 +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
QAston
4dc5242a69 *Fix Desecration.
*Correct a typo which made some of charged auras to be not dropped.

--HG--
branch : trunk
2009-07-11 13:03:06 +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
Drahy
6c7e41cf87 * Fixed typu in world_script_full thx to liszt
--HG--
branch : trunk
2009-06-30 20:41:25 +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
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
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
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