Commit Graph

7285 Commits

Author SHA1 Message Date
QAston
a4b89d8806 fix a typo in IsHighRankOfSpell(uint32 spell1,uint32 spell2)
--HG--
branch : trunk
2010-02-03 02:41:10 +01:00
QAston
10695f9131 *Drop spell_stack_masks table
*Add spell_group_stack_rules table (for more info see wiki)
*The table is maintained by core team
*Move some spell specific out of core to the new table

--HG--
branch : trunk
2010-02-02 22:35:01 +01:00
Trazom62
70425115f0 Fix Script DrakTharon/Trollgore.
- fix adds spawn points.
- fix achievement Consumption Junction.

--HG--
branch : trunk
2010-02-01 21:28:50 +01:00
Trazom62
a91bf2f028 Fix quest : Death From Above. Thanks clement.roussel for original patch.
Fixes issue #592.

--HG--
branch : trunk
2010-02-01 21:25:10 +01:00
QAston
a1256d88ee *drop spell_elixir table
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data
*the table is going to be maintained by core team
*fix percentage display at spell_ranks table loading
*add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue.

--HG--
branch : trunk
2010-02-01 19:22:32 +01:00
teacher
65705a16c1 Updated world.sql and characters.sql.
Removed commented code form realm.sql and set account.expansion field default value to 2 (wotlk) (thx Aokromes).
Properly set default values for some world DB fields.
Properly set some world DB fields to allow Database import in strict mode (by Brian).
Updated world_script_full with recent committed npc script.
Renamed a couple of files with proper revision number.
Note: no DB data will changed nor harmed by this commit.

--HG--
branch : trunk
2010-02-01 18:52:42 +01:00
thenecromancer
9b6cf93d7a Use normal ace thread mutex
--HG--
branch : trunk
2010-02-01 11:30:05 +01:00
thenecromancer
fd5f1e554d Use recursive thread mutex for SQL transaction queue
--HG--
branch : trunk
2010-02-01 10:23:18 +01:00
_manuel_
adfce8fec4 Fixed npc issue after mind control by PrinceCreed. Closes issue 229.
--HG--
branch : trunk
2010-02-01 02:16:44 -03:00
_manuel_
7423553286 Removed tabs. Please if you make a patch make it with out tabs, use 4 spaces.
--HG--
branch : trunk
2010-02-01 01:59:46 -03:00
XTZGZoReX
994f40fa98 * Fix typo in script_texts entry -1580067. Reported by ogeraisi.
--HG--
branch : trunk
2010-02-01 02:08:04 +01:00
_manuel_
8da617fca9 Closes issue 565. Implemented script for wormhole by make_the_king. For a full fix see TDB Forums New Fix Submissions > Core related DB content.
--HG--
branch : trunk
2010-01-31 22:02:15 -03:00
Trazom62
0b198b085d Fix Glyph of Power Word: Shield
Heal was given twice:
- once when PW:S is applied (see SpellAuras.cpp line 982).
- once when damage is actually absorbed.

The blizz way is to heal when PW:S is applied.

--HG--
branch : trunk
2010-01-31 22:03:58 +01:00
Brian
ba9197236c * Backed out changeset af19f9ff6dd8
* Spell ranks are handled by the (imagine this) spell_ranks table
* Data already in spell_ranks for these spells
* Thanks QAston

--HG--
branch : trunk
2010-01-31 13:19:43 -07:00
Brian
a4759e9ce8 * Add spell required data for Totem of Wrath ranks 2-4
* Thanks Wladass

--HG--
branch : trunk
2010-01-31 13:04:57 -07:00
Trazom62
5114a2a327 Fix Metagem bug exploit. Thanks Azazel and p.alexej.
Fixes issue #579.
Fixes issue #453.

--HG--
branch : trunk
2010-01-31 18:10:27 +01:00
QAston
9de5acc4e1 *Drop no longer needed sql table.
--HG--
branch : trunk
2010-01-31 17:49:55 +01:00
QAston
ac388e6f21 *Add support for spells in npc_trainer table with multiple SPELL_EFFECT_LEARN_SPELL, this fixes problems with learning such spells from trainers.
--HG--
branch : trunk
2010-01-31 17:24:13 +01:00
Trazom62
d435366bce Fix Script Violet Hold/Ichoron.
Fixes issue #33.

- implement Dehydration achievement
- go frenzy at 25% health and no longer cast bubble
- loose health when water elements are killed (3%. may still need to be adjusted).
- use spawn loc for adds

--HG--
branch : trunk
2010-01-31 16:23:28 +01:00
Trazom62
4732618c22 Fix crash in SelectTargetList
Fixes issue #578.

--HG--
branch : trunk
2010-01-30 22:42:04 +01:00
Spp
aee31b9164 Remove unnecesary item enchants checks
By Az@zel
Closes issue #382

--HG--
branch : trunk
2010-01-30 20:48:23 +01:00
QAston
ba59411178 *Update spell_script_target table validation.
--HG--
branch : trunk
2010-01-30 20:28:42 +01:00
Spp
f726f89c8b AuctionHouse: Use MailDeliveryDelay config value at mail cash delivery
Thanks to MrSmite
Closes issue #485

--HG--
branch : trunk
2010-01-30 19:35:16 +01:00
QAston
a331b67244 *Add error checks at spell_required table loading
*Allow spell_required table to store more than 1 spell learn requirement for a spell
*spell_required table data is removed from world.sql and since this commit the data for it should be maintained by db project you're using.

