Commit Graph

791 Commits

Author SHA1 Message Date
megamage
6e9af44a8b *Fix an error in spell_full.
--HG--
branch : trunk
2009-05-25 14:25:17 -05:00
megamage
6a2fbb3bf3 *Fix an error in script_texts.sql
--HG--
branch : trunk
2009-05-25 13:45:56 -05:00
megamage
981ecfdc41 *Merge. Do not forget to apply TC1 sql!
--HG--
branch : trunk
2009-05-25 12:25:35 -05:00
Kudlaty
d32ddea085 Update characters.sql
--HG--
branch : trunk
2009-05-25 13:28:34 +02:00
Drahy
a366210f99 * Added revision info to full tables up to revision are updated
* Removed some sqls from mangos already present in rev 3235
* Used trinity sql coding style

--HG--
branch : trunk
2009-05-25 02:29:41 +02:00
megamage
db834e7c7d *Add comment for spell_proc_event sql. To devs: you do not need to manually add comment when you add a new line. This can be done automatically.
--HG--
branch : trunk
2009-05-24 14:37:49 -05:00
megamage
80940e1abc *Use hex format for spell_full spell_proc_event table.
--HG--
branch : trunk
2009-05-24 14:06:00 -05:00
megamage
09b386a786 [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

    * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
    * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
    * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

    Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.

[7887] Drop pet spell teaching code, including field in character_pet.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-24 12:16:12 -05:00
megamage
aa67033cc7 [7885] Fixed talent 34914 and ranks proc spell to correct spellid. Author: qsa
--HG--
branch : trunk
2009-05-24 11:32:44 -05:00
megamage
c14fb42915 *Change the value of CREATURE_FLAG_EXTRA_NO_TAUNT.
*There is no creatures with this flag in core. So if you have custom content, you can use this:
update creature_template set flags_extra = (flags_extra | 0x00000100) where flags_extra & 0x00010000;
update creature_template set flags_extra = (flags_extra & ~0x00010000) where flags_extra & 0x00010000;

--HG--
branch : trunk
2009-05-24 11:29:38 -05:00
megamage
4ebe23324b [7879] Fixed proc for 31571 and ranks. Author: Tanatos
--HG--
branch : trunk
2009-05-24 11:13:45 -05:00
megamage
8450b33041 *Add vehicle id for three-seat mammoth.
*Fix spell impale of archavon.

--HG--
branch : trunk
2009-05-24 11:07:09 -05:00
megamage
028ed64e10 *Update spell full sql.
--HG--
branch : trunk
2009-05-23 02:06:04 -05:00
Kudlaty
be6fad0de1 Correct typo in previous commit
--HG--
branch : trunk
2009-05-22 17:47:10 +02:00
Kudlaty
3bd9858417 Add a column to npc_spellclick_spells table to check if quest is completed/rewarded or incompleted
1: completed or rewarded; 3: incompleted; default 3

--HG--
branch : trunk
2009-05-22 17:43:14 +02:00
megamage
ab5b273d3c *Some work on wintergrasp. Player can get ranks by killing other players and can build vehicles at workshop. Vehicles can be used to destroy buildings. Except these no other thing is done.
--HG--
branch : trunk
2009-05-22 10:29:48 -05:00
QAston
1403419164 *Fix reckonging
*fix Sword and Board
*Fix Vigilance
*Rollback sw:death fix.

--HG--
branch : trunk
2009-05-21 20:02:22 +02:00
Anubisss
425bb9fb55 *Merge SD2.
*r978: Added few basic parts for ramparts instance script to be used in further development.
*r979: Added support for quest 9686. - Skip this patch. Its already scripted.
*r980: Added gossip to play movie cutscene after quest 12499/12500 rewarded.
*r981: Clean up some code and correcting icon for gossip items. - Just use enums.
*r982: Added support for quest 938 (consider it a test for similar quests)

--HG--
branch : trunk
2009-05-20 23:08:46 +02:00
megamage
6d4f39e479 *Merge.
--HG--
branch : trunk
2009-05-20 11:46:43 -05:00
megamage
6473e94358 *Update Naxx scripts. Now only Kelthuzad is incompleted
--HG--
branch : trunk
2009-05-20 11:44:38 -05:00
Kudlaty
f55161579c Add taxi scripts for npc Bat Handler Camille
--HG--
branch : trunk
2009-05-20 15:16:37 +02:00
Kudlaty
5ebeb2bc8a [SD2] 1075
Added 6 new taxi paths (wyrmrest temple)

--HG--
branch : trunk
2009-05-20 14:57:29 +02:00
Kudlaty
e7c630ce91 [SD2] 1058
Simplify scripts using manual call ActivateTaxiPathTo().

--HG--
branch : trunk
2009-05-20 08:40:06 +02:00
Kudlaty
8305f6d3bc Merge & move taxi scripts into one file as npc_taxi
--HG--
branch : trunk
2009-05-20 07:13:19 +02:00
Drahy
28d0feabe2 * Used trinity sql coding style
--HG--
branch : trunk
2009-05-20 04:25:27 +02:00
Anubisss
5854d17783 *Merge SD2.
*r973: Added support for quest 2767
*r974: Start MoveChase when boss reach phase 3.
*r975: Added support for quest 863 - Skip this patch because its already scripted. Just use enum instead of #define
*r976: Added support for quest 435 - Skip this patch because its already scripted. Just use enum instead of #define
*977: Remove one needless grid search and use new functions for SetRun in one script. - Skip this patch because TrinityCore2 has use another way for it.

--HG--
branch : trunk
2009-05-19 23:48:48 +02:00
megamage
221f9348d1 *Fix a typo in spell_full.sql. By Kudlaty
--HG--
branch : trunk
2009-05-19 15:44:27 -05:00
megamage
ac33cb94f3 [7855] Add description command to pool_* tables for simplify DB development. Author: Seizerkiller
Note: this fields not used and not loaded by mangos.

--HG--
branch : trunk
2009-05-19 15:43:17 -05:00
megamage
74206e4b6a [7852] Use union of per-event type structures, more checks at creature event ai loading. Author: VladimirMangos
Including:
    * Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2.
    * In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code.

--HG--
branch : trunk
2009-05-19 15:38:36 -05:00
megamage
ca4c3eb847 [7851] Fixed typo to allow work '.tele name' command.
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
Provide and use universal way for get locale and locale index for chat/console command use.
Author: VladimirMangos

--HG--
branch : trunk
2009-05-19 15:34:07 -05:00
Anubisss
b0ea9c589a *Merge SD2.
*r968: Adjust some scripts to use SetEquipmentSlots()
*r969: Made a few corrections to EventAI.txt
*r970: Added ScriptedAI function SetCombatMovement() for future use/development.
*r971: Small adjustments to escortAI, remove some useless code and always use current WaitTimer if not already 0 after return to last known waypoint.
*r972: Added support for quest 1651

--HG--
branch : trunk
2009-05-19 21:03:43 +02:00
QAston
e348b671e7 *Corret proc from bloodsurge and judgements of the wise
*Do not proc backfire dmg from sw:death if target is killed
*Allow hots to proc from selfcast
*Fix glyph of corruption.

--HG--
branch : trunk
2009-05-19 20:33:11 +02:00
megamage
3f98363aab *Merge.
--HG--
branch : trunk
2009-05-18 15:17:53 -05:00
megamage
e8be2f026e *Add some scripted spells for naxx.
--HG--
branch : trunk
2009-05-18 15:04:05 -05:00
QAston
7ed391aa92 *Fix beacon of light
*Apply healing aura mods to leech auras.

--HG--
branch : trunk
2009-05-18 21:54:11 +02:00
megamage
609f7bd6b9 *Add a missing part of sql of 3391. By nesocip
--HG--
branch : trunk
2009-05-18 14:50:29 -05:00
QAston
6c7f2d2b24 *Spell_proc_event entries for Malestorm Weapon - by throneinc
*Fix bug that some spells can't proc
*Add spell_proc_event entries for some items.

--HG--
branch : trunk
2009-05-18 19:00:20 +02:00
megamage
e45c57f298 *Fix the bug that startfall aoe damage also apply on direct target.
*Add starfall spell bonus for other ranks. By Uruviel and Nesocip.

--HG--
branch : trunk
2009-05-18 10:22:43 -05:00
Anubisss
a57d52fa28 *Rename a sql file because firstly You should convert the waypoints and after drop the columns.
--HG--
branch : trunk
rename : sql/updates/3257_world_creature_addon_(waypoint).sql => sql/updates/3258_world_creature_addon_(waypoint).sql
2009-05-18 15:53:59 +02:00
Anubisss
883cd02304 *Add the missing sql from r1508.
--HG--
branch : trunk
2009-05-18 15:28:15 +02:00
Anubisss
34aca735f4 *Add SWP to world_scripts_full.sql from TrinityCore2.
*Rename kalocegos_teleporter to kalecgos_teleporter by Thraxx. Thank you.
*Rename boss_kalecgosKj to boss_kalecgos_kj.

--HG--
branch : trunk
2009-05-18 15:22:50 +02:00
megamage
a922f36da5 *Update script for Loatheb.
--HG--
branch : trunk
2009-05-17 23:27:51 -05:00
megamage
3d43b9a612 *Remove some unused scripts and add a missing scriptname to full sql.
--HG--
branch : trunk
2009-05-17 18:00:17 -05:00
megamage
1c134f81e3 *Merge.
--HG--
branch : trunk
2009-05-17 16:40:40 -05:00
QAston
7c6757d7ee *Update proc system.
--HG--
branch : trunk
2009-05-17 18:00:33 +02:00
megamage
3569f949d7 [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
    * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
      or if not provided by current seelction with error cases processing.
    * Property apply mute/unmute in case use different character name from loggined currently for account.
    * .reset commands can be used from console now
    * .repairitems comamnd can be used from console now but only to online player.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-17 10:57:55 -05:00
megamage
c583767ad6 *Update gluth script.
--HG--
branch : trunk
2009-05-16 16:52:57 -05:00
megamage
e4456ae9f8 *Fix an exploit that instance can be reset when there are logged-out players in it.
--HG--
branch : trunk
2009-05-16 14:52:41 -05:00
QAston
bb6e0dba89 *Fix lifebloom final heal coefficient - by nesocip
*Fix aura immunity dispel for spells like Resurrection sickness
*Do not proc auras without spellfamilyflags required for totems.
*Allow more auras to be displayed in client.
*Fix some issues with Cut to the Chase.

--HG--
branch : trunk
2009-05-16 20:23:56 +02:00
QAston
14daff6d38 *Change amount of passive auras if mod changed for them (this fixes Glyph of vigor apply/remove and some other spells)
*Backfire damage from unstable affliction is applied to dispeller now
*Correct amount of improved Divine Spirit

--HG--
branch : trunk
2009-05-16 17:59:36 +02:00