Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 0849044f6f No need to compile the same file 3 times, once in shared will do.
--HG--
branch : trunk
2010-07-27 17:29:53 +02:00
Shauren 9967b82f35 Fix for incorrect reputation rewards for certain factions with rep spillover
--HG--
branch : trunk
2010-07-27 17:28:36 +02:00
click e5b7f6ad01 Add option for search distance to getHeight() functions and make Creature::FallGround() use VMaps properly. (Fix by Lynx3d)
This finally prevents flying creatures from falling to infinity (basically instantly diappearing) in several instances, aswell
as prevent creatures from falling inside larger solid object around the world.

--HG--
branch : trunk
2010-07-27 17:29:33 +02:00
silinoron dbd76ef9ed Fix a typo in cmakelists and add spell_script_names to world_scripts_full.
--HG--
branch : trunk
2010-07-26 22:54:07 -07:00
click bfc6dec072 Cut away DO_*-parts from buildsystem and specific files checking for it.
--HG--
branch : trunk
2010-07-27 05:40:21 +02:00
click 2b9275424e Fix non-PCH build
--HG--
branch : trunk
2010-07-27 04:31:27 +02:00
silinoron 297b7aac1b Move SPELLFAMILY_MAGE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-26 19:05:20 -07:00
QAston fb1727abb1 *Make Potent Pheromones dispel auras for which it provides immunity.
*Remove not needed attribute modification for Light's Beacon.

--HG--
branch : trunk
2010-07-27 02:36:27 +02:00
QAston dd8d6701b8 *Implement RepRewardRate for spells.
--HG--
branch : trunk
2010-07-27 02:25:22 +02:00
silinoron 3ea0f411d3 merge
--HG--
branch : trunk
2010-07-26 15:40:40 -07:00
silinoron 5977a76d96 Move spell scripts from src/server/scripts/World to src/server/scripts/Spells
--HG--
branch : trunk
rename : src/server/scripts/World/spell_dk.cpp => src/server/scripts/Spells/spell_dk.cpp
rename : src/server/scripts/World/spell_druid.cpp => src/server/scripts/Spells/spell_druid.cpp
rename : src/server/scripts/World/spell_generic.cpp => src/server/scripts/Spells/spell_generic.cpp
rename : src/server/scripts/World/spell_hunter.cpp => src/server/scripts/Spells/spell_hunter.cpp
rename : src/server/scripts/World/spell_mage.cpp => src/server/scripts/Spells/spell_mage.cpp
rename : src/server/scripts/World/spell_paladin.cpp => src/server/scripts/Spells/spell_paladin.cpp
rename : src/server/scripts/World/spell_priest.cpp => src/server/scripts/Spells/spell_priest.cpp
rename : src/server/scripts/World/spell_rogue.cpp => src/server/scripts/Spells/spell_rogue.cpp
rename : src/server/scripts/World/spell_shaman.cpp => src/server/scripts/Spells/spell_shaman.cpp
rename : src/server/scripts/World/spell_warlock.cpp => src/server/scripts/Spells/spell_warlock.cpp
rename : src/server/scripts/World/spell_warrior.cpp => src/server/scripts/Spells/spell_warrior.cpp
2010-07-26 15:40:08 -07:00
silinoron b69fa7ba25 Players should be able to join the GuildRecruitment channel even if they are currently in a guild.
--HG--
branch : trunk
2010-07-26 14:19:33 -07:00
QAston 8e7f30eb61 *Add debug log to trac reason of a crash in Spell::DoAllEffectOnTarget.
--HG--
branch : trunk
2010-07-26 22:57:25 +02:00
Shauren 4fb256254c Fixed bug in Player::Satisfy that allowed to sometimes bypass instance requirements
Fixed DisableMgr incorrectly blocking entry into maps when only one mode was disabled