--HG--
branch : trunk
2010-01-30 19:25:04 +01:00
Spp
6b9914f0d7 Typo in last commit :(
--HG--
branch : trunk
2010-01-30 18:30:27 +01:00
Spp
e4b06aa71c Added missing CMakeList file.
* Thanks to Taliesin
* Closes 573

--HG--
branch : trunk
2010-01-30 18:00:40 +01:00
Brian
6a3cd98529 * Fixed the console in Linux so the prompt doesn't get hung, that was so
* annoying. Original idea by stump

--HG--
branch : trunk
2010-01-30 09:26:56 -07:00
Brian
cfa8ff7bd6 * Set the default spawntimesecs for creatures / gameobjects added in game to 5 minutes
* Was 25 seconds
* Thanks Paradox

--HG--
branch : trunk
2010-01-30 08:05:08 -07:00
Trazom62
c7d9ffd25b Fix Script Naxxramas/KelThuzad. Thanks scarymovie87 for pointing out the issue in previous patch.
- frost blast shall target MT in 25-mode only.

--HG--
branch : trunk
2010-01-30 16:01:46 +01:00
QAston
1b92277e8c *Fix the dead loop in Player::removeSpell, or at least optimize the cycle.
--HG--
branch : trunk
2010-01-30 15:57:41 +01:00
thenecromancer
a120426f9f Add support to time remaining display in WSG
--HG--
branch : trunk
2010-01-30 15:35:34 +01:00
XTZGZoReX
168d315882 * Revert [7239]. Research/code was wrong - caused wrong corpse position.
--HG--
branch : trunk
2010-01-30 15:32:25 +01:00
Brian
50f0279bdb * Set auto increment values for creature and gameobject GUIDs outside of TDB
ranges.
* All custom content should have GUIDs > 250000 for `creature` and GUIDs >
200000 for `gameobject`

--HG--
branch : trunk
2010-01-30 07:14:34 -07:00
thenecromancer
3c4db4786c Fix error with undeclared name
--HG--
branch : trunk
2010-01-30 14:02:51 +01:00
thenecromancer
a6630824f4 *Do not check for charminfo->petnumber when responding to Pet name query
*Send Unknown if pet is not found by object accessor

--HG--
branch : trunk
2010-01-30 13:54:34 +01:00
QAston
f587fd14af *Fix second crash in the opcode handler.
--HG--
branch : trunk
2010-01-30 13:22:55 +01:00
QAston
23f589efa3 *Fix a crash in CORPSE_MAP_POSITION_RESPONSE handler.
--HG--
branch : trunk
2010-01-30 11:37:39 +01:00
XTZGZoReX
7209312044 * Merge - screw you, Brian!
--HG--
branch : trunk
2010-01-29 22:25:09 +01:00
XTZGZoReX
c3ae3b88aa * Implement CMSG_CORPSE_MAP_POSITION_QUERY/CMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE opcodes. Thanks to: Ceris, Lightguard, raczman for helping with research/code.
* Fix SMSG_QUERY_TIME_RESPONSE use/structure. Patch/research by TOM_RUS.

--HG--
branch : trunk
2010-01-29 22:24:18 +01:00
Brian
d140d67699 * Changed the default security levels for some commands
* Deleted no longer used loadscripts command
* Updated security levels in the command table to match defaults in the core

--HG--
branch : trunk
2010-01-29 14:19:43 -07:00
Brian
038c1ad776 * Added check in ObjectMgr to allow RewSpellCast=-1. Thanks QAston
--HG--
branch : trunk
2010-01-29 12:54:30 -07:00
Trazom62
7a6ad7d4f4 Merge
--HG--
branch : trunk
2010-01-29 19:49:46 +01:00
Trazom62
3c9c950c5f Fix UnitAI::SelectTarget: avoid erasing player from the threadlist.
--HG--
branch : trunk
2010-01-29 19:46:30 +01:00
Trazom62
5757e4f77f Fix Script Naxxramas/Kel'thuzad. Thanks tbaart.
Fixe issue #321.

- frost blast shall not target MT.

--HG--
branch : trunk
2010-01-29 19:45:49 +01:00
Trazom62
268230ed92 Fix Script Naxxramas/Maexxna. Thanks Scarymovie87.
Fixe issue #162.

- Add an repeating event for Frenzy, spell only lasts 10 minutes
- Added comments for missing texts
- Code style : Changed "return;"s to "break;"s in switch-case
- Code style : Move code of AI of Wrap Webs from mob_generic_creature.cpp into boss_maexxna.cpp file, since it belongs to the fight

--HG--
branch : trunk
2010-01-29 19:44:15 +01:00
Trazom62
0192d4e0cf Fix Script Naxxramas/Heigan. Thanks Scarymovie87.
Fixe issue #176.

- fix timers

--HG--
branch : trunk
2010-01-29 19:37:53 +01:00
XTZGZoReX
a385ea64b0 * Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
2010-01-29 19:24:14 +01:00
Brian
80061b7899 * Fixed import error on spell_ranks, thanks for the info QAston
--HG--
branch : trunk
2010-01-29 11:22:34 -07:00
QAston
785cb86c6a *Fix build with GCC, thanks to Brian.
--HG--
branch : trunk
rename : sql/updates/7234_world_spell_ranks.sql => sql/updates/7236_world_spell_ranks.sql
2010-01-29 19:08:42 +01:00
QAston
94e5e3970e *Prevent linked effects to apply area auras in Unit::RemoveAreaAurasDueToLeaveWorld, finally fix the update sql
--HG--
branch : trunk
2010-01-29 18:51:06 +01:00