Commit Graph

176 Commits

Author SHA1 Message Date
Nay
791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01:00
Spp
af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Spp-
33ce07bdde Core: Minor cleanups (here and there)
- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
2011-09-13 14:15:35 +02:00
QAston
7871ead798 Merge pull request 'Fix quest New Recruit(13143) & Fix quest King of the Mountain(13280&13283)' from Kiperr/TrinityCore 2011-09-03 16:44:05 +02:00
QAston
71b9e0d8de Core/Spells: Make mind sear aoe no longet target unit at which caster is channeling the spell. 2011-09-01 09:07:14 +02:00
Kapoeira
5d0a2b6094 Core/Spells: Fix Aspect of the Beast
Closes #462
Closes #2814
2011-08-30 20:24:36 +07:00
Spp-
aa85553bfd Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64
 - Add some info in LFGDungeonEntry
 - Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
QAston
8e392440cf Core/Spells: Fix a regression of 7f30ac5a95 - spells with TARGET_SELECT_CATEGORY_CHANNEL target type (like mind sear) should be triggered by triggering spell caster 2011-08-26 12:39:50 +02:00
Lopin
8ae290c6d1 Core/Spells: Fixed quest Salvaging Life's Strength 2011-08-24 16:45:49 +02:00
Lopin
ededca3311 Core/Spells: Fixed quest Stopping the Spread 2011-08-24 15:57:14 +02:00
QAston
e2d8faea09 Core/Spells: move Cannibalize and Carrion Feeder cast checks to SpellScripts. 2011-08-20 00:30:38 +02:00
Lopin
8166e338ad Core/Logs: Added some useful informations to certain logs, part #1. Requested by Aokromes 2011-08-19 19:17:39 +02:00
Lopin
ce7cc421f5 Core/Spells: Fixed Magic Eater Food. Closes #2619 2011-08-19 13:34:05 +02:00
QAston
a077a26aa5 Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code. 2011-08-16 19:44:18 +02:00
Machiavelli
65a29d1315 Scripts/Spells: Fix a typo in spell_hun_masters_call 2011-08-13 21:46:25 +02:00
Machiavelli
2d3f51e6e5 Core/Spells: Fix Shaman talent Nature's Guardian and rewrite fix for fc52f08. Fixes some spells not triggering. 2011-08-07 21:19:27 +02:00
Machiavelli
77c0ca3112 Core/Spells: Hunter ability Master's Call should not process effects when pet is dead. 2011-08-07 16:12:19 +02:00
Machiavelli
156d491c27 Core/Spells: Add GetTriggeringSpell() method to SpellScript and use it to properly filter server side spell 18350's script. 2011-08-06 19:40:50 +02:00
Machiavelli
fc52f0846e Core/Spells: Fix Soul Preserver trinket 2011-08-01 23:57:16 +02:00
Spp-
fa50c0a464 Fix some warnings here and there 2011-07-27 11:00:39 +02:00
QAston
b0fe236265 Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
tobmaps
a0f1a5c789 Core/Spells: Removed remaining part of old global cooldown handler 2011-07-23 03:30:43 +07:00
Shauren
74e2d981ac Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair 2011-07-22 21:22:05 +02:00
tobmaps
f7737f5660 Core/Spells: Moved part of improved presences code to spell scripts 2011-07-16 00:46:58 +07:00
L30m4nc3r
52afb27efa Core/Misc: Fix typo in Corpse Explosion code
Closes #2310
2011-07-15 18:45:42 +07:00
Shauren
3ea03b0aaf Scripts/Spells: Fixed Shadowmourne after recent changes to auras 2011-07-08 16:44:58 +02:00
QAston
0dc90a2cbb Core/Spells: use spell caster as a target of spells triggered by SPELL_EFFECT_FORCE_CAST 2011-07-07 18:02:59 +02:00
click
f997363c08 Core: Cleaning up hungarian notation - Phase3: pVictim -> victim 2011-07-02 23:50:02 +02:00
click
70115f52f7 Core: Cleaning up hungarian notation - Phase3: pTarget -> target 2011-07-02 23:16:45 +02:00
click
169f5da8c3 Core: Cleaning up hungarian notation - Phase2: pPlayer -> player 2011-07-02 22:52:42 +02:00
click
f91ee24184 Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature 2011-07-02 22:18:03 +02:00
click
a9c9ab0efa Core: Clean up script variables to make variables consistant/standardized, and some additional warning-removals:
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
2011-07-01 03:00:39 +02:00
Spp-
6fd41ae50e Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts 2011-06-30 14:24:56 +02:00
Spp-
1e95341827 Cosmetic: Remove trailing whitespaces 2011-06-30 11:30:36 +02:00
tobmaps
6f0af070c0 Core/Spells: Fix bug with incoming damage reduction by some talent auras when it shouldn't happen 2011-06-30 03:12:35 +07:00
Sarjuuk
14af76672c Core/Vehicles: Fix vehicle scaling basepoint calculation for current known coefficients.
Closes #2144

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-06-28 15:27:00 +02:00
kaelima
9a67aaa8b8 DB/Creature:
- Nuke the hacky column DeathState.
- Removed some hacks from Kologarn script, including some cleanup.
- Removed set deathstate command.

BIG thanks to Malcrom for replacing all creatures that had deathstate with proper dynamicflags/auras.
2011-06-27 20:22:53 +02:00
Sarjuuk
249692b54b Core/Vehicles: Remove vehicle stat scaling hack and implement it properly trough the spell system. NOTE: This does need some further research on coefficients for different vehicles.
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-06-27 14:23:58 +02:00
maanuel
5c0c2ea873 Core/Spells: Fixed spell 62218 (Launch) used by npc 34793 (Catapult) in Isle of Conquest. 2011-06-26 16:03:50 -03:00
Shocker
9c70f586e0 Core/Misc: Build fix 2011-06-24 22:41:13 +03:00
Shocker
3de42791ee Core/Spells: Partial revert of 5ddf90c5fe, use checkcast hook for disallowing spells to be casted directly
Closes #2108
2011-06-24 21:56:37 +03:00
click
713e2df3f7 Core/Spells: remove the Shroud of Death from the spell-script list as well - thanks Rasmusik for reminding me 2011-06-23 18:41:34 +02:00
click
5052e39b8c Core/Spells: Remove now deprecated spellscript for Shroud of Death 2011-06-23 18:15:13 +02:00
tobmaps
a02d145a17 Core/Spells: Prevent hit main target by 5 yard AOE effect of Starfall
Closes #1186
Closes #2085
2011-06-21 19:45:36 +07:00
Shocker
13b34a5d72 Scripts/Quests: Implement quest 12659 (Scalps!)
Thanks Malcrom for condition

Closes #917
2011-06-12 19:46:33 +03:00
click
158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
QAston
677cbbb93a Scripts: Fix some crashes occuring due to unsafe use of AuraScript::GetCaster() method.
There's "returns unit which casted the aura or NULL if not avalible" written in description of the method, but who cares...
2011-06-11 12:42:01 +02:00
Shauren
92af66e0a6 Scripts/Spells: Scripted Magic Rooster mount
Closes #1704
Closes #1733
2011-06-03 22:09:55 +02:00
QAston
506fedcfea Changes missing from last commit. 2011-05-31 20:28:36 +02:00
QAston
42a20f14ef Core/Auras: Use existing aura object on aura reapply/stack increase instead of creating a new one.
You can hook on reapply/stack event by checking for AURA_EFFECT_HANDLE_REAPPLY aura handler mode, AURA_EFFECT_HANDLE_REAL is now not triggered on aura refresh/stack.
2011-05-29 13:18:47 +02:00