--HG--
branch : trunk
2010-07-26 22:25:03 +02:00
QAston 31820f0340 *Typofix - forgotten assigment in 00dc724412 - fixes weapon usage.
--HG--
branch : trunk
2010-07-26 19:54:32 +02:00
QAston fc4087cd98 *Resurrection sickness and similar debuffs are no longer dispelable.
--HG--
branch : trunk
2010-07-26 19:27:28 +02:00
QAston 66d8255625 *Set angle of cone based targets to 90 degrees - by akadabeer.
--HG--
branch : trunk
2010-07-26 16:27:34 +02:00
QAston 7b87ab4de7 *Add more Player::CanUseAttackType checks in places where item bonuses are applied.
--HG--
branch : trunk
2010-07-26 16:08:55 +02:00
Shauren f3e97bfaae Fixed ticking of periodic auras when m_periodicTimer for some reason became negative
--HG--
branch : trunk
2010-07-26 14:27:22 +02:00
Shauren 5404d61e01 Line endings
--HG--
branch : trunk
2010-07-26 14:26:53 +02:00
Supabad dbacf82a95 Update Zul Farrak, add pyramid event. thanks to totoro requires db support
--HG--
branch : trunk
2010-07-26 11:08:44 +02:00
QAston cce34d4950 *Fix crashes in boss_kiljaeden script.
--HG--
branch : trunk
2010-07-25 21:50:13 +02:00
click 33e079489b Set flag for offhand melee spells to allow proper triggering of weapon-specific effects (fix by Lynx3d)
--HG--
branch : trunk
2010-07-25 17:06:12 +02:00
QAston fce1f5b014 *Extend API of SpellScript by Dest and Damage/Heal setters and getters.
*Make some SpellScript function names shorter.

--HG--
branch : trunk
2010-07-25 16:23:57 +02:00
QAston 7308c112bb *Add some more comments to SpellScript methods
*Remove forgotten error log

--HG--
branch : trunk
2010-07-25 02:05:12 +02:00
QAston cdd56dc2b6 *Really fix *nix build. Thanks to Visagalis for testing.
--HG--
branch : trunk
2010-07-25 00:36:32 +02:00
QAston 0df91a8f9e *Remove accidently added file and fix build on some *nix configurations.
--HG--
branch : trunk
2010-07-24 23:58:23 +02:00
QAston 2352fc7cdf *Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.
*Add hook for handling spell effects in new scripting system.

--HG--
branch : trunk
2010-07-24 22:41:42 +02:00
Shauren 687cd83bdd Fixed Thrill of the Hunt not restoring mana when Explosive Shot crits
Closes issue #2221.

--HG--
branch : trunk
2010-07-24 22:14:23 +02:00
Shauren 32ceff1267 Modified spell_scripts table, it is now possible to add different scripts for each spell effect
Allow SPELL_EFFECT_DUMMY spells to use spell_scripts

--HG--
branch : trunk
2010-07-24 21:51:25 +02:00
click 8c76ea2f7c Ensure that Scatter Shot does not share diminishing returns with other spells
Closes issue 3013

--HG--
branch : trunk
2010-07-24 07:19:59 +02:00
Xanadu fead3738ac Fixed trauma/mangle stacking. Fixes issue #1460.
--HG--
branch : trunk
2010-07-24 05:51:19 +02:00
click 8df1dba022 Fix: Do not ignore CD for Hunter-based triggered spells (and thanks to QAston for the spell-lesson)
Fixes 1155

--HG--
branch : trunk
2010-07-24 05:12:36 +02:00
click 2a3df94bca Allow the full raidgroup to uses meetingstones, not just a single subgroup (blizzlike) - thanks to Silinoron!
--HG--
branch : trunk
2010-07-24 04:50:35 +02:00
click ad1ad4f220 Fix charactercleaning of talents
+ apply some codestyling and new headers

--HG--
branch : trunk
2010-07-24 04:16:23 +02:00
XTZGZoReX f5c1bbbd33 Fix naming in config files.
--HG--
branch : trunk
2010-07-23 22:01:19 +02:00
click 854464242d Fix wrong spell_bonus_data entry for Priests : Mind Flay (15407) - thanks to n4rk0 and filip.havlicek
Closes issue 2351

--HG--
branch : trunk
2010-07-23 21:58:13 +02:00
Shauren 6d6c82de64 Build is fixed NOW
... guess you cant trust VS to do all things 100% properly

