Kaelima
a79ea3dcdf
Merge pull request #4672 from Subv/fix004
...
Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER
2012-01-06 06:37:20 -08:00
Subv2112
d3b1c51b6e
Core/Gossips: Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER, closes #4488
...
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-05 21:41:17 -05:00
Shocker
00e1de4c0a
Merge pull request #3478 from Havenard/fix0011
...
Core/Spells: Fix Divine Storm
2012-01-04 13:35:29 -08:00
kandera
34c437e973
[Core/Spells] Fix Blood Tap (finally fixes full spell)
...
ignore removal of aura provided by Souler thanks!
2012-01-04 11:50:31 -05:00
zwerg
5884f4be31
Core/Spells: Add barfing to Spell::EffectInebriate.
...
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com >
2012-01-03 13:15:33 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
QAston
eecc4b58a7
Core/Spells: Use better check for target type in Spell::EffectSendEvent - SpellEffect::GetProvidedTargetMask() is much more accurate than hardcoded dbc index.
2011-12-23 23:52:22 +01:00
megamage
8cf2062c1f
Update grid system. Try to fix some crashes and transport passengers (now they are despawned after a while).
2011-12-20 17:07:09 -05:00
Machiavelli
7e94cae867
Merge pull request #4260 from wilds/fix_charge
...
Core/Spells: fix charge and chargedest effect through textures
2011-12-16 04:10:24 -08:00
kaelima
929ad95525
Core/Spells: Fixed Envenom damage
...
- The players AP should stack with combo points, not deadly poison stack.
+ some cleanup
Thanks @Cepox (and some others at google code issue tracker)
Closes #2929
2011-12-16 08:15:55 +01:00
elecyb
af32d0f616
Core/Spells: Fixed Healing Stream Totem bonus and Glyph of Healing Stream Totem
...
Closes #2165
2011-12-11 19:11:22 -03:00
Wilds
65e8ff16ad
Core/Spells: fix charge and chargedest effect through textures
2011-12-10 22:09:48 +01:00
kaelima
39be215811
Core/Protocol: Add debug output when receiving auction house packets.
2011-12-10 16:26:04 +01:00
kaelima
a85ca687eb
Core/Spell: Fixed compile broken in 11fb0beaf0 and renamed _player to player.
2011-12-10 15:40:55 +01:00
kaelima
11fb0beaf0
Core/Misc: Fixed some duplicate checks for player typeid in Unit::Kill and Spell::EffectSummonDeadPet. Also some random cleanup
2011-12-10 13:48:41 +01:00
megamage
5b034ee631
Revert 81fea2d7b5.
2011-11-28 14:34:30 -05:00
megamage
1f70fd2851
Delete DynamicObject if AddToMap fails.
2011-11-28 14:19:29 -05:00
megamage
81fea2d7b5
Fix some memory leak from CreateTamedPetFrom.
2011-11-28 14:10:56 -05:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
Machiavelli
c67af87eda
Core/Spells: Fix SPELL_EFFECT_SEND_EVENT handler being executed more than once when targets != (0, 0). Closes #3934
2011-11-16 19:09:51 +01:00
tobmaps
70aafbda94
Core/Spells: Partially fix RP-GG
2011-11-12 02:36:18 +07:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
tobmaps
8fd7720318
Core/Misc: Rename Spell::CalcCastTime to Spell::GetCastTime as it does not calculate anything
2011-11-05 05:33:52 +07:00
tobmaps
935527eebe
Core/Spells: Use dbc flag to check if channeled spell can be interrupted
...
Closes #2292
2011-11-05 05:21:37 +07:00
tobmaps
37abe2528c
Core/Spells: Remove not needed check added in 9229b878f2
2011-11-03 17:08:30 +07:00
tobmaps
9229b878f2
Core/Spells: Fix Runic Healing/Mana Injector bonus for engineers
2011-11-02 19:23:59 +07:00
tobmaps
c0c6000a44
Core/Misc: Fix spelling typo
2011-11-02 19:13:51 +07:00
ille
5514523a7c
use effectMask to calculate mechanicMask in ModSpellDuration
2011-10-20 18:28:37 +02:00
Liberate
ddec56b3e0
Core/Spells: Fix shadowfiend.
...
Fixes #3285
2011-10-19 23:30:25 +02:00
Liberate
b268b51d0e
Core/Spells: Add Block Value cap to Shield Slam and Shield of Righteousness.
...
Fixes #599
Fixes #2119
2011-10-19 13:00:22 +02:00
Spp
ee69fc940e
Core/Items: Split SetSoulboundTradeable in two functions (Set and Clear)
...
Note: this is mostly for clarify action being done: ClearSoulboundTradeable better than SetSoulboundTradeable(..., ..., false)
2011-10-18 10:44:45 +02:00
Havenard
0e274bdcb7
Fix Divine Storm
...
Fix healing part of Divine Storm, will now work as intented healing up to 3 party or raid members for a total of 25% (or 40% with Glyph) of the damage caused.
Closes #285
2011-10-11 22:32:36 -03:00
megamage
3ba22d0d06
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
2011-10-10 17:39:34 -04:00
megamage
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Shauren
8919b9cb4c
Core/Spells: Fixed typo breaking SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE and SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
2011-10-06 14:22:11 +02:00
Shauren
5d37116ea6
Core/Spells: Allow ProcessEvent hook to run in EffectSendEvent when spell caster is a player
2011-09-30 18:41:30 +02:00
Shauren
da54fb92d5
Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back)
2011-09-30 18:24:12 +02:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
QAston
8dd88fa43c
Core/Spells: fix a typo which caused to display unneeded error message (invalid target) during cast of some spells (like warrior charge).
2011-09-28 18:59:55 +02:00
QAston
a409cc226c
Core/Spells: Fix Vanish's stealth trigger and Demonic Empowerment's invisibility trigger
...
Those spells were failing to pass default effect trigger spell due to their custom implementation (changing triggered_spell_id instead of adding serverside spells with proper targeting).
2011-09-27 00:36:23 +02:00
QAston
e949ad3adb
Core/Spells: spell effect handling improvements
...
* Call spell effect handlers in 4 modes:
- SPELL_EFFECT_HANDLE_LAUNCH - called when spell is launched (cast just finished)
- SPELL_EFFECT_HANDLE_LAUNCH_TARGET - called when spell is launched for each target in spell target map
- SPELL_EFFECT_HANDLE_HIT - called when spell hits its destination
- SPELL_EFFECT_HANDLE_HIT_TARGET - called when spell hits it's target from spell target map
*Correctly implement SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL
*Remove spell system hacks which became obsolete with this commit
Core/SpellScripts:
add OnEffectLaunch, OnEffectLaunchTarget, OnEffectHit, OnEffectHitTarget hooks for new effect handle modes and remove OnEffect hook.
A generic rule of thumb how to update your scripts (will work for nearly all cases) for spell system noobs:
if your spell script used GetHitXXXX function, you need to use OnEffectHitTarget, otherwise use
OnEffectHit
2011-09-25 13:29:50 +02:00
QAston
d01a761f53
Core/Spells: Drop EFFECT_IMPLICIT_TARGET_PET and use EFFECT_IMPLICIT_TARGET_EXPLICIT instead.
2011-09-24 02:02:39 +02:00
Shauren
154c7ce79c
Core/Spells: Fixed Brewfest - Attack Keg spell damage
2011-09-22 20:16:47 +02:00
QAston
c0b1823524
Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget
2011-09-16 23:49:31 +02:00
Shauren
732e27f1e8
Core/Spells: Spells having the same effect types on multiple effects will now select them at the same time (except targets selected by entry) to ensure correct behavior with MaxAffectedTargets use
2011-09-16 11:40:53 +02:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00