Commit Graph
100 Commits
Author SHA1 Message Date
megamage 2fadf3dd77 Fixed bank bag slot amount achievement statistic. Cleanup related code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-24 11:17:03 -05:00
megamage 35f08f9e21 [7880] Added error output for default switch case. Author: ApoC
--HG--
branch : trunk
2009-05-24 11:15:37 -05:00
megamage 57f14494b1 [7879] Added SPELL_AURA_MOD_SPELL_CRIT_CHANCE into isTriggerAura. Author: ApoC
This will fix auras (57529, 57531, possibly others) to be correctly removed dependently on their procFlags and procCharges.

--HG--
branch : trunk
2009-05-24 11:14:42 -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 9381493a64 [7878] Use bigger buf for better performence. Author: Derex
--HG--
branch : trunk
2009-05-24 11:10:55 -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
QAston 1b2579a2ab Ancestral Awakening target selection
--HG--
branch : trunk
2009-05-24 15:36:15 +02:00
QAston 74770dbcf6 *Fix whath of air and flametongue totem
--HG--
branch : trunk
2009-05-24 14:58:54 +02:00
megamage 73770d7354 *Fix the bug that totem only apply one auraeffect on target.
*Fix the bug that players can get aura when out of range of totem.
*Use caster to check enemy/ally state and spell bonus. Use source to check distance.

--HG--
branch : trunk
2009-05-24 00:05:17 -05:00
megamage 0f2ac46d87 *Set vehicle faction when summoning instead of entering
--HG--
branch : trunk
2009-05-23 22:21:47 -05:00
megamage 946aa87445 *Store aura::source for all types of aura effect.
--HG--
branch : trunk
2009-05-23 22:21:26 -05:00
megamage af1f0fd419 *Rename formalCaster as "source"
--HG--
branch : trunk
2009-05-23 20:50:21 -05:00
megamage 94692ea5f7 *Use getworldobject for getunit. Also allow get vehicles using this function.
--HG--
branch : trunk
2009-05-23 20:42:31 -05:00
megamage 2475390852 *Fix a bug that player can change to an occupied seat on vehicle.
(The commit message of the last rev should be: do not allow player to use unusable vehicle seat)

--HG--
branch : trunk
2009-05-23 20:41:48 -05:00
megamage 27e3352d2b *Fix a bug that vehicle in wintergrasp is dismissed when player log out.
--HG--
branch : trunk
2009-05-23 20:40:44 -05:00
megamage 2780893030 *Fix a bug that player can change to an occupied seat on vehicle.
*Load full creature data for vehicles.

--HG--
branch : trunk
2009-05-23 20:40:14 -05:00
megamage 7ef7f7fa82 *Fix a crash caused by RecalculateAmount when aura caster is not present.
--HG--
branch : trunk
2009-05-23 11:17:15 -05:00
megamage a22aedf320 *Fix build.
--HG--
branch : trunk
2009-05-23 10:16:40 -05:00
megamage 5ca07b38d3 *Fix a bug that cause quest GO cannot be open.
--HG--
branch : trunk
2009-05-23 10:08:35 -05:00
megamage bfac33f24f *Try to fix an aura bug that cause server freeze
--HG--
branch : trunk
2009-05-23 10:04:12 -05:00
Anubisss 37aa9c3cbf *Fix compile in *nix if You build without Trinity Scripts(with trinityinterface).
--HG--
branch : trunk
2009-05-23 16:17:37 +02:00
QAston 73faabbc49 *Fix a crash.
--HG--
branch : trunk
2009-05-23 11:26:08 +02:00
QAston 4d9bce3270 *Allow healing mod auras to affect SPELL_DAMAGE_CLASS_NONE spells
--HG--
branch : trunk
2009-05-23 11:12:13 +02:00
QAston 9af492483e *always remove old aura instead of recalculating new one in same id stack case-this prevents some problem with spelleffects execution problems
--HG--
branch : trunk
2009-05-23 10:57:05 +02:00
megamage 028ed64e10 *Update spell full sql.
--HG--
branch : trunk
2009-05-23 02:06:04 -05:00
megamage a75446579b *Do not allow to use flying mount on wintergrasp.
--HG--
branch : trunk
2009-05-23 01:44:32 -05:00
megamage 322769ee55 *Display building location on map for wintergrasp.
--HG--
branch : trunk
2009-05-23 01:44:16 -05:00
megamage ec24442af4 *Fix rock shards spell for archavon script.
--HG--
branch : trunk
2009-05-23 01:43:46 -05:00
megamage a417e71e15 *Fix a bug that Sapphiron does not appear.
--HG--
branch : trunk
2009-05-23 01:42:56 -05:00
megamage 2e46b7e65d [7876] Implemented dummy effect /*and special target selection*/ for 52759. Author: ApoC
--HG--
branch : trunk
2009-05-22 16:49:37 -05:00
megamage 90b2951a53 [7874] Fix: possible runtime crash. Author: ApoC
--HG--
branch : trunk
2009-05-22 16:44:35 -05:00
megamage 7f2fb69726 *Fix Cleansing Totem Author: Astellar
--HG--
branch : trunk
2009-05-22 16:42:29 -05:00
megamage c31fc2780b [7870] Implement creature ranged ammo show at ranged weapon use. Author: VladimirMangos
* Use BDC data (creature weapon not alwas listed in item_template)

--HG--
branch : trunk
2009-05-22 16:38:55 -05:00
megamage ceaf8c13bb [7866] Added VS 2010 Beta 1 project files. Requires libeay32.dll update. This is experimental changes. Use it on own risk. Author: tomrus88
*Note: this is not supported by TC

--HG--
branch : trunk
2009-05-22 16:36:54 -05:00
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