Commit Graph
510 Commits
Author SHA1 Message Date
Shauren 8898db8b27 Core: Corrected NULL usage, it should only be used with pointers, not integers 2011-04-23 15:53:48 +02:00
Machiavelli c9a917ad79 Core/Spells: Add a 'as-generic-as-possible' temporary fix for SummonProperties 2081 (Mechanical Dragonling, Arcanite Dragonling, Mithril Dragonling). For them, basepoints != amount of entities to spawn. Needs more research for the proper value
Small cleanup in affected function.
2011-04-22 12:05:15 +02:00
dr.tenma 5efda81319 Core/Spells: Fix Nature's Grasp proccing Entangling Roots when moving.
Closes #202
Closes #275

Signed-off-by: Machiavelli <[email protected]>
2011-04-22 11:47:26 +02:00
Shocker 2b1f6e29a2 Core/Spells: Fix Diminishing Returns for temporary pets (Water Elemental, Feral Spirit, etc) 2011-04-20 15:33:40 +03:00
SilverIce 18112df4fe Core/DynamicObject: Research dynamicobject types, added DynamicObjectType enum 2011-04-19 15:14:50 +02:00
kaelima 6ad2278ff5 Core/Spells: Move cloning spells to SpellScript 2011-04-17 16:44:45 +03:00
SimonDMII e38634186c Core/Spells: fix Global Cooldown reset on spell cast interrupt. 2011-04-11 16:35:31 +06:00
Shauren 64caf2cdf2 Core/Spells: Add default handler for apply aura spell effect when both ImplicitTargets are 0, removed unused structure 2011-04-09 19:57:32 +02:00
ille a2bcb9425c Core/Spells: Fix cloning spells
Closes #1162
2011-04-08 23:16:57 +03:00
Shauren 0ae5aca55e Core/Spells: Apply only 1.5 second cooldown to DK runes when spell misses its target 2011-04-07 23:13:35 +02:00
Shauren 24240430ad Scripts/Icecrown Citadel: Fixed Professor Putricide ooze adds behavior (cannot taunt/aggro anymore), also removed targeting dbc hack and scripted the spell properly 2011-04-06 21:21:45 +02:00
Shocker ba80f2fbdc Core/Spells: Fix area target search for spells with SPELL_ATTR2_ALLOW_DEAD_TARGET 2011-04-06 17:00:05 +03:00
Supabad 368818a810 Core/Spells: replace spell Symbol Of Life from SpellEffects to SpellScript 2011-04-06 11:34:50 +02:00
Shauren 24dae7dd9a Core/Spells: Fixed Sigil of the Frozen Conscience affecting Icy Talons talent 2011-03-31 23:44:39 +02:00
Shauren 839680a6e9 Revert "Core/Spells: Check Line of Sight every channel spell tick"
This reverts commit 9194625466.

This is not blizzlike
2011-03-23 13:48:46 +01:00
Shauren 9194625466 Core/Spells: Check Line of Sight every channel spell tick 2011-03-22 23:56:57 +01:00
Shauren 8f565b7e13 Core/Auras: Do not save Incanter's Absorbtion proc to database, its unique way of stacking causes problems and aborts entire save transaction 2011-03-22 21:51:39 +01:00
Shauren d9c050437e Core/Spells: Fixed exploit allowing people to keep reagents when enchanting in trade
Closes #1012
2011-03-22 16:09:55 +01:00
Shauren 2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
runningnak3d 28c264402b Revert "Core/Spells: Small cleanup of SpellMgr"
This reverts commit 6595364227.

* While this does need cleanup, instance specific spells should stay
* grouped together.
2011-03-14 08:38:20 -06:00
Koord 6595364227 Core/Spells: Small cleanup of SpellMgr 2011-03-14 08:25:27 -06:00
runningnak3d 3db0029f66 Core/Spells: Force spell 51590 (Toss Ice Boulder) to only affect one
target.
2011-03-14 07:33:46 -06:00
Supabad 40d1e61566 Scripts/Ulduar: Remove known hacks from leviathan, create workaround for shutdown event.
Added missing script to db and core.
2011-03-13 13:00:09 +01:00
Shauren 3ba47e529b Core/Spells: Attempts at summoning player to an instance will result in fail if the targeted player is saved to another instance instead of summoning him at summoner's position in a different instance 2011-03-09 23:07:50 +01:00
Shauren 9710c41a40 More warning fixes 2011-03-08 19:11:02 +01:00
Shauren e5347a3bda Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Machiavelli e1ac75afe2 Core/Spells: Proper implementation of SPELL_EFFECT_PLAYER_NOTIFICATION (131) - should send SMSG_PLAY_SOUND with EffectMiscValue as soundId.
Research by Kaelima
2011-03-07 21:13:18 +01:00
GWRde 22703bc58d Core/Spells: Fixed Glyph of Shadow Word: Pain 2011-03-07 19:36:34 +01:00
Shauren 36f848a4c2 Scripts/Icecrown Citadel: Only one Mutated Abomination can exist during Professor Putricide encounter
Scripts/Spells: Added blizzlike error messages for certain spells
Scripts/Items: Removed obsolete scripts
2011-03-04 23:53:11 +01:00
Shauren 7120f1eff8 Core/Spells:
* Implemented on CheckCast spell script hook
* Added possibility to send SPELL_FAILED_CUSTOM_ERROR and added enum with all possible options for it