--HG--
branch : trunk
2010-07-23 21:20:15 +02:00
Shauren 8c42a26045 Proper fix for windows build
--HG--
branch : trunk
2010-07-23 21:16:04 +02:00
teacher 79e1918e4d Moved old sql files to /3.3.35a_old subdir.
--HG--
branch : trunk
2010-07-23 14:00:25 +02:00
Shauren ca9a8ac134 This should not have been commited
--HG--
branch : trunk
2010-07-23 13:36:39 +02:00
Shauren 0f71347d58 Fixed windows project files - added SOAP
Added project file for SOAP
Applied Trinity coding standards to TCSoap files

--HG--
branch : trunk
2010-07-23 11:27:04 +02:00
click 3f9ea75bfa Add SOAP-implementation (based on Benjys patch and adapted for latest core by xk1)
--HG--
branch : trunk
2010-07-23 09:26:23 +02:00
click 1c97876bcd Remove defunct handling of RemoteAccess console on/off (it's handled in config)
--HG--
branch : trunk
2010-07-23 08:09:50 +02:00
click 50a07882d9 [mq]: soap
--HG--
branch : trunk
2010-07-23 06:57:12 +02:00
Shauren 903a3cbe76 Shaman totem models are now different depending on race
--HG--
branch : trunk
2010-07-22 17:31:27 +02:00
click 31956e06b8 Add missing CheckStableMaster() functions for SPELL_AURA_OPEN_STABLE-implementation
- casting Call Stabled Pet opens stable-window, with proper updating

--HG--
branch : trunk
2010-07-22 14:32:48 +02:00
Shauren a23f4a0f45 sigh, i did the same compile error mistake
--HG--
branch : trunk
2010-07-22 13:02:47 +02:00
Shauren f03d5a874b Add proper check to EffectQuestComplete preventing completion of quest if we already did that
--HG--
branch : trunk
2010-07-22 13:01:33 +02:00
QAston 34b75bca95 *Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.
--HG--
branch : trunk
2010-07-22 12:56:32 +02:00
QAston 002e6e1029 *Remove not needed dummy effect handler for spell 28006 - by azazel_kon
*Add CanCompleteQuest in Spell::EffectQuestComplete - thanks to azazel_kon for research.
*Fixes issue #3011

--HG--
branch : trunk
2010-07-22 12:48:11 +02:00
QAston 13a2a1afc6 *Fix amount calculation for spell effect with EffectDieSides set to 0.
--HG--
branch : trunk
2010-07-22 12:21:11 +02:00
teacher 50e459b5c5 Proper name for my previous sql update. Sorry for wasting rev numbers.
--HG--
branch : trunk
2010-07-22 12:19:31 +02:00
Shauren cab2f7bad1 Fix new character delete system. Those queries were not supposed to be there.
patch by Az@zel

--HG--
branch : trunk
2010-07-22 12:16:47 +02:00
teacher fa771560a8 Added placeholder for serverside spell for future development.
--HG--
branch : trunk
2010-07-22 12:16:08 +02:00
teacher da84793023 Fixes import errors (updated insert statements to new table structures) to world_database.sql.
Some random Trinity standards in sql syntax.

--HG--
branch : trunk
2010-07-22 11:44:09 +02:00
QAston 543bba9949 *Implement SPELL_AURA_OPEN_STABLE(292) - original patch by Ceris, modified by VladimirMangos
*Improvements in error messaging for stable related opcodes - by VladimirMangos

--HG--
branch : trunk
2010-07-22 03:12:28 +02:00
Shauren 5995a8ec1d Change order of loading for disable system
--HG--
branch : trunk
2010-07-21 20:08:54 +02:00
click 4d09046d54 Modify pet leveling-logic slightly, making sure it'll pass up 5 FULL levels when tamed/unstabled
+ set XP to 0 if dropped DOWN to playerlevel (antihack with no excess XP allowed, thank you!)
Disclaimer: No pets were harmed (much) during these changes - no need to call PETA!

--HG--
branch : trunk
2010-07-21 17:24:51 +02:00
Shauren 88ab38e9c8 Fixed my own stupid mistake
--HG--
branch : trunk
2010-07-21 16:35:36 +02:00
Shauren 5689fb43c1 Removed leftovers in AccessRequirement
--HG--
branch : trunk
2010-07-21 15:55:16 +02:00
click 66adaf5825 Fix: Make stabled pets follow official regulations for levelling when taken out of stabled mode:
If the pet is more than five levels below the hunter, then as soon as it's removed from the stable it will level up to be exactly five levels below the hunter.

--HG--
branch : trunk
2010-07-21 15:49:47 +02:00
Shauren 04fd9ac4ce Don't allow cancelling passive auras by client
--HG--
branch : trunk
2010-07-21 14:48:44 +02:00
Shauren 14b6a68857 Added new spell disable flag - core will not check if that spell exists in dbc, used for blizz deprecated items/quests
Fixed loading of access_requirement

--HG--
branch : trunk
2010-07-21 15:17:29 +02:00
click 19ed86ef30 Fix compile under *nix when not using PCH
--HG--
branch : trunk
2010-07-21 15:06:05 +02:00
teacher 7ad325e90f Added forgotten changes to world_database.sql for disable system.
--HG--
branch : trunk
2010-07-21 13:30:26 +02:00
click f7cb0347e7 Update core defaults for vmap-enabling (missing in rc3fa907ec3)
--HG--
branch : trunk
2010-07-21 12:41:21 +02:00
click 48141a142f Remove possible memleak with lingering outdoor pvp capturepoints - patch by ge0rg
--HG--
branch : trunk
2010-07-21 12:39:51 +02:00
Shauren 6a539270ec Added global disable system and moved all disable fields/tables/configs into it
NOTE: instance disables were not converted for new system! if you had some then you need to fix that using new system

--HG--
branch : trunk
2010-07-21 12:14:23 +02:00
Xanadu 0bda7fd361 Enable VMaps by default.
--HG--
branch : trunk
2010-07-21 06:44:41 +02:00
QAston dd89c54c6e *Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
thenecromancer 1944cd17a1 Merge
--HG--
branch : trunk
2010-07-21 01:43:18 +02:00
thenecromancer 389f6084c9 Use unified code for adding remaining DoT damage to some talents.
--HG--
branch : trunk
2010-07-21 01:42:02 +02:00
click e4a008ca75 Branch merge
--HG--
branch : trunk
2010-07-21 01:35:57 +02:00
thenecromancer a94afe82ca Small improvement in spell mechanic check (do not include effect mechanic in mask when there's no associated effect)
Fixes issue #63

--HG--
branch : trunk
2010-07-21 01:30:25 +02:00
click 4484b75b8f Fix: Warlock Drain Soul effect - use correct spell for soulshard creation (fix by manisamja, thanks ogeraisi for testing)
Closes issue 1931

--HG--
branch : trunk
2010-07-21 01:28:39 +02:00
thenecromancer a71d11149f Make passive auras always visible when they've got some area effect.
--HG--
branch : trunk
2010-07-21 01:22:52 +02:00
thenecromancer c9860e3b9f Some spells with special proc state, some talents like it
--HG--
branch : trunk
2010-07-21 01:15:27 +02:00
thenecromancer 6ca2aa0dd7 Typo in my original code (that bool should be used).
--HG--
branch : trunk
2010-07-21 01:03:44 +02:00
thenecromancer afa27d1dbf Some fixes to proc events
* Always pass up some aura types, regardless of triggered state ( this might be CC effects touched by triggered spells )
* Allow defensive procs on Full block
* Allow defensive procs to trigger from states with PROC_EX_INTERNAL_REQ_FAMILY ( I don't remmember what that one fixes :))

--HG--
branch : trunk
2010-07-21 00:55:27 +02:00
QAston c0f9ef6059 *Implement SPELL_EFFECT_CREATE_TAMED_PET(153).
--HG--
branch : trunk
2010-07-20 22:55:28 +02:00
Shauren 66e068436b Fixed item duplication exploit
Closes issue #3035.

--HG--
branch : trunk
2010-07-20 21:37:15 +02:00
QAston a7c52864b4 *Implement SPELL_EFFECT_DISCOVER_TAXI(154).
--HG--
branch : trunk
2010-07-20 18:27:18 +02:00
QAston b59b21fa69 *Implement SPELL_EFFECT_QUEST_START (150).
--HG--
branch : trunk
2010-07-20 16:11:49 +02:00
Xanadu fdc4adbfe1 * Returned CMakeLists.txt misplaced in the merge. Thanks to click for spotting it.
* Deleted some files that also shouldn't have been there.

--HG--
branch : trunk
rename : sql/tools/CMakeLists.txt => sql/CMakeLists.txt
2010-07-20 06:53:27 +02:00
Xanadu 37c79360b4 Moved SpellEffects.cpp where it belongs.
--HG--
branch : trunk
rename : src/server/game/Spells/Auras/SpellEffects.cpp => src/server/game/Spells/SpellEffects.cpp
2010-07-20 05:21:15 +02:00
Xanadu 4e62dfb21a Merge
--HG--
branch : trunk
2010-07-20 04:35:04 +02:00
QAston 6d54f02bb4 *Implement SPELL_EFFECT_REMOVE_AURA(164)
*Rename SPELL_EFFECT_KNOCK_BACK_2 to SPELL_EFFECT_KNOCK_BACK_DEST

--HG--
branch : trunk
2010-07-20 04:29:17 +02:00
Xanadu 79622802f3 Merge. Revision history for source files should be all back now.
--HG--
branch : trunk
rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-07-20 02:49:28 +02:00
QAston f906976837 *Remove assertion from packet handler. Assertions should not be put in such places because we can't trust clients nor network.
*Do not allow to charm mounted units.

--HG--
branch : trunk
2010-07-20 01:42:14 +02:00
QAston b5f7ac86ea *Implement SPELL_EFFECT_FORCE_CAST_WITH_VALUE(141).
--HG--
branch : trunk
2010-07-19 22:52:21 +02:00
Shauren 6a9e6f258d Remove 2 unused files
--HG--
branch : trunk
2010-07-19 21:40:34 +02:00
QAston 7eaaa06375 *Rename SPELL_EFFECT_JUMP2 to SPELL_EFFECT_JUMP_DEST, split the handler of effect from SPELL_EFFECT_JUMP handler
--HG--
branch : trunk
2010-07-19 21:24:09 +02:00
QAston b1fab8caaf *Correct typo in CastSpeedSlow spellgroup - by tassader1000, thanks azazel_kon for sql
*Fix a compile typo in prev commit.

--HG--
branch : trunk
2010-07-19 19:28:54 +02:00
QAston e1e16310ec *Rename SPELL_EFFECT_CHARGE_2 to SPELL_EFFECT_CHARGE_DEST, fix its implementation.
--HG--
branch : trunk
2010-07-19 19:22:05 +02:00
teacher 07b8d33869 Typo in previous sql update (so lame of me...).
--HG--
branch : trunk
2010-07-19 18:35:29 +02:00
teacher e79355cd99 Proper aura values for previous spell place holder (thank you QAston for the little lesson).
--HG--
branch : trunk
2010-07-19 18:14:04 +02:00
teacher 21ccec8500 Added trigger effect for Blood Oath Aura for Quest "Truce?" (by Svannon)
Added serverside spell place holder for future development.
Better syntax for a recent sql update (no need to re-import it).

--HG--
branch : trunk
2010-07-19 17:33:22 +02:00
click ba36f1eb23 Clean up old (and partially unused) Aggro() function and use EnterCombat() instead + fix some minor enum-typos (INTURRUPT -> INTERRUPT)
(fix by Azazel)

--HG--
branch : trunk
2010-07-19 14:17:30 +02:00
click 84c6fa001c Allow HOT/DOT-stacking for spells with PERIODIC_DUMMY spellauras (QAston working as a teacher)
Closes issue 2645

--HG--
branch : trunk
2010-07-19 13:57:28 +02:00