Commit graph

5324 commits

Author SHA1 Message Date
VladimirMangos
492f467bcc [10068] Fixes in pet movments
* Use proper stop packet as expected. In case 0 trevel time used before move packet
  can generate infinity move forward (at client side).
* Avoid reset top movegen before add idle in pet stay command.
* Avoid assign random move to player owned creatures as default movegen.
* Finish follow movegen init including need-stay case.
2010-06-17 02:46:39 +04:00
NoFantasy
a0bbb0fec5 [10067] Allow item INVTYPE_RELIC to be equipped by npc from creature_equip_template
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-17 00:29:43 +02:00
ApoC
7dd5456401 [10066] Some tuning in consts.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-06-16 23:31:23 +02:00
tomrus88
a93b7936f5 Fix. 2010-06-16 17:01:36 +04:00
ApoC
d967af6549 [10065] Some return values fixes.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-06-15 18:14:21 +02:00
VladimirMangos
0304448b85 [10064] Fixed recently show up crash in Unit::StopMoving. 2010-06-15 19:14:44 +04:00
VladimirMangos
5b15cd5dd2 [10063] Cleanup recent added code. 2010-06-15 17:19:45 +04:00
ApoC
c781dbbada [10062] Removed wrong method const.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-06-15 14:53:24 +02:00
ApoC
61959d285e [10061] Revision increase.
I am sorry, i forget to apply git_id :(

Signed-off-by: ApoC <apoc@nymfe.net>
2010-06-15 14:51:18 +02:00
ApoC
38dbd27569 Added missing return statement.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-06-15 14:48:32 +02:00
Laise
9811858d44 Implement 49220 and ranks 2010-06-15 15:27:08 +03:00
Lynx3d
16ae6a2f85 [10060] Drop unused ACE_Stack_Trace in Error.h
This also can fix possible build problem in case use at system old ACE version.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-15 15:49:17 +04:00
VladimirMangos
2326292981 [10059] Cleanup in Player::m_mover uses
* Also fix triggered by related checks unread packet tail spam cases.
* Fix one case when expected death at fall controlled player
  under ground has been possible avoided
2010-06-15 03:50:52 +04:00
VladimirMangos
e82f4fbd29 [10058] Add to mangos.sql data from 09720_01_mangos_spell_proc_event.sql
Thank you to NoFantasy for pointing to inconsistance.
2010-06-15 02:15:08 +04:00
zergtmn
e34315f23f [10057] Type in UNIT_STAT_CONTROLLED
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-14 22:08:20 +04:00
VladimirMangos
aa5dfc2895 [10056] Re-add spell proc sql data from [7879].
* It not has been added in commit time to mangos.sql
* It alsow required data updating in family masks.

Thank you to NoFantasy for reseatch problem :)
2010-06-14 20:13:24 +04:00
NoFantasy
809d9d2063 [10055] Use creature equipment from normal _template when id is not set for difficulty
creature_template of difficulty_entry_N then only need equipment_id when equipment should be different from the normal creature entry.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-14 17:57:24 +02:00
Laise
10634ac5be [10054] Fix crash when not saved action buttons are removed during spec switch 2010-06-14 12:25:42 +03:00
VladimirMangos
b4b45333d8 [10053] Use UNIT_STAT_CONTROLED for mark unit state under direct player control.
* This allow prevent move home/to caster at apply
* Also replace AI and reset movegens at control time
* Also stop combat and clear threat/hostile list at lost control for prevent combat with freindly units.
2010-06-14 10:27:44 +04:00
SilverIce
e427ce80cc [10052] Camera System
(based on SilverIce's repo commit 4f2f4ab + next 3 more)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-14 07:23:03 +04:00
tomrus88
3c04496624 Merge remote branch 'origin/master' into 335 2010-06-13 15:47:10 +04:00
tomrus88
40b00f26fb Updated to latest PTR build. 2010-06-13 15:46:08 +04:00
VladimirMangos
f520c9b1e0 [10051] Fixed talent 58426 broken after 3.3.3 switch.
Also cleanup character auras from wrong duration auras.
2010-06-12 04:32:33 +04:00
VladimirMangos
64f959fb82 [10050] Implement apply non-trade slot item enchanting at trade complete.
Base at original patch provided by arrai.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-11 22:46:16 +04:00
virusav
a248a1a32d [10049] Fix SPELL_AURA_MOD_HEALING_DONE healing bonus with 0 misc value
Signed-off-by: Laise <fenrisse@gmail.com>
2010-06-10 12:16:44 +03:00
VladimirMangos
9dd45d5cf0 [10048] Move trade data to dynamic created structure.
Also possible fix old bug with spam trade cancel after logout.
2010-06-09 00:27:26 +04:00
VladimirMangos
59c8741e9b [10047] Fixed show wrapped gifts in trade windows.
Also some fixes for trading related not full read packet spam.
2010-06-08 22:57:57 +04:00
zergtmn
6986ecbd9b [10046] Store guids instead slot data for trade items.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-08 20:48:59 +04:00
VladimirMangos
e1766a3adb [10045] Frop unexpected custom rank data for 26016.
This make spell rank use first rank data.
2010-06-08 17:31:10 +04:00
tomrus88
299ac66fdb Merge remote branch 'origin/master' into 335 2010-06-08 15:52:30 +04:00
tomrus88
2a7cb0d17b Updated to latest PTR build. 2010-06-08 15:52:06 +04:00
VladimirMangos
8e9a201ea0 [10044] Generate talent related spell_chain data instead storing its in table.
* Drop now redundant part of data from `spell_chain`.
* Allow store in spell_proc_event cusom ranks data for ppm for chained ranks.
* Drop now redundant part of data from `spell_proc_event`.
2010-06-08 01:51:32 +04:00
VladimirMangos
a7b80733df [10043] Fixed share quest in case completed objectives.
* Also fixed CONDITION_QUESTTAKEN for same case.
* Aslo fixed exclusive prev quests check.
2010-06-07 23:48:20 +04:00
VladimirMangos
5eabf12111 [10042] Implement CONDITION_QUESTAVAILABLE.
Also do come constatification of quest status check functions
and fix one unsafe use std::map operator[].
Never never use std::map operator [] for _read_ access.
Good chance corrupt related structure state ;)
Not in found case but in general.
2010-06-07 22:35:47 +04:00
tehmarto
5ea6815ea1 [10041] Use for spell 49145 and ranks for decrease SPELL_DIRECT_DAMAGE damage.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 22:27:16 +04:00
Insider42
d757ba2a73 [10040] Expected RAP bonus to damage for spell 1510 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 22:15:27 +04:00
zergtmn
7f8ad96038 [10039] Partly revert [10033] for spell 44394 and ranks related code.
Not all ranks of spell have proper triggered spell info.
Return to old more explicit code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 22:03:05 +04:00
zergtmn
ff2f722f49 [10038] Prevent double triggering heal from 63534 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also use more simple and safe checks for added in [10035].
2010-06-06 21:49:40 +04:00
sixsixnine
2ca1b3fcea [10037] Fixed poison consume by spell 32645 and ranks.
It will consume only caster casted poisons.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 19:09:31 +04:00
AbsoluteZero
32bed90aa9 [10036] Fixed health restore and triggering cooldown for talent 30881 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 18:39:08 +04:00
Insider42
18ffffd379 [10035] Additinal reqs for spell 49219/51459 and ranks triggering.
* Only at melee attack or spell 56815 hit.
* Spell 49219 and ranks also ignore offhand attack.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 18:09:37 +04:00
VladimirMangos
ea9dd78d35 [10034] In case unknown triggered spell output more known info for location problem. 2010-06-06 17:55:54 +04:00
VladimirMangos
63018ccc4a [10033] Use sometime stored in spell data triggred spell info for dummy auras. 2010-06-06 17:44:07 +04:00
NoFantasy
c0be5c0926 [10032] Remove not needed local declaration of dialog status and rename some to clarify.
Additional cleanup for readability.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-05 13:21:35 +02:00
NoFantasy
2760e7d353 [10031] Replace hard coded quest dialog status value with enum value
Some minor code cleanup for readability.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-05 11:58:56 +02:00
Laise
f94175f90f [10030] Add aura remove modes for expire and absorb shield break cases and use GetTarget()/GetSpellProto() instead of m_target/m_spellProto 2010-06-05 09:12:00 +03:00
VladimirMangos
fc3e046348 [10029] Clarify client dependence for some MeleeHitOutcome values 2010-06-05 00:20:55 +04:00
VladimirMangos
6ebbcd8dbb [10028] Reward group for shareable quests at cast event to creature/go. 2010-06-04 20:01:57 +04:00
VladimirMangos
ff3fb9b727 [10027] SPELL_AURA_ADD_TARGET_TRIGGER long time not use spellmod for work.
Drop dead code.
2010-06-03 23:39:13 +04:00
VladimirMangos
cf5c1c45d6 [10026] PDump code fixes and cleanups
* At pdump creating will propertly saved NULL field values.
* At pdump loading will skipped adding `character_declinedname`
  if name in some way will be changed (explicly or at loading)
2010-06-03 17:11:58 +04:00