Commit graph

656 commits

Author SHA1 Message Date
VladimirMangos
86bef7ace5 [9984] Implement item 43214 work.
* Original version suggested by timmit.
* Required DB support for target requirement.
2010-05-27 19:14:02 +04:00
zergtmn
afc9b28103 [9980] Remove target guid in spell with TARGET_FLAG_DEST_LOCATION
Corrects spell animations and visual going in weird directions for these kind of spells

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-27 10:03:58 +02:00
Insider42
ff9990a777 [9965] Fixed triggering of spell 55095 by 45524.
(based on insider42's repo commit 90de00d)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

It include reverts commit ca99760e884d82219fff63ecf5f2ca87b02b5924
with less clean implemetation.

[patch 155] Fixed triggering of spell 55095 by 45524. Patch provided by me

(based on commit 90de00d)
2010-05-23 18:36:40 +04:00
VladimirMangos
de454d6ff8 [9955] Prevent negetive proc events from possitive effects of negative spells.
Some negative spells have positive effects with targets not affected by negative effects of spell.
For example spell 45524 cast negative effecst to target and possitive effect to caster self.
For like possitive only target of negetive spell will not triggered negative proc events.
In last cases will avoid triggering glyph 43537 at caster at spell 43537 cast.
2010-05-22 16:18:03 +04:00
VladimirMangos
d740b2f167 [9949] Add target for TARGET_DUELVSPLAYER_COORDINATES only if not provided by another way.
This fix for exmple unexpected empry heal if targeted by spell 48438 and ranks.
2010-05-22 10:19:08 +04:00
j4r0d
36a76e38a9 [9944] Implement spell 633 and ranks self casting restrictions in 3.3.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-21 05:39:25 +04:00
VladimirMangos
d4f1b510ae [9934] Skinning related fixes
* Show skinning tooltip only after creature loot
  (when creature can be explcitly skinned).
* Allow reopen skinning loot if still have not looted items.
2010-05-19 15:35:20 +04:00
VladimirMangos
d86dcd60d7 [9925] Add more log filters
* damage - different direct damage calculation tracing
* combat - combat state updates, roll attack result and etc
* spell_cast - spell cast progress and aura apply
2010-05-18 12:38:52 +04:00
NoFantasy
fab9a3ae96 [9913] Fix TARGET_SCRIPT searcher and also look for objects that are Pet*
Pet (guardian, mini-pet) may also be the target of TARGET_SCRIPT, and are not considered a grid object.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-16 09:29:49 +02:00
LordJZ
ad1926585e [9907] Make comment really proccessed by doc generator.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 03:32:59 +04:00
Laise
0344a8e838 [9888] Party restore IsKnowHowFlyIn and add area arg 2010-05-13 15:15:46 +03:00
Laise
a002f22916 [9887] Fix special mounts using in Dalaran 2010-05-13 14:42:55 +03:00
Laise
188db9691f [9884] Code style fixes thx to hunuza & Wowka321 2010-05-12 17:43:15 +03:00
Laise
41c58f3be9 [9882] Add support for mounts dependent from riding skill and location 2010-05-12 13:34:10 +03:00
VladimirMangos
d04dd4e5bf [9876] Fixed TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER work
TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER expected seelction friendly targets
for spell caster around spell caster (so ignore original caster faction).
This meaning that for begative spell also selected friendly targets for
spell caster object.
2010-05-12 03:33:06 +04:00
Laise
5a572b9991 [9875] Fix immunity ignoring for delayed spells 2010-05-11 22:35:39 +03:00
VladimirMangos
b36cc9b258 [9871] Implement movement impairing effects for spell 58875.
Original part suggested by Insider42.
2010-05-11 14:08:17 +04:00
MaS0n
4e8c18e9de [9863] Implement SPELL_EFFECT_BREAK_PLAYER_TARGETING (93)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 08:09:41 +04:00
VladimirMangos
6fb07911f9 [9862] Defines for some spelentry arrays.
* Move and rename MAX_REAGENTS to DBC Strcuture.h.
  It used only afore access to SpellEntry field and so part of strcuture definition.
* Add MAX_SPELL_TOTEMS and MAX_SPELL_TOTEM_CATEGORIES for same reasons, and use in code.
2010-05-11 00:06:47 +04:00
tomrus88
ff2cda6af1 [9861] Backporting some code chnages from 400 branch.
(based on 400's commit 0f37423)
(based on 400's commit 636cfef)
(based on 400's commit 0bbe3a7)
(based on 400's commit ce86b56)
(based on 400's commit b74c6a8)
2010-05-10 23:45:49 +04:00
VladimirMangos
921b0d668f [9850] Fixed target selection for area spells casted from aura at enemy.
* Spell::GetCastingObject must be use for selection visual/point cast,
  not for friend/enemy checks. Add extanded GetAffectiveCasterObject
  for proper provide for referecned checks wild gameobject casted case.

* Also support chain damage spells casted by gameobjects.
2010-05-08 01:21:41 +04:00
hunuza
68abd76c97 [9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
NoFantasy
de95b8ad5f [9842] Remove a line of whitespace
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-06 10:02:14 +02:00
Laise
91572b1e01 [9841] Really fix invisible target selection for TARGET_AREAEFFECT_CUSTOM 2010-05-06 10:54:08 +03:00
Laise
432b1b8b38 [9839] Fix shadow damage part of 55090 and ranks 2010-05-05 17:51:39 +03:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
Laise
6726a08b48 [9835] Fix broken compilation after [9831]. Thanks to VladimirMangos. 2010-05-04 19:52:08 +03:00
Laise
8a4b520979 [9833] Allow TARGET_AREAEFFECT_CUSTOM to target invisible/not targetable npc if script target for them exists 2010-05-04 15:05:29 +03:00
Laise
577812ff6e [9828] Fix TARGET_AREAEFFECT_CUSTOM 2010-05-03 11:14:55 +03:00
Laise
5902f6cf77 [9792] Fix wrong damage dealing from commit [9784] 2010-04-25 07:15:56 +03:00
VladimirMangos
0cbcfef0fb [9790] No reason lost time at other checks if spell diff id not provided. 2010-04-24 23:05:04 +04:00
Laise
51546e1ff9 [9789] Implement spell selection, for creatures in instances, based on map difficulty 2010-04-24 20:08:18 +03:00
Laise
10b65dcf8f [9784] Move damage and crit calculation for certain effects of spells with delayed hit to spell launch 2010-04-23 19:53:51 +03:00
Laise
d1dd6a8ca3 [9782] Small clean up in 2 method names 2010-04-23 16:05:41 +03:00
Laise
5b56c321c8 [9757] Add triggered spell(strength buff) for 71904 2010-04-18 10:47:47 +03:00
Laise
6610484609 [9754] Rename flight speed related auras and fix spell 40120 2010-04-16 17:54:58 +03:00
SilverIce
e3f3f3410a [9736] Added more usable interface for grid visits
(based on SilverIce's repo commit f20f01e)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-12 15:15:55 +04:00
przemratajczak
35fbdd90f3 [9734] Removed outdated code for 33702,33697,20572
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 11:54:56 +03:00
Ceris
06378778e8 [9733] Make Replenishment only affect its caster in arena
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-04-12 10:41:08 +02:00
VladimirMangos
53486545b5 [9701] Fix basepoints calculation
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-08 23:15:48 +03:00
tomrus88
a4a56adf3d Quests and combopoints should work once again. 2010-03-31 16:23:52 +04:00
tomrus88
f2572fdda0 Merge remote branch 'origin/master' into 330 2010-03-31 02:29:02 +04:00
XTZGZoReX
34e56c9978 [9641] Fix typo; IN_MILISECONDS -> IN_MILLISECONDS. 2010-03-30 14:44:57 +02:00
tomrus88
4c8dd37612 Merge remote branch 'origin/master' into 330 2010-03-30 13:06:34 +04:00
VladimirMangos
d7c1e06d1b [9636] Move item real-time/in-game duration counting flag to new extraflags field.
Client expected only positive duration values, so stop use duration field as signed.
2010-03-29 09:52:59 +04:00
tomrus88
dd3d5eec69 Updated to client build 11723. 2010-03-27 03:50:35 +03:00
VladimirMangos
b658b25ff8 [9618] More use ObjectGuid in spell/etc code 2010-03-25 13:59:46 +03:00
VladimirMangos
ab7840a591 [9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build. 2010-03-13 17:35:47 +03:00
VladimirMangos
8416702d7c [9579] Use ObjectGuid in some loot code.
Also use ObjectGuidSet instead std::set<ObjectGuid>
2010-03-13 14:06:27 +03:00
VladimirMangos
c8fd454a79 [9551] Add and use PackedGuid wrapper.
Also
* use more wide bytebuff << >> operators for objects
* use at read packet faisl alsways exception way instead some time used bool results.
2010-03-08 20:23:16 +03:00