Commit Graph

7821 Commits

Author SHA1 Message Date
Trazom62
bca335f9bd Implement Global Cooldown (originaly written for TC2 v2.4.3).
Thanks eugen.rivniy for the port.
Fixes issue #67.

--HG--
branch : trunk
2010-04-09 20:10:55 +02:00
Brian
0c22e5ac99 * Proper format for CustomSpellDifficulty.dbc
* Thanks n0n4m3

--HG--
branch : trunk
2010-04-09 11:48:21 -06:00
Trazom62
e0e8d6f6ee Avoid crash in TurretAI if spell1=0 and issue an error log instead.
Fixes issue #1360.
Fixes issue #1032.

(same for ArchorAI and AOEAI).

--HG--
branch : trunk
2010-04-09 19:45:06 +02:00
teacher
fcd660b240 Changed recent spell_difficulty_dbc table creation to CHARSET=utf8.
Added recent sql updates to world.sql...

--HG--
branch : trunk
2010-04-09 15:41:01 +02:00
Rat
4bd2379c6f *add example difficulty spells for magus telestra
--HG--
branch : trunk
2010-04-09 10:57:42 +02:00
Rat
cbbe587817 *added code for loading Spelldifficulty.dbc + Custom Spelldifficulty from Database
*added spell searcher based on creature's map difficulty, usage is optional and only for scipts for now
*added new table spelldifficulty_dbc

--HG--
branch : trunk
2010-04-09 10:47:11 +02:00
Rat
1f46c1150d *fix an sql-dbc load bug, patch by Qaston
--HG--
branch : trunk
2010-04-08 22:40:14 +02:00
Trazom62
d93e4079f7 Script Instance Forge of Souls.
Script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC).
Fix EventMap::DelayEvents
Fixes issue #1310.

--HG--
branch : trunk
2010-04-08 21:03:26 +02:00
teacher
6f3996fd11 Added serverside spell as place holders for future development.
Added some vehicleIDs and creature_template spells (by Xanadu and Mikebeck).
Some fixes for proper sql format.

--HG--
branch : trunk
2010-04-08 16:29:29 +02:00
Spp
61faf0cd10 SOTA: Fix graveyard respawn location.
Thanks to AntiDiavol for pointing this bug... twice
Closes issue 1516

--HG--
branch : trunk
2010-04-08 11:49:34 +02:00
Spp
4635fbc020 Code Style (game + scripts only):
"!=" --> " != " (when needed)
"  !=" --> " !="
"!=  " --> "!= "

--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp
46f0674e23 Code Style (game + scripts only):
">=" --> " >= " (when needed)
"  >=" --> " >="
">=  " --> ">= "
"<=" --> " <= " (when needed)
"  <=" --> " <="
"<=  " --> "<= "
" ==" --> " =="
"==  " --> "== "

--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp
2454c290b8 Code Style (game + scripts only):
"==" --> " == " (when needed)

--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp
49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp
d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
2e127f7a30 Code style (game + scripts only):
"while(" --> "while ("

--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp
182e9a20b1 Code style (game + scripts only):
"for(" --> "for ("

--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp
b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
Spp
f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
teacher
502fc82fb8 Little sql cleanup and full update.
--HG--
branch : trunk
2010-04-07 18:21:31 +02:00
Spp
7afdb17ed3 Fix a typo in SOTA that prevented players to respawn in one of the graveyards
--HG--
branch : trunk
2010-04-07 16:27:17 +02:00
malcromdev@gmail.com>
9923df7745 remove CRLF from blackrock spire scripts.
--HG--
branch : trunk
2010-04-07 10:30:46 -02:30
Tartalo
acc426951c Clean SQLs from last commit
--HG--
branch : trunk
2010-04-07 14:56:48 +02:00
Tartalo
aaa340fa25 Blackrock Spire: Implements Leroy Jenkins achievement, by Spichy.
Fixes issue #1073.
Please, post your contribution following our coding style, otherwise I have to
waste a lot of time cleaning up the code

--HG--
branch : trunk
2010-04-07 14:55:54 +02:00
Anubisss
3316adb5a2 Merge.
--HG--
branch : trunk
2010-04-07 13:20:30 +02:00
Anubisss
fa3aa746ac Remove some pointers and use GUIDs in borean_tundra.
--HG--
branch : trunk
2010-04-07 13:17:24 +02:00
raczman
bcb67eb490 Include ACE headers in case they are not in system path.
Thanks for spotting the bug guys:
GL.AntiDiavol, next3x, Aokromes

--HG--
branch : trunk
2010-04-07 13:09:07 +02:00
Tartalo
599ffd8bb9 Boran Tundra, Quest 11648, The Art of Persuassion: Fix pCaster pointer, by microbius51
Cleanup the script

--HG--
branch : trunk
2010-04-07 10:33:58 +02:00
Tartalo
0ae812b7bd Gundrak, Drakkari Colossus: Fix logic, by kenjiro@irc.pl
Fixes issue #1313.

--HG--
branch : trunk
2010-04-07 10:18:54 +02:00
malcromdev@gmail.com>
e316869ee4 remove CRLF from alterac_valley scripts.
--HG--
branch : trunk
2010-04-06 21:32:35 -02:30
Tartalo
b58dc98b2b Utgarde Keep, Utgarde Pinnacle: Cleanup Svala Sorrowgrave
Better handling of sacrifice target storing his GUID on ScriptedInstance to
share it between npcs.

--HG--
branch : trunk
2010-04-07 01:04:38 +02:00
Tartalo
668dd91368 Ulduar, Halls of Lightning: Ionar disperses only once.
3.3.2 Blizzlike change

--HG--
branch : trunk
2010-04-07 00:21:31 +02:00
Tartalo
7c389f4c39 Ulduar, Halls of Lightning: Cleanup Ionar's script
--HG--
branch : trunk
2010-04-07 00:18:53 +02:00
Rat
c39f8bf7c7 *fix bug "cant cast or logout till you move a bit if someone dismounted near you from a flying mount"
--HG--
branch : trunk
2010-04-06 23:52:08 +02:00
Tartalo
f871e12fa4 Eastern Kingdoms, Alterac Valley: Register scripts on db
--HG--
branch : trunk
2010-04-06 21:39:16 +02:00
Tartalo
827751ce0c Branch merge
--HG--
branch : trunk
2010-04-06 21:36:27 +02:00
Tartalo
81127a5df4 Eastern Kingdoms, Alterac Valley: Add forgotten file from previous commit
--HG--
branch : trunk
2010-04-06 21:35:11 +02:00
Tartalo
48b1ecf08f Eastern Kingdoms, Alterac Valley: Scripts for Marshalls, Warmasters and bosses
Unknown author code contribution from issue #954.

--HG--
branch : trunk
2010-04-06 21:34:37 +02:00
raczman
e30e9a45cb Cleaned up include directories in cmakes.
--HG--
branch : trunk
2010-04-06 15:53:27 +02:00
malcromdev@gmail.com>
971d617e9e Add Spells to Coldarra Warmages to target Tansisus Shield Bunnys same as Violet Stand.
Also required: http://trinitydatabase.org/index.php?/topic/15320-fix-for-transis-shield-bunnys-coldarra/

--HG--
branch : trunk
2010-04-05 22:09:36 -02:30
Brian
befef61acb * Added EPIC difficulty (not currently used) to difficulties enum
* Thanks Zor for the research
* Linux guys -- enjoy the full rebuild :P

--HG--
branch : trunk
2010-04-05 15:11:03 -06:00
Brian
db2f8ae744 * Actual backout
* SQL needed to undo 7769

--HG--
branch : trunk
2010-04-05 14:44:34 -06:00
Brian
96cc2b1d48 * Backed out changeset 44ff24439269
* We will implement this in a generic way using the conditions system

--HG--
branch : trunk
2010-04-05 14:42:40 -06:00
malcromdev@gmail.com>
9629a340c6 Fix script to have less calls
--HG--
branch : trunk
2010-04-05 11:34:30 -02:30
XTZGZoReX
d3e30bab72 Fix pet leveling logic. Patch by click.
--HG--
branch : trunk
2010-04-05 13:45:35 +02:00
thenecromancer
1fa2fbc658 Fix wrong condition in previous commit, sorry for that
--HG--
branch : trunk
2010-04-05 13:18:14 +02:00
thenecromancer
a1db8825d4 Use unit target by default (script targets will send self flag usualy)
Fixes quite some new issues like #1466

--HG--
branch : trunk
2010-04-05 13:15:21 +02:00
thenecromancer
fc3a1a3a21 Merge
--HG--
branch : trunk
2010-04-05 13:09:57 +02:00
thenecromancer
0218e45565 Always add CC unit state to allow restoring CC effects if one expires (stun in case of root/confuse, and fear in case of everything else)
Fixes issue #1468

--HG--
branch : trunk
2010-04-05 13:09:28 +02:00
XTZGZoReX
7c277c87d8 * Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor.

--HG--
branch : trunk
2010-04-05 13:08:47 +02:00