VladimirMangos
d2dadbcb99
[8217] Implement proper priority in effect selection at talent 17962 cast.
2009-07-20 08:17:30 +04:00
rechapa79
680ab810e0
[8216] More fixes in spell 47897 and talent 17962 and ranks work.
...
* Implement DoT apply for 47897 and ranks.
* Implement propertly aura state update at add/remove 47897/348 and ranks
* Update checks for 29722 and ranks for bonus damage
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 07:26:19 +04:00
tlexii
f1b11860f6
[8214] Implement apply glyph 42454 to talent 17962.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 06:18:45 +04:00
Ungaminga
eba34304ea
[8213] Update code for talent 17962.
...
* Fixed place, basic dependent from 2 auras type at target and damage calculation.
* Avoid double apply spell bonus from original effect and talent self.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This is first patch in series for resolve all problem suggested by different authors.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 06:14:57 +04:00
VladimirMangos
9c91796443
[8197] Use more similar code for triggered and precast spells.
...
Also better error reporting at not existed spells.
Clear use in comments for this 2 dependent cast ways.
2009-07-18 21:30:11 +04:00
evilstar
49b201e22b
[8196] Implement item 44012 spell effects.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-18 19:39:30 +04:00
VladimirMangos
050962d9fd
[8195] Add spell check data for dummy effect tail...
2009-07-18 06:16:50 +04:00
VladimirMangos
745f4de173
[8186] More spell check data.
2009-07-16 05:57:20 +04:00
VladimirMangos
9a0abf0e01
[8183] Some gameobject despanw related fixes
...
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use.
* Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers.
* Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases.
2009-07-15 06:32:08 +04:00
Ambal
58209ee79a
[8182] Store and use Map* pointer in WorldObject instead map ids for speedup
...
Also some code logic cleanups.
Changes let make more cleanups in base map access and other places,
but this chnages not inlcuded in patch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-15 02:13:52 +04:00
VladimirMangos
58a292e99c
[8180] Drop dead code for old version 28730. It not have another way to work (from 3.0.2)
2009-07-14 05:31:12 +04:00
VladimirMangos
1363605cfc
[8179] Fill spell_check table by data for dummy effect (0 spell family), some code cleanups.
2009-07-14 05:13:29 +04:00
VladimirMangos
2dee7750e4
[8173] Fixes for 1822 and ranks base at spell_check detection
...
* Update AP bonus per tick to 0.18 as expected in 3.0.2 and later.
* Better spell selction to avoid unrelated spells for AP bonuses
2009-07-13 15:58:37 +04:00
VladimirMangos
2ed6642539
[8172] Drop dead code for 33878/33876 and ranks.
...
Detected by spell_check: not have now dummy aura but have
SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCEN for proper mechanic.
2009-07-13 15:03:09 +04:00
VladimirMangos
d09615b2e5
[8171] Restore work double damage chance for spell 35290 and ranks.
...
It has been broken at client switch and detected by spell_check data.
2009-07-13 04:31:44 +04:00
Lutik
04a5a674d2
[8164] Implement engineering boots permanently enchantment 55016 effect.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-12 01:55:44 +04:00
hunuza
38197b539f
[8137] Init player display id + native display id on login.
...
* Temporary reset of display id on save no longer needed.
* Players always have the right model for their gender.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-07-06 18:18:01 +02:00
ApoC
a2d9467428
[8129] More work on spell 20243
...
* No need to loop over rest of auras if correct one found
* Fixed spell not applied 58567
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 20:08:44 +02:00
ApoC
572c6d99a7
[8127] Fixed detection of spell 20243
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 19:08:35 +02:00
ApoC
60fe792866
[8125] Optimized spell cooldowns remove.
...
Traverse only active cooldowns instead of whole player spell map.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:10 +02:00
ApoC
24f13bdcb7
[8117] Fixed spell 6343 and ranks, now getting bonus from AP
...
signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 21:26:56 +02:00
ApoC
aab121fcb2
[8111] Implemented support for implicit specify owner when initializing stats for summoned pets.
...
* Speedup of summoning pets (no need to seach owner by guid)
* Fixed problem that summond pets from NPC had not initialized stats
(pet was not in world in time of stat init thus owner was not found)
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-03 19:28:22 +02:00
ApoC
7d79f8168a
[8096] Fixed dummy effect for 34665
...
* Removed dynamic cast
* Little effect code clean up
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-29 19:39:41 +02:00
VladimirMangos
24ee9c7105
[8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects.
...
Last fix let for example correct charge for flight creatures...
2009-06-29 11:16:27 +04:00
Lightguard
df064ebd9f
[8082] Update Diminishing Returns.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-27 11:32:52 +04:00
VladimirMangos
7175007aba
[8070] Restore spell casting loot items and recipes.
...
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells)
Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0
Note: required DB support in `spell_loot_termplate`
2009-06-23 03:46:27 +04:00
bobaz
d49d7e74f9
[8063] Fix summon water elemental.
...
Summon type changed in 3.1.0.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 15:13:33 +02:00
hunuza
e2d3a68a48
[8061] Fixed 12834 and ranks stacking behaviour.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 13:17:45 +02:00
hunuza
7448aaa37e
[8060] Fix 56314 and ranks.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
VladimirMangos
3e2b810376
[8041] Avoid send talent info many times at loading. Small cleanups.
2009-06-18 22:01:34 +04:00
NoFantasy
68848314e2
[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 19:11:57 +04:00
VladimirMangos
0b4c37f751
[8035] Return found guardian in search function. Update caller.
2009-06-17 19:37:08 +04:00
Ambal
b76c4c2f3c
[8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-16 12:47:02 +04:00
VladimirMangos
309ac7ead0
[8023] Move guardian list at Unit level and unsummon guardians at owner-creature death/unload.
...
This expected to fix well known crash at intances unload with creature with summoned guardians.
Note: this "fix" special case but not original source of problem in general.
2009-06-15 23:46:13 +04:00
nos4r2zod
82d3e2ae7d
[8011] Send energize packets in correct order to avoid strange client behaviour.
...
If you send SMSG_SPELLENERGIZELOG after SMSG_POWER_UPDATE client shows mana gain twice.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 12:06:50 +02:00
tomrus88
b9b2e254b5
Merge branch 'master' into 310
2009-06-03 16:03:44 +04:00
NoFantasy
be6e3923d1
[7948] Use SetFaction instead explcit field set, other cleanups.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-03 15:35:33 +04:00
tomrus88
cffbb8661b
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
megamage
e1927fa4f8
[7936] Fixed low chance but possible crash at creature tame.
...
Thanks to marry521 for patch preparing to mangos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 11:19:22 +04:00
tomrus88
cae3f0a532
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
VladimirMangos
c678263bb0
[7921] Set pet and for creature owner in Spell::EffectSummon similar other summon effects.
2009-05-31 04:35:22 +04:00
VladimirMangos
2a27a44e2a
[7918] Improve portability in work with uint64 string format specifiers and in code literals.
...
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +04:00
tomrus88
e454cb693d
Merge branch 'master' into 310
...
Conflicts:
src/game/GameObject.h
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/QueryHandler.cpp
src/game/QuestHandler.cpp
src/game/SkillHandler.cpp
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/Unit.cpp
src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
tomrus88
afd82229d7
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
VladimirMangos
5616ef173b
[7881] More types with random generated item at recipe casting. Cleanups code.
...
Real resulting items creating required DB support (helper error message outputed at loading)
2009-05-23 18:51:39 +04:00
VladimirMangos
f72a8bc6dc
Merge commit 'origin/master' into 310
2009-05-23 01:55:33 +04:00
VladimirMangos
bc4611e8c0
[7877] Correctly set totem PvP state at loading and owner PvP state change, including GM totem case.
...
* Also set PvP state in proper way at pet loading if owner in PvP state.
2009-05-23 00:37:49 +04:00
ApoC
e0e5ed7bd8
[7876] Implemented dummy effect and special target selection for 52759.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 20:34:58 +02:00
Astellar
0bd7177b11
[7872] Restore work one shaman totem
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-22 14:47:51 +04:00