Commit Graph
100 Commits
Author SHA1 Message Date
megamage a59b275206 *Drop VC71 support
--HG--
branch : trunk
2009-05-22 16:30:50 -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
megamage 4ba955c4eb *Fix a bug that Sapphiron does not appear. Thanks to JoN0.
--HG--
branch : trunk
2009-05-22 10:09:22 -05:00
megamage 3641be039b *Set pvp flags for units controlled by player.
*Reset pvp flags when unit is uncharmed.
*Remove walk flag when unit is charmed.

--HG--
branch : trunk
2009-05-22 03:12:35 -05:00
megamage 5888134e4d *Fix a bug that owner cannot recall pet when pet is attacking target.
--HG--
branch : trunk
2009-05-22 03:09:24 -05:00
megamage 6e6d10e3e9 *Do not change dest when target does not move for targeted movement.
--HG--
branch : trunk
2009-05-22 03:07:52 -05:00
megamage 8a44eff53a *Fix a typo that break the whole threat system.
--HG--
branch : trunk
2009-05-22 03:05:59 -05:00
megamage f557b57652 *Allow warlock to use Eye of Kilrogg with existing pet.
--HG--
branch : trunk
2009-05-21 18:02:52 -05:00
megamage 3a284c170b *Fix some bug of targeted movement
--HG--
branch : trunk
2009-05-21 17:59:18 -05:00
megamage 63eccbde85 *Fix a bug in NearestGameObjectCheck.
--HG--
branch : trunk
2009-05-21 17:58:43 -05:00
megamage 2280ca66b8 *Set reactpassive when creature is calling for assistance.
--HG--
branch : trunk
2009-05-21 17:24:22 -05:00
megamage 239919abb2 *Check reactstate in UpdateVictim.
--HG--
branch : trunk
2009-05-21 17:19:10 -05:00
megamage 67255e536b *Fix a infinite loop introduced in 3453. Thanks to QAston and Drahy.
--HG--
branch : trunk
2009-05-21 17:18:44 -05:00
megamage 31005dab82 *Fix a infinite loop introduced in 3444.
--HG--
branch : trunk
2009-05-21 15:17:51 -05:00
megamage 32064b79da *Do not remove/add aura for refreshing case.
--HG--
branch : trunk
2009-05-21 14:54:22 -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
megamage 6d6a4a7856 [7864] Use x.0f float constant format. Author: NoFantasy
--HG--
branch : trunk
2009-05-21 10:52:35 -05:00
megamage 5fe179019f [7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions. Author: Alex
--HG--
branch : trunk
2009-05-21 10:52:05 -05:00
megamage 8d771cc9f7 [7862] Fixed infinity loop at search spell related summoned gameobject in owner list. Author: VladimirMangos
--HG--
branch : trunk
2009-05-21 10:51:18 -05:00
megamage 1a4378572b [7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells) Author: Astellar
--HG--
branch : trunk
2009-05-21 10:50:28 -05:00
megamage 67c84b1f3d Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG--
branch : trunk
2009-05-21 10:48:00 -05:00
megamage b7053ecc0d [7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases. Author: VladimirMangos
--HG--
branch : trunk
2009-05-21 10:15:09 -05:00
megamage 0a5c465cdc [7858] Properly deallocate memory in tile assembler, and dereference memory when fread fails. Author: raczman
--HG--
branch : trunk
2009-05-21 10:11:36 -05:00
megamage fb0ccbf4aa [7856] Fix cast 51525 and ranks charge on target (not owner) Author: Astellar
--HG--
branch : trunk
2009-05-21 10:09:25 -05:00
megamage 4ed847a6e3 *Implement spell effect wmo damage.
--HG--
branch : trunk
2009-05-21 10:01:03 -05:00
megamage b372a5ba25 *Load gobject display info from dbc to check go boundaries.
--HG--
branch : trunk
2009-05-21 10:00:44 -05:00
megamage 40c58e5992 *Allow use gm command to set value for gobjects.
--HG--
branch : trunk
2009-05-21 09:59:49 -05:00
raczman a77f9e2092 Fix build on linux.
--HG--
branch : trunk
2009-05-21 09:54:55 +02:00
megamage 33c24110dd *Fix a bug that player takes fall damage when finishing taxi path.
--HG--
branch : trunk
2009-05-20 20:39:55 -05:00
Kudlaty 1cc1adbc8b Add some comments to changes in previous commit
--HG--
branch : trunk
2009-05-21 03:15:15 +02:00
Kudlaty ba82d76637 Fixed problem with integrated client addons. Author: tomrus88
--HG--
branch : trunk
2009-05-21 03:12:13 +02:00
Anubisss 0985fe6b5d *Fix a typo in scripts' CMakeLists.
--HG--
branch : trunk
2009-05-20 23:21:06 +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
Anubisss a78ade9503 *Fix compile on *nix.
--HG--
branch : trunk
2009-05-20 21:06:37 +02:00
megamage 6f8dc61871 *Record target live state at filltarget and check live state at doeffect.
--HG--
branch : trunk
2009-05-20 12:58:38 -05:00
megamage 0870adb1d2 *Do not let delayed spell hit dead target. This fix the bug that penance heal dead player and make him stuck. Thanks to Stokrotka.
--HG--
branch : trunk
2009-05-20 12:43:08 -05:00
megamage 49a39abf8f *Remove some redundant code in dealdamage.
--HG--
branch : trunk
2009-05-20 12:26:14 -05: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
megamage d1d194b4c7 *Update EventAI documentation. Source: ACID.
--HG--
branch : trunk
2009-05-20 11:41:32 -05:00
Kudlaty 338594e9e3 Try to fix build error on Win
--HG--
branch : trunk
2009-05-20 15:44:08 +02: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 d8ce14c66a *Add script of Thaddius.
--HG--
branch : trunk
2009-05-19 16:06:52 -05: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 1e3591d4e9 [7854] Fixed typo in random text selection code. Author: NoFantasy
--HG--
branch : trunk
2009-05-19 15:42:06 -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
megamage 68c1d0feab *Allow send gobject guid in send opcode command.
--HG--
branch : trunk
2009-05-19 15:26:43 -05:00
Anubisss 73157c8314 *Fix a typo.
--HG--
branch : trunk
2009-05-19 21:07:31 +02: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
QAston 2b47f0c0f7 *Fix Demonic Empowerment.
*Some code optimisations.
*Set formalCasterGuid for area auras correctly.

--HG--
branch : trunk
2009-05-19 18:33:49 +02:00
megamage 2a2eff190c *Fix some bugs about pet spells: such as cannot cast/cannot autocast.
--HG--
branch : trunk
2009-05-19 01:23:52 -05:00
megamage 833ceee7c5 *Fix a bug that player cannot remove buff which is not casted by self.
--HG--
branch : trunk
2009-05-18 23:07:36 -05:00
megamage ba727af796 *Fix a crash caused by a typo in SetCantProc. Thanks to Drahy. Do not use rev between 3392 and 3404.
--HG--
branch : trunk
2009-05-18 17:48:03 -05:00
QAston 483714d845 *Fix a typo causing healing bonus for spells to be far too low.
--HG--
branch : trunk
2009-05-18 22:59:57 +02:00
megamage 3f98363aab *Merge.
--HG--
branch : trunk
2009-05-18 15:17:53 -05:00
megamage df866dd37b [7848] Fix set variable to zero on apply -100% mod Author: SeT
--HG--
branch : trunk
2009-05-18 15:15:22 -05:00
megamage c3499f39da [7847] Replace paramter unions by uniton of event ai action type structures. Add/fix some loading checks. Author: VladimirMangos
* Also send to process function reference to strucutre instead large amount fields.
    * Specially note that fixed check for first arg of action type 27 that before wrongly test as quest id,
    when by using code expected creature id. Possible some used data wrongly can be quest ids....

--HG--
branch : trunk
2009-05-18 15:14:27 -05:00
megamage 40dad11d74 [7846] Add empty line to end of .h file Author: timmit
--HG--
branch : trunk
2009-05-18 15:10:13 -05:00
megamage 2cdb3865aa [7845] Implement reload support for creature eventAI tables. Author: evilstar
--HG--
branch : trunk
2009-05-18 15:09:34 -05:00
megamage bd87c96f4c [7844] Fixed mangos string storage index type. Author: VladimirMangos
--HG--
branch : trunk
2009-05-18 15:07:14 -05:00
megamage e8be2f026e *Add some scripted spells for naxx.
--HG--
branch : trunk
2009-05-18 15:04:05 -05:00
QAston d0ef4b8b4a *Merge.
--HG--
branch : trunk
2009-05-18 21:55:04 +02: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
Anubisss 3449432e38 *Add ATTACK_DISTANCE from MaNGOS.
--HG--
branch : trunk
2009-05-18 20:34:09 +02: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
megamage 0b9bb3b4ff *Use Null AI for spell click creature as default.
--HG--
branch : trunk
2009-05-17 23:28:12 -05:00
megamage a922f36da5 *Update script for Loatheb.
--HG--
branch : trunk
2009-05-17 23:27:51 -05:00
megamage 1d859b6ee4 [7843] Added newline into Pet.h end to make gcc happy. Author: ApoC
--HG--
branch : trunk
2009-05-17 18:43:07 -05:00
megamage 786083d8cc [7842] Set and stop combat for pets at player enter to GM-mode. Author: DonTomika
--HG--
branch : trunk
2009-05-17 18:42:01 -05:00
megamage ce0feb36ea [7841] Fixed: Prevent loading maps/vmaps when building enum. Author: SilverIce
--HG--
branch : trunk
2009-05-17 18:41:16 -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 cbc375b895 *Fix a bug that event ai text is loaded twice.
--HG--
branch : trunk
2009-05-17 17:46:47 -05:00
megamage 5784d03121 *Fix the bug that inferno and curse of doom summons too many minions.
--HG--
branch : trunk
2009-05-17 17:33:39 -05:00
megamage 5f023f64f3 *Use degree rather than radian for creature_formation table.
--HG--
branch : trunk
2009-05-17 17:29:25 -05:00
megamage 1c134f81e3 *Merge.
--HG--
branch : trunk
2009-05-17 16:40:40 -05:00
megamage b95e67375c *Move AI function DamageTaken back to DealDamage.
--HG--
branch : trunk
2009-05-17 16:38:44 -05:00
megamage c75e3d526b *Update Naxx script. Let boss evade if they are pulled out of room.
--HG--
branch : trunk
2009-05-17 16:37:03 -05:00
megamage 424391d7c4 *Fix a bug that player may not be at correct location when log in after crash.
--HG--
branch : trunk
2009-05-17 16:36:40 -05:00
QAston 7c6757d7ee *Update proc system.
--HG--
branch : trunk
2009-05-17 18:00:33 +02:00
megamage f09f5c61d4 [7840] Fixed unexpected rounding in pet size scale calculation. Author: Naicisum
--HG--
branch : trunk
2009-05-17 10:58:31 -05: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 d2ef2c0500 [7837] Implement missed item enchant type (stat mana, stat health) Author: xILOSWag
--HG--
branch : trunk
2009-05-17 10:09:44 -05:00
megamage d99e66d931 [7836] Fixes for distance range checks. Author: VladimirMangos
* ignore 0.0f min range limit (this correct case when 2 object overlapped)

    Also use int32 for temporary store GetSessionDbLocaleIndex result.

--HG--
branch : trunk
2009-05-17 10:09:06 -05:00
megamage 98e32a041d *Do not clear unit movement flags when it is stunned/rooted
--HG--
branch : trunk
2009-05-17 10:07:11 -05:00
megamage d0a50c9d55 *Fix the sql error when saving pet auras.
--HG--
branch : trunk
2009-05-17 09:43:57 -05:00
megamage f4efa0f1df *Fix a crash caused by bg and arena.
--HG--
branch : trunk
2009-05-17 09:28:38 -05:00
megamage 698b43f088 *Make some boss scripts safer. But I still strongly recommend that you do not spawn instance bosses outside the instance. They may make server crash like hell.
--HG--
branch : trunk
2009-05-16 22:45:13 -05:00