Commit graph

455 commits

Author SHA1 Message Date
VladimirMangos
49b88a14a9 For check allowed in dead state auras apply use IsDeathPersistentSpell instead hack code. 2009-08-04 23:42:45 +04:00
VladimirMangos
19ccf59cd4 [8301] Restore work 1122 broken after switch.
Also small cleanup in summon code: move statue summon cal from EffectSummonGuardian
to common summon type selector code.
2009-08-03 16:05:31 +04:00
Lightguard
97a8114e44 [8296] Restore mana to caster instead target at specific effect of 53209.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 11:06:29 +04:00
VladimirMangos
48567469e1 [8292] Fixed healing part of spell 19505 and ranks (in fact from rank 2) 2009-08-02 01:38:50 +04:00
Lightguard
f27a29faef [8290] Fixed pet action bar lost at pet revive.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 21:48:50 +04:00
tomrus88
b99565ef42 Merge commit 'origin/master' into 320 2009-08-01 09:22:30 +04:00
VladimirMangos
3fc547e6e6 [8283] Implement 3.x way work for double damage from 35290 and ranks 2009-07-31 17:09:54 +04:00
tomrus88
be8eaf4e46 Just merge commit 'origin/master' into 320
Conflicts:
	src/game/MiscHandler.cpp
2009-07-28 17:05:38 +04:00
VladimirMangos
8d7f6e5e0a [8266] Move percent spells with flat energize effect spells to effect code.
* This is fix talent 51521 and ranks.
* And replace hardcoded percent for talent 31876 and ranks.
2009-07-28 16:53:55 +04:00
Lutik
f0a878bf1e [8265] Add boss spells 64422 and 64688 to divided damage spells list.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 14:29:14 +04:00
Ambal
64f11bedf7 [8252] Move DB scripting code from global World to Map.
This one more step to pre-map events proccesing and parallel in future.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 12:20:59 +04:00
tomrus88
299f40ac0c Merge commit 'origin/master' into 320 2009-07-26 10:52:21 +04:00
Sarjuuk
75510992a9 [8245] Implement glyph 40906.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-25 07:18:25 +04:00
VladimirMangos
ae2f25ce64 [8234] Implement support for explcit discovery spell 64323. Also better checks at loading. 2009-07-23 17:14:31 +04:00
raftom
c4ceafcf56 [8228] Implement talent 49203 (main functionality).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 10:03:25 +04:00
tomrus88
4c709772c1 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
	src/game/Totem.cpp
2009-07-21 08:22:30 +04:00
tomrus88
a0efd034ca [8225] Some fixes from 320 branch.
(backported from commit 4bdcf42)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-21 05:30:58 +04:00
freghar
cd17ada2e5 [8221] Removed trailing whitespaces
With excluded dep/ - as usual.

Signed-off-by: freghar <compmancz@gmail.com>
2009-07-20 17:53:14 +02:00
evilstar
0a7f878eb8 [8220] Implement SPELL_EFFECT_PLAY_MUSIC(132)
Thanks to GriffonHeart for help in reseach.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 13:20:46 +04:00
nos4r2zod
a6b1334ba1 [8219] Avoid hunter traps proccing when deleted at replace by another trap.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 12:36:08 +04:00
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
tomrus88
02f9416963 Merge commit 'origin/master' into 320 2009-07-16 13:23:03 +04:00
VladimirMangos
745f4de173 [8186] More spell check data. 2009-07-16 05:57:20 +04:00
tomrus88
1a47420fe8 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Map.cpp
	src/game/MapInstanced.cpp
	src/game/Player.cpp
	src/game/SpellEffects.cpp
	src/game/Totem.cpp
2009-07-15 09:40:13 +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
tomrus88
87930a6d07 Merge commit 'origin/master' into 320 2009-07-08 22:08:09 +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
tomrus88
54cc2dcb53 Merge commit 'origin/master' into 320 2009-07-05 13:19:54 +04: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
tomrus88
41b400dac9 Fix 2009-07-02 09:21:43 +04:00
ApoC
2d33a8d220 [8096] Fixed dummy effect for 34665
* Removed dynamic cast
* Little effect code clean up

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
VladimirMangos
cceb334533 [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-07-02 09:18:33 +04:00
Lightguard
7eef6d2638 [8082] Update Diminishing Returns.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:28 +04:00