Commit Graph

18958 Commits

Author SHA1 Message Date
kaelima
cf5058c4e3 Core/BG: Corrected data sent in SMSG_BATTLEFIELD_STATUS packet.
*should* close #7994
2013-01-11 18:58:12 +01:00
Vincent_Michael
d6d2cb0490 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps 2013-01-11 14:58:57 +01:00
Vincent_Michael
ecbcca8794 Core: Whitespace cleanup 2013-01-11 14:49:38 +01:00
Vincent_Michael
6cd962ee71 Core: Fix non pch build 2013-01-11 14:21:39 +01:00
krofna
dc30c63533 Script/AQ Implement Ayamiss the Hunter and fix screwup in my Ossirian
Closes #8862

Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-01-11 12:52:19 +00:00
ille
bb995fcad1 Core/maps: separate mutex for grid 2013-01-11 13:11:08 +01:00
Nay
efa094e893 Merge pull request #8581 from Butterfly69/patch-9
Core/Spells:Beacon of Light
2013-01-10 23:29:51 -08:00
Nay
471cae1251 Merge pull request #8903 from joschiwald/spellscripts_reorder
Misc: Reorder scripts in some script files and some cosmetic stuff
2013-01-10 23:26:21 -08:00
joschiwald
0c16b95905 Misc: Reorder scripts in some script files and some cosmetic stuff 2013-01-11 04:18:02 +01:00
joschiwald
89490e4d7f Core/SpellScripts: implement Spell Proc Hooks and use it in old and new proc system
Hooks:
- DoCheckProc: executed when aura checks if it can proc
- DoPrepareProc: executed before aura procs (possibility to prevent charge drop/cooldown)
- OnProc: executed when aura procs
- OnEffectProc: executed when aura effect procs
- AfterEffectProc: executed after aura effect proced
- AfterProc: executed after aura proced and charges removed

using PreventDefaultAction() in DoPrepareProc will prevent charge drop and cooldown

default execution of a proc can prevented in OnEffectProc with PreventDefaultAction()

Now we should be able to convert almost all procs from Unit::ProcDamageAndSpellFor to SpellScripts