Scripts/Spells:
* Added example script for CheckCast hook with SPELL_FAILED_CUSTOM_ERROR (profession research and Book of Glyph Mastery)
2011-03-04 21:19:43 +01:00
Machiavelli a9582964d3 Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.
Closes #805
2011-03-04 21:17:06 +01:00
Shocker 43240f8c3d Core/Spells: Correctly give skill bonus provided by spells on cast, fixes Mining/Herbalism (and similar) exploits that allowed players to mine/gather anything with any skill 2011-03-01 17:47:53 +02:00
Malcrom 1a8c3f9dbe Core/Spells: Implemented EffectTriggerSpell 36325 for spell 36350. 2011-03-01 00:28:03 -03:00
Machiavelli 683cea9e83 Core/Vehicles:
- Grab correct npc entry from npc_spellclick_spells in case of player vehicle. Fixes DB errors added in my previous changeset
- Allow aura's with SPELL_AURA_CONTROL_VEHICLE to stack if there are enough free seats, even if spellIds are identical.
- Fix a possible infinite loop. Thanks to manuel for spotting
2011-02-27 03:58:41 +01:00
Machiavelli 3ac80ee3a4 Core/Vehicles: Correct usage of npc_spellclick_spells instead of blatant hacks for vehicle entry.
Note: This may break a few vehicles, but only due to the absence of proper, non-hackish data.
2011-02-26 23:00:09 +01:00
Machiavelli 102c089ab8 Scripts/Kologarn:
- Correct target limitation for Focused Eyebeam
- Correct target selection and limitation for Stone Grip
** Fixes random teleports to the "safe spot" caused by aura unapply when that player wasn't intended as target.
** Stone Grip will only target the main tank if there's no one else in range.
- Despawn Rubbles on encounter reset/complete
- Use elegant MotionMaster::MoveJump instead of NearTeleportTo when releasing Stone Grip target

DB/NPC Templates:
- Add civilian flag for Armsweep Stalker and Rubble Stalker

Other:
- Fix 2011_02_23_2_world_conditions.sql to comply to standards
- Cleanup affected code
2011-02-23 18:17:20 +01:00
Azazel 6a4fd1c780 Core/Spell Mechanics: remove redundant call to AddGlobalCooldown left from previous GCD checks implementation (thanks Machiavelli for spotting)
Core/Logs: fix one more log message for Aokromes
2011-02-22 23:20:21 +06:00
darkstalker 1646f9d91c Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos) 2011-02-22 17:02:47 +06:00
Machiavelli 480517c3be Scripts/Ulduar: Kologarn:
- Correct target selection of Stone Grip
- Correct functionality of Stone Grip (absorb aura, stun, damage, vehicle join, correct removal of the aforementioned when needed, +teleport to platform)
- Blizzlike casters for certain spells, which led to merging arms AI to KologarnsAI.
- Blizzlike timer for Stone Grip
- Fix Rubble spawn on arm death
2011-02-22 04:46:13 +01:00
Machiavelli e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Azazel 4dc1eaa47c Core/Misc: improve error log messages by adding more info. Specially for Aokromes. 2011-02-17 19:47:08 +06:00
Shauren 45095bdffb Scripts/Icecrown Citadel: Added Rotting Frost Giant script 2011-02-15 22:07:40 +01:00
zergtmn 6e217b6e6a Allow AURA_FORCE_MOVE_FORWARD to work on creatures and vehicles. For example, it fixes spell 68284.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-14 19:18:05 -03:00
QAston fe2a848b8f Core/Auras: Temporary fix for Aura::UpdateTargetMap assertion failure. 2011-02-12 11:00:56 +01:00
Shauren bf8e88c0b8 Scripts/Icecrown Citadel: Implemented traps after Deathbringer Saurfang 2011-02-08 17:54:40 +01:00
Shauren dc1b02d35d Scripts/Icecrown Citadel: Added Sindragosa script 2011-02-07 17:21:44 +01:00
QAston 0b2c6426e5 Core/Auras: Add some debug info to trac the reason of Aura::UpdateTargetMap crash. 2011-02-06 14:02:38 +01:00
QAston b5e78bf208 Core/Auras: Move code which uses polymorphism out of Aura constructor. 2011-02-06 13:17:29 +01:00
Shauren 8d5ebded8c Core/Spells: Moved dungeon encounter crediting to scripts 2011-02-04 11:27:02 +01:00
QAston d18193e52d Core/DynamicObjects: Change the way how dynamic objects are bound to their owners, fixes some crashes in Aura::GetOwner. 2011-02-04 00:27:43 +01:00