Commit Graph

2056 Commits

Author SHA1 Message Date
John Holiver
fcebd3117a Fix Shaman T10 Ele 2P. Big thanks to Dr.Tenma!!!
Fix Warrior T10 Melee 2P.

--HG--
branch : trunk
2010-08-24 01:01:46 -03:00
silinoron
4c382c0b98 Fix typo in SQL file name.
--HG--
branch : trunk
2010-08-23 20:38:35 -07:00
John Holiver
b30800e9bc Forget to save the file before pushing. Sorry. =p
--HG--
branch : trunk
2010-08-23 23:25:10 -03:00
John Holiver
d7d63012c5 Fix Spirit Walk adding the remove imparing movement effect.
--HG--
branch : trunk
2010-08-23 23:24:15 -03:00
John Holiver
24c88d1802 Fix several Idols, Relics, Librams and Sigils.
Thanks also to Arcane.

--HG--
branch : trunk
2010-08-23 23:13:51 -03:00
John Holiver
b5633c4863 Fix Warlock, Rogue and Hunter T10 Bonuses.
Thanks also to Arcane.

--HG--
branch : trunk
2010-08-23 22:25:08 -03:00
John Holiver
48bfe264d9 Fix Shaman Tier Bonus
* T9  Ele 4P
* T10 Res 4P
* T10 Enh 2P
* Partially, T10 Ele 2P (need some way to send ¨decrease CD¨ msg to client)

--HG--
branch : trunk
2010-08-23 20:41:54 -03:00
QAston
07a3a1254b *Add AuraScript class for scripting aura objects - scripts are registered same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h
*Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace
*Make spells 66244 and 5581 example scripts.

--HG--
branch : trunk
2010-08-24 00:10:49 +02:00
John Holiver
ad5c8cadf1 Fixes Mage T10 bonus. Thanks to Dr.Tenma. Close issue #3423
--HG--
branch : trunk
2010-08-23 13:26:25 -03:00
silinoron
ccc2a83510 * Some consistency changes.
* Move spell 6962 to spell scripts and make sure to set deathstate.

--HG--
branch : trunk
2010-08-22 21:07:18 -07:00
John Holiver
6e7f11aa41 Typo from prev commit
--HG--
branch : trunk
2010-08-22 06:13:27 -03:00
John Holiver
3fb1c08d20 Core/Script/Spells: Trial of the Crusader
* Keep in mind that this is a WIP although is extremely playable as it is.
* Known bugs are writen at the header of each file.
* If u know how to correctly solve any of those bugs or found a new bug, please report and, if you may, provide a fix for us to review.
* I'd like to thank all Trinity Community (in special, Shauren, QAston, Bio, Josh), rsa from SD2 for providing the base, all the ppl that helped me test and review so many many times.
* I personally have been working on this code since TC was near rev 8000 so i will take a break from it to work on other stuff (specially cause most of the bugs i was unable to solve alone).
* I'd like to strongly encourage others to provide the improvements that this instance need to become perfect.
* FInally, this commit might have something missing... i'll recheck as soon as i wake up tomorrow morning.

--HG--
branch : trunk
2010-08-22 05:55:54 -03:00
Shauren
d7814e88d8 Scripts/Icecrown Citadel: Added Lady Deathwhisper script, huge thanks to wowgargamel for script parts, timers and sniffs
Core/Scripts: Added GetPhaseMask() method to EventMap

--HG--
branch : trunk
2010-08-21 11:09:58 +02:00
Shauren
a693f49bd1 Vehicles: Prohibit entering vehicle in combat only if it is a multi-passenger mount
Scripts/Icecrown Citadel: Changed Bone Spike id and remove teleport z+3 hack, its a vehicle, thx wowgargamel
Scripts/Icecrown Citadel: Fixed typo in variable name, thx Paradox
Scripts/Icecrown Citadel: Added warning emote for Bone Storm

--HG--
branch : trunk
2010-08-19 16:40:47 +02:00
azazel
9b13fa8688 Fix typo in SQL (yet again, now with correct spell id)
--HG--
branch : trunk
2010-08-19 11:27:30 +06:00
azazel
888a13fb15 Fix typo in SQL
--HG--
branch : trunk
2010-08-19 09:54:27 +06:00
Shauren
71a5320eda Scripts: Added script for Lord Marrowgar
Added base script for Icecrown Citadel instance