Notes to old proc system:
- if a proc has a cooldown we must check it in spellscript and add it when we handle the proc
- behavior with charge drops is possible undefined (use PreventDefaultAction() in OnEffectProc to notify that the script is executed)
2013-01-11 01:21:44 +01:00
Malcrom
ddea01290c Core/Scriptd: Rewrite :) 2013-01-10 20:50:32 -03:30
Malcrom
0b50520df7 Core/scripting: Updating Scholomance scripts 2013-01-10 20:08:30 -03:30
Blipi
ed21a589bb Quest 4901 "Guardians of the Altar" 2013-01-11 00:26:26 +01:00
Nay
9da1ff45b7 DB/Addon: Delete 1026 creature_addon rows and overwrite 98 creature_template_addon (phase 2.1)
Conversion done with https://gist.github.com/4505135 (C#)
Thanks to Aokromes for the idea
2013-01-10 19:42:24 +00:00
Nay
0ee5170552 DB/Addon: Delete 4012 redundant creature_addon rows (phase 2)
Conversion done with https://gist.github.com/4504839 (C#)
Thanks to Aokromes for the idea
2013-01-10 19:13:22 +00:00
Nay
fd4767bcd0 DB/Addon: Convert 43637 creature_addon rows to 2429 creature_template_addon rows
Conversion done with https://gist.github.com/4504302 (C#)
Thanks to Aokromes for the idea
2013-01-10 18:11:29 +00:00
Nay
fff86b7729 DB/SAI: Remove some redundant creature_texts using SMART_ACTION_CALL_FOR_HELP 2013-01-10 15:41:10 +00:00
Nay
8274e42e3d Core/SAI: Add 2nd parameter to SMART_ACTION_CALL_FOR_HELP to say "%s calls for help!" if enabled
Similar to SMART_ACTION_FLEE_FOR_ASSIST "%s attempts to run away in fear!"
2013-01-10 15:09:12 +00:00
Spp
dfbf318a4f Typo fix 2013-01-10 15:29:08 +01:00
Vincent_Michael
e6c8cc91ca Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps 2013-01-10 14:52:34 +01:00
Vincent_Michael
1154c62b65 Core/Tools: Fix logic fail for mmaps generator (thx armano2) 2013-01-10 12:40:26 +01:00
Warpten
c9650de789 Scripts/ZulAman: Fixed a crash caused by the grid.
Closes #8885.
2013-01-10 10:41:46 +01:00
Vincent_Michael
899ffde1f9 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps 2013-01-09 21:15:41 +01:00
Vincent_Michael
7210ffe34d Core: Fix warnings 2013-01-09 21:14:12 +01:00
Vincent_Michael
cbf9324f61 Core: Fix build 2013-01-09 21:01:39 +01:00
Vincent_Michael
f9c193d27d DB/Spells: Add missing sql in 669e2ed20f 2013-01-09 17:29:27 +01:00
ZxBiohazardZx
d9339cea60 DB/SAI: Fix startup DB errors 2013-01-09 15:59:15 +00:00
Spp
25d35bacf9 Fix incorrect sql name 2013-01-09 16:39:57 +01:00
Spp
677ed18080 Core/Dungeon Finder: Fix group (5) unable to do new dungeon after finished last dungeon
- Some optimizations here and there
- Drop unused columns related to dungeon rewards
- Simplify Group reward. All people inside the dungeon should get the reward, no matter how far it's from the boss
2013-01-09 15:15:42 +01:00
Pitcrawler
ecfb762346 DB/SAI: You Reap What You Sow, closes #8827 2013-01-09 13:17:31 +01:00
Spp
5f15600e7a Core/Build: Fix linking and sooo many compile warnings 2013-01-09 13:13:39 +01:00
Vincent_Michael
9f9f797d5d Scripts/TOCR: Fix some faction champions crash
Closes #8393
2013-01-08 23:01:26 +01:00
Gacko
e102629601 DB/Quest: Raise the Barricades
Thanks to @Nevadas. Solves #8877
2013-01-08 21:33:28 +01:00
Vincent_Michael
d36d2eac76 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps 2013-01-08 16:28:37 +01:00
Vincent_Michael
20ab789fe7 Core: Fix build with Debian 7.0
Closes #8882
2013-01-08 16:26:45 +01:00
Malcrom
7c5597a697 Core/Scripting: Update Scholomance Scripts 2013-01-08 00:47:20 -03:30
Malcrom
f81f8ec41b Core/Scripting: Compile fix 2013-01-07 23:02:17 -03:30
Malcrom
43d73bebd0 Core/Scripting: Some cleanup 2013-01-07 22:48:40 -03:30
Malcrom
2a9fc5198b Core/Scripting: Move Nightbane text to creature text 2013-01-07 22:44:09 -03:30
Malcrom
0226048686 Core/Scripting: Update Script for Postmaster Malown 2013-01-07 22:13:04 -03:30
Malcrom
0105bc849f Core/Scripting: Misc clean up and a warning fix 2013-01-07 21:47:38 -03:30
Malcrom
6ba128b2b2 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2013-01-07 20:19:47 -03:30
Malcrom
70977f3097 Core/Scripting: Misc fixes 2013-01-07 20:18:47 -03:30
ZxBiohazardZx
c3134bc6cd DB/Creature: Remove ALOT of auras and creature_addon definitions, all these entries should be handled by SAI already, if not then SAI should be fixed 2013-01-08 00:45:44 +01:00
Malcrom
1c77eee917 Core/Scripting: Move Text for Shirrak the Dead Watcher to creature text 2013-01-07 19:50:31 -03:30
Malcrom
5ce88118ee Core/Scripting: Move Text for Timmy the Cruel to creature text 2013-01-07 19:27:35 -03:30
Vincent_Michael
8c58184535 Core: Fix non pch build 2013-01-07 23:40:20 +01:00
Vincent_Michael
8f36383d39 Core: Fix build 2013-01-07 23:28:03 +01:00
w1sht0l1v3
de3d507cc1 DB/SAI: Proper script for Snowfall Glade Pup SAI. 2013-01-08 00:24:24 +02:00
Malcrom
64be0ef3b0 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2013-01-07 18:40:58 -03:30