Commit Graph

113 Commits

Author SHA1 Message Date
Liberate
cdaedef3c1 *Fix: Lacerate should scale with AP only, and not from SP.
--HG--
branch : trunk
2010-08-31 23:04:43 +02:00
Shauren
6c3b39ac01 Scripts/Icecrown Citadel: Added Festergut script, thx Cromash for providing the base and Cyrax for sniffs
Scripts/Icecrown Citadel: Added Professor Putricide script handling ONLY Festergut related events

--HG--
branch : trunk
2010-08-30 11:36:15 +02:00
John Holiver
258398ed30 Fixes Druid T10 Balance 4P bonus.
Fixes DK T10 Melee 4P bonus.

--HG--
branch : trunk
2010-08-31 15:01:04 -03:00
John Holiver
5bf31a5e81 Fix to DK Tank 4P and Paladin Holy 4P T10 bonus.
Fixes issue 2684.
Fixes issue 2681.
Thanks to svetilo12.

--HG--
branch : trunk
2010-08-31 12:35:06 -03:00
Shocker
b19c1396dd Allow Soul Leech to proc from Conflagrate, fixes issue 2257
--HG--
branch : trunk
2010-08-30 22:10:52 +03:00
Shocker
97b5de9900 Immolate and Unstable Affliction can't stack anymore when casted by same caster, thanks Karolis.Rudzevicius, fixes Issue #2246.
--HG--
branch : trunk
2010-08-30 11:09:55 +03:00
Shocker
72358a1b5f * Include needed SQL data for Lord Marrowgar / Deathbringer Saurfang
* Small SQL correction from a previous commit, MySQL doesn't allow default value for a LONGTEXT on Windows, unlinke Linux where it's only a warning

--HG--
branch : trunk
2010-08-30 09:26:28 +03:00
silinoron
08205afcc9 Rewrite much of the GM ticket system
* Extract storage and manipulation of tickets to TicketMgr (from ObjectMgr)
* Extract ticket commands to TicketCommands.cpp
* Adds support for sending GM responses and GM surveys.
* Fix structure of several ticket-related packets.
* Add support for understanding lag reports.
* Thanks Zor for some of the packet structures, and Cyrax for some sniffs
* Please report any issues encountered via the tracker.

--HG--
branch : trunk
2010-08-29 20:28:14 -07:00
azazel
d952c90754 Spell Scripts:
* add new file spell_item.cpp for spells used by items (but not by quests)
* move some dummy effects of generic spells to scripts
* implement spell for quest 12937 Relief for the Fallen. Closes issue #3070

--HG--
branch : trunk
2010-08-29 22:40:23 +06:00
Liberate
5433b99279 Add the sql of rfce5b5c218 to sql/base/characters_database.sql.
Thanks to bitherd for showing me this stupid mistake.

--HG--
branch : trunk
2010-08-28 14:09:57 +02:00
Shocker
e3b92f9630 Implement .reload all_gossips, .reload quest_poi, .reload locales_gossip_menu_option. Original code by VladimirMangos, ported by Ramus. Closes issue #3466, issue #3637 and issue #3477
--HG--
branch : trunk
2010-08-28 01:44:35 +03:00
Shauren
73d3f210a9 Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing alliance outro due to need of spawning and moving a transport)
Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly
Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts
Core/Scripts: Allow AuraScript to prevent default effects by effect index
Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man
Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET

--HG--
branch : trunk
2010-08-21 20:50:38 +02:00
Shocker
aa768001a7 Fix Item - Icecrown Dungeon Melee Trinket (Needle-Encrusted Scorpion), fixes issue #3599
--HG--
branch : trunk
2010-08-26 05:53:52 +03:00
Shocker
bd2ffab07a * Move Paladin Judgement bonuses to spell_bonus_data, thanks deltapower.inc
* Avoid code duplication by moving spell interrupt code for jump effects to a common function for both EffectJump and EffectJumpDest, thanks devthenecro

--HG--
branch : trunk
2010-08-25 18:24:40 +03:00
silinoron
aaaeecc916 Add support for vehicle scaling based on item level.
Requires database data.
Fixes issue #2754

--HG--
branch : trunk
2010-08-24 15:04:34 -07:00
Shocker
c0dda8b492 * Forgotten stack rules for rev f69fb2d3e0, thanks svetilo12
* Fix a crash in rev a972aa682b

--HG--
branch : trunk
2010-08-24 22:47:41 +03:00
Shocker
c728681422 * Remove some old checks in aura stacking and change default stack rule to true
* Add stacking rules for Mark/Gift of the Wild, Power Word/Prayer of Fortitude, Prayer of/Shadow protection
NOTE: Although highly unlikely, this *might* cause some stacking problems until we properly define rest of the stacking rules in spell_group, so report any stacking issues
* Some missing lads from THANKS file

--HG--
branch : trunk
2010-08-24 14:38:00 +03:00
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
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
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
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
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
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
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
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
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
XTZGZoReX
9cfef5c39f * Minor correction to world_database.sql.
--HG--
branch : trunk
2010-08-06 12:02:07 +02:00
Shauren
30194bdd61 Add forgotten proc flags in revision ed3790455dfd (9166)
--HG--
branch : trunk
2010-08-05 18:28:23 +02:00