Commit graph

342 commits

Author SHA1 Message Date
tomrus88
6f2b9a7e80 Merge commit 'origin/master' into 320 2009-09-14 16:32:59 +04:00
nos4r2zod
d91f2c2c35 [8487] Fixes in paladin seals and related spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 06:08:40 +04:00
nos4r2zod
53c96fc731 [8486] Fixed work some dispel effects that have 0 dispel charges in spell data when expect 1.
This fix work totem effect 52025 in poison part and some scripted and creatures spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 00:08:13 +04:00
VladimirMangos
7974e1ebcb Merge branch 'master' into 320 2009-09-10 05:46:08 +04:00
ApoC
d6e4fc2864 [8472] Fixed argument for KilledMonsterCredit call.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-05 03:24:43 +02:00
ApoC
2a4889e10c [8471] Little correction to prev. commit. Spell effect 90 seems to be kill credit but only for single person.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-05 03:13:35 +02:00
OPenaz
d4e468aa44 [8470] Implemented one more kill credit spell effect.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-05 02:48:05 +02:00
tomrus88
4a8431f581 Merge commit 'origin/master' into 320
Conflicts:
	src/game/DBCStructure.h
	src/game/DBCfmt.h
	src/game/MiscHandler.cpp
	src/game/ObjectMgr.cpp
2009-09-04 21:16:59 +04:00
AlexDereka
a65d3a1560 [8467] Fixed some typos. 2009-09-04 18:52:17 +04:00
tomrus88
2d65ce8b87 Merge commit 'origin/master' into 320 2009-08-28 17:26:09 +04:00
VladimirMangos
fdb2842f60 [8425] Implement SPELL_EFFECT_LEAP_BACK and spell 781
* Move CMSG_MOVE_KNOCK_BACK_ACK (player case) to Unit::KnockBackFrom
* Implement creature case, most at hack way currently :(
  Need information about expected server packet, and possible some disorientation movegen apply at short time.
* In adition of spell 781 implement related creature versions.

* Fixed warnings spawn at reading CMSG_MOVE_KNOCK_BACK_ACK, CMSG_MOVE_HOVER_ACK, CMSG_MOVE_WATER_WALK_ACK.
2009-08-27 05:27:45 +04:00
tomrus88
3882772658 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-08-27 01:54:04 +04:00
VladimirMangos
45dd7140b5 [8422] Implement far sight like spells work for long distance.
* Added basic infrastructure for visibility update in case difference player and current view point.
  Just for note: seletect additional arg way beacuse repeatable search object will slow but store pointer will not safe,
  so use middle case: get view point pointer early as possible at visibility updates.
* Implement dynamic object and creature activisation while it's target of far sight spell effect
* Use this for SPELL_AURA_BIND_SIGHT, SPELL_AURA_FAR_SIGHT and SPELL_EFFECT_ADD_FARSIGHT.
* Note2: some spyglass like spells let look _around_ at long distance, this hard implement in current grid loading system
  Without additional changes and not implemented (you will see empty area without creatures in likes case)

* Also fixed warning spam at CMSG_MOVE_SET_CAN_FLY_ACK receive by use proper packet sructure reading.
2009-08-26 08:30:40 +04:00
VladimirMangos
8231eed7bf [8420] Update and continue fill mangos_spell_check.sql. Small related code cleanups. 2009-08-26 02:33:03 +04:00
Astellar
0c78bfba33 [8418] Implement work talent 47193.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-25 15:32:22 +04:00
OPenaz
c2f8a0ff7d [8417] Allow work some guardian summon spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-25 13:58:13 +04:00
tomrus88
373a837aa5 Merge commit 'origin/master' into 320 2009-08-18 09:30:02 +04:00
VladimirMangos
74d27294aa [8381] Some refactoring work in Unit::m_currentSpells code.
* Restrict access, use enum args, move some repeated code parts to function.
* Make m_selfContainer set only part of Unit::SetCurrentCastedSpell
2009-08-18 02:12:56 +04:00
VladimirMangos
1b1d013623 [8380] Use CastSpell instead create triggered channaled spell in Spell::EffectTriggerRitualOfSummoning. 2009-08-18 01:03:20 +04:00
tomrus88
48a470dfc1 Merge commit 'origin/master' into 320 2009-08-15 10:16:27 +04:00
VladimirMangos
8d30f01a73 [8369] Some step back in triggered effect caster selection.
This must fix some broken after [8360] spells.
2009-08-14 04:10:02 +04:00
VladimirMangos
a8a22db09d [8360] Simplify and partly rewrite SPELL_EFFECT_TRIGGER_SPELL work.
* Always use explicit spell cast from effect code
* Always use for normal case unitTraget self cast
  that fix thriggered spell apply to area targets.
2009-08-12 23:31:10 +04:00
VladimirMangos
0bbc496192 [8357] Use less hacky Spell::AddTriggeredSpell call for spell 33076 and ranks jump animation cast 2009-08-12 17:49:37 +04:00
VladimirMangos
45a588f76f [8351] Implement spell 55693. 2009-08-11 20:22:34 +04:00
VladimirMangos
cb29748467 [8349] Include offhand weapon part and aply proper dagger bonus for spell 51723. 2009-08-11 04:32:21 +04:00
NoFantasy
0d9fba971d [8348] Use distance in getContactPoint used for charge spell effects.
Preventing victim from moving behind attacker when victim can move free.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-08-11 01:30:49 +02:00
VladimirMangos
7caf5b5b2f [8344] In case battleground reward items player must "receive" instead "create" item in message. 2009-08-10 15:28:05 +04:00
tomrus88
f07363e9e0 Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
	src/game/Player.cpp
2009-08-09 20:18:41 +04:00
pasdVn
6a4b79cdc2 [8342] Iplement talent 53252 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-09 17:48:12 +04:00
VladimirMangos
c8cc9b28f8 [8329] Implement aura deleting delay in case aura lock as currently used.
* Use counter for aura uses lock for recursivly mark as used in some cases.
* At aura remove add aura to deleting delayed auras list for aura target.
* Remove now unneeded hacks from aura handlers and aura tick code (maybe not all found yet)
* Use new aura delete locking for simplify proc spell event code.
* Prevent apply aura boost spells if aura deleted while adding to target by triggered spells.
* Re-implement aura list updating at auras update for target to better way skip
  removed from aura list auras while auras update.
2009-08-08 11:31:29 +04:00
tomrus88
d24461e300 Merge commit 'origin/master' into 320 2009-08-07 23:48:00 +04:00
VladimirMangos
0d96fc06a6 [8320] Imporovements in wild summoned gameobjects work.
* Not set owner for will summoned gameobjects.
  Its not expected to have owner, and must be accessable to all players (or team).
* Set for all objects summoned by spells: despawned by deafult for proper despawn withut owner.
* Cleanup Spell::EffectSummonObjectWild.
2009-08-06 00:54:51 +04:00
tomrus88
f97da77cbd Merge commit 'origin/master' into 320 2009-08-05 14:52:29 +04:00
hunuza
1e9483111d Fix 49998 and ranks healing part.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-05 10:14:45 +02:00
hunuza
7dccfe768f [8312] Fixed bonus damage for some DK spells.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-05 00:28:02 +02:00
VladimirMangos
4e4a10312c My last sec. typo. 2009-08-05 00:59:02 +04:00
KAPATEJIb
fc66d2729b [8309] Fixed paladin judgement selection code in some places.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 00:52:40 +04:00
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