--HG--
branch : trunk
2010-08-18 17:19:47 +02:00
azazel
c0f3a7f9ef Core/spells: move 20425 Guarded by the Light spell from Warlock spells to Paladin spells.
PS Well, this spell used to be in SPELLFAMILY_WARLOCK case, so it seems it never worked before. And that's why I added it to Warlock spells.

--HG--
branch : trunk
2010-08-18 12:26:17 +06:00
silinoron
d6fe4b23e9 Add support for recruit-a-friend XP and reputation multipliers.
More research needs to be done to implement summoning and granting levels.

--HG--
branch : trunk
2010-08-17 19:18:09 -07:00
azazel
66fcd52106 Add more methods to SpellScript.
Spells cleanup: move spells from the core to scripts.

* Shaman spells: 39610 Mana Tide Totem, 1535 Fire Nova (and ranks)
* Death Knight spells: 55090 Scourge Strike (and ranks), 49158 Corpse Explosion (and ranks), 50524 Runic Power Feed
* Druid spells: 54846 Glyph of Starfire
* Warlock spells: 6201 Create Healthstone (and ranks), 47422 Everlasting Affliction, 47193 Demonic Empowerment, 63521 Guarded by The Light
* Hunter spells: 37506 Scatter Shot, 53412 Invigoration, 53209 Chimera Shot
* Quest spells: 45449 Arcane Prisoner Rescue (quest 11587), 46023 The Ultrasonic Screwdriver (quest 11730). Closes issue #3068

Clean old code for hunter's Heart of the Phoenix, move script effect of hunter's Master's Call to corresponding script.
Move DK's Hungering Cold to spell_scripts table (needs DB support)

--HG--
branch : trunk
2010-08-18 00:20:23 +06:00
click
67e7786ccc Core/SQL: Correction on SQL-file, make sure the SQL is properly formatted with a ; in the end.
--HG--
branch : trunk
2010-08-17 16:04:50 +02:00
click
3695accf50 Core: Add support for reloading gossip_scripts + add missing SQL for earlier inserted commands (gossip_menu and gossip_menu_option)
Thanks to Kaelima
Fixes issue 2433

--HG--
branch : trunk
2010-08-17 11:49:53 +02:00
teacher
05795303f4 FIxes sql syntax on previous commit. Of course, if you don't save the file before committing...yet again two revs for one update, and I have had coffee!
--HG--
branch : trunk
2010-08-17 09:39:18 +02:00
teacher
5345d82e65 Proper insert statement for 9421_world_command.sql (also help description needs an update). Re-import it if you already have imported it a first time.
Added recent sql update to full.

--HG--
branch : trunk
2010-08-17 09:34:59 +02:00
silinoron
58b6090efd Rename .goname to .appear, .namego to .summon, and .groupgo to .groupsummon. Also do some cleanup in Level1.cpp.
Fixes issue #3451

--HG--
branch : trunk
2010-08-16 18:21:22 -07:00
Shauren
30468a106f Moved battleground achievement scripted checks into scripts
Call ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL updates in code
Implemented achievements: Save the Day, Quick Cap, Warsong Expedience

--HG--
branch : trunk
2010-08-13 13:48:59 +02:00
click
76bbd66d76 SQL: Rename SQL-file from [9332] to reflect the db it belongs to
--HG--
branch : trunk
rename : sql/updates/9332_spell_proc_event.sql => sql/updates/9332_world_spell_proc_event.sql
2010-08-12 18:57:02 +02:00
teacher
898d57f09b Minor sql cleanup, no need to re-apply anything.
--HG--
branch : trunk
2010-08-12 09:22:54 +02:00
Shauren
fc45c6db07 Added internal cooldown for the following (both heroic and normal versions):
Althor's Abacus
Corpse Tongue Coin
Dislodged Foreign Object
Phylactery of the Nameless Lich
Whispering Fanged Skull
Ashen Verdict rings

--HG--
branch : trunk
2010-08-10 20:40:37 +02:00
Spp
719f770a56 *Fix typo in 9240 sql file
*Fix typo in my previous commit

Note to self: next time review the changes, not just C&P the delete from 9240*.sql

--HG--
branch : trunk
2010-08-10 10:00:57 +02:00
Spp
edf9fe17d2 Fix typo in world_scripts_full.
Closes issue 3367

--HG--
branch : trunk
2010-08-10 09:35:03 +02:00
Shauren
5709c8be0d achievement_criteria_data data type 11 is now handled by core team (as its purpose is scriptname only)
Reimporting of SQL is not needed

--HG--
branch : trunk
2010-08-09 22:08:03 +02:00
Shauren
ede953500b Fixed line endings in 9237_world_outdoorpvp_template.sql
Remove no longer existing scripts from ScriptLoader

--HG--
branch : trunk
2010-08-08 22:57:07 +02:00
XTZGZoReX
d75011c4a8 * Fix SQL errors, again thanks to Machiavelli.
--HG--
branch : trunk
2010-08-08 22:05:28 +02:00
John Holiver
b3b7ffdfeb [FIX] Intravenous Healing Potion. Thanks Gyullo.
--HG--
branch : trunk
2010-08-08 15:59:17 -03:00
Shauren
b3e6a6c5ab Remove useless hack for Leeeeeeeeeeeeeroy! achievement
--HG--
branch : trunk
2010-08-07 20:28:23 +02:00
Shauren
481c0cef3f Use proper WHERE query in 9240_world_achievement_criteria_data.sql
--HG--
branch : trunk
2010-08-07 18:37:20 +02:00
Shauren
b56cfe03d5 Implemented ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE
Added support for "in single battleground" and "without dying" requirement to battleground achievements
Add examples of scripting achievement (School of Hard Knocks, Storm Glory)

--HG--
branch : trunk
2010-08-07 18:31:06 +02:00
XTZGZoReX
aff24e3598 * Some cleanups in world_scripts_full.sql.
* SQL updates for `battleground_template`.`Comment` (by Click), and `outdoorpvp_template` content.

--HG--
branch : trunk
2010-08-07 17:30:14 +02:00
Shauren
431301c1b2 Added support for scripting achievement criteria checks using ACHIEVEMENT_CRITERIA_DATA_TYPE_SCRIPT (11)
--HG--
branch : trunk
2010-08-07 16:48:34 +02:00
azazel
f413d60908 * Move all movable spell effects from core to DB. Needs DB support.
* Fix some compile errors made in previous commits.

--HG--
branch : trunk
2010-08-07 01:02:09 +06:00
Shauren
5a345eeade Implemented Dalaran no-fly zone
--HG--
branch : trunk
2010-08-06 20:09:23 +02:00
XTZGZoReX
255158f535 * Fixed some CRLF that magically made its way into this file...
--HG--
branch : trunk
2010-08-06 19:34:24 +02:00
azazel
2562a4651f Moved Pain and Suffering (47948) script effect to spell script.
--HG--
branch : trunk
2010-08-06 23:03:43 +06:00
XTZGZoReX
b63a31f513 * Added outdoorpvp_template table (currently unused).
* Added DISABLE_TYPE_OUTDOORPVP (5) which can disable outdoorpvp_template entries.

--HG--
branch : trunk
2010-08-06 18:03:09 +02:00
XTZGZoReX
e4cab07f32 * Add ScriptName to conditions.
--HG--
branch : trunk
2010-08-06 16:33:31 +02:00
XTZGZoReX
fd34134a45 * Add ScriptName to game_weather.
--HG--
branch : trunk
2010-08-06 16:28:17 +02:00
Shauren
07348ff4af Added ScriptName to battleground_template for script system rewrite
--HG--
branch : trunk
2010-08-06 13:47:17 +02:00
Shauren
9b22ad006b Removed unused access_id from instance_template table (obsolete since access_requirement rewrite)
Fixed build issues with my previous commit

--HG--
branch : trunk
2010-08-06 13:12:18 +02:00
Shauren
7cae47210e Added ScriptName to transports table for script system rewrite
--HG--
branch : trunk
2010-08-06 12:13:13 +02:00