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
megamage
c583767ad6
*Update gluth script.
...
--HG--
branch : trunk
2009-05-16 16:52:57 -05:00
megamage
a0ba5dc206
*Allow creating new instance when log in and a save exists.
...
--HG--
branch : trunk
2009-05-16 16:52:45 -05:00
megamage
a5df3c9e72
*Do not allow positive AOE affect totem.
...
--HG--
branch : trunk
2009-05-16 15:28:58 -05:00
megamage
09407c8757
*Do not allow taunt affect passive creatures.
...
*Fix build.
--HG--
branch : trunk
2009-05-16 15:28:37 -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
megamage
14edc1e5eb
*Update naxx script.
...
--HG--
branch : trunk
2009-05-16 14:49:58 -05:00
megamage
819326f286
*Update some instance script functions.
...
--HG--
branch : trunk
2009-05-16 14:49:30 -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
Drahy
68a8c72041
* Used trinity sql coding style
...
--HG--
branch : trunk
2009-05-16 02:56:39 +02:00
megamage
9b4d3bf0af
[7835] Store structures (with size = uint32) insteed pointer to structure in PetSpellMap. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-15 16:46:02 -05:00
megamage
f5af5ea9e3
[7834] Mangos string loading code cleanups. Author: VladimirMangos
...
* Better integration creature event ai strings.
* Not inclide in checks as expected max mangos strings range value to range
--HG--
branch : trunk
2009-05-15 16:41:36 -05:00
megamage
15c78a728e
*Skip Mangos ([7833] Implement levelup spells for non-hunter pets. Author: VladimirMangos)
...
--HG--
branch : trunk
2009-05-15 16:36:59 -05:00
megamage
834580f6b2
*Move some Trinity-only functions to the end of file.
...
--HG--
branch : trunk
2009-05-15 16:26:00 -05:00
megamage
5732b8c170
*Remove an unused file.
...
--HG--
branch : trunk
2009-05-15 16:08:28 -05:00
megamage
03cfacb361
*Fix a crash caused by eventai.
...
--HG--
branch : trunk
2009-05-15 14:23:05 -05:00
megamage
c64c834c50
*Fix build.
...
--HG--
branch : trunk
2009-05-15 14:10:31 -05:00
megamage
ff7f023ff1
*Merge.
...
--HG--
branch : trunk
2009-05-15 13:57:10 -05:00
megamage
e826b482a5
*Skip not needed tc1 patches
...
--HG--
branch : trunk
2009-05-15 13:53:32 -05:00