Commit graph

2110 commits

Author SHA1 Message Date
NoFantasy
56e86ff05f [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 18:16:15 +04:00
tomrus88
42795a5539 Fixed merge error. 2009-05-26 17:08:25 +04:00
tomrus88
bec88f184d Merge commit 'origin/master' into 310 2009-05-26 17:04:13 +04:00
tomrus88
058e74da21 [7895] Fixed build problem and some warnings in VS2010 projects. 2009-05-26 17:02:57 +04:00
tomrus88
ec4928008c Some coding style fixes. 2009-05-26 14:41:57 +04:00
tomrus88
2f15546120 Merge commit 'origin/master' into 310 2009-05-25 21:57:59 +04:00
SeT
0b020154d9 [7894] Avoid show quest sign for trainer under cursor if trianer have unavailable quest.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-25 06:48:06 +04:00
VladimirMangos
f271fd6819 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". 2009-05-25 06:31:17 +04:00
VladimirMangos
4e1166ded5 [7892] Update spell_loot_template entry description in error output for better fit to current table use. 2009-05-25 05:20:58 +04:00
VladimirMangos
7ee675cd71 Update spell_chain to 3.1.2 state 2009-05-25 04:39:08 +04:00
VladimirMangos
51f7b8a482 [7891] Replace harcoded array of creature family skill lines by using DBC data. 2009-05-25 02:59:10 +04:00
VladimirMangos
32a66d2bd2 [7890] Fixed memory leak in result one from my old commits. 2009-05-24 23:00:20 +04:00
Sorken
b35a9d4c99 [7889] Fixed from behind check for 1329 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-24 17:16:08 +02:00
ApoC
ba450b4eca [7888] Fixed typos in comment.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-24 16:54:06 +02: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
tomrus88
182cedd3c0 Some coding style. 2009-05-24 10:03:48 +04:00
VladimirMangos
c56ef09fa3 [7887] Drop pet spell teaching code, including field in character_pet. 2009-05-24 07:20:13 +04:00
VladimirMangos
8171bb57dd [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

* Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
* Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
* Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.
2009-05-24 06:39:29 +04:00
qsa
37f8cea0a1 [7885] Fixed talent 34914 and ranks proc spell to correct spellid.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:43:13 +02:00
Sephiroth1983
2bf4660129 [7884] DB cleanup from obsolete 28734 spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:21:00 +02:00
Serker
59392eee2d [7884] Removed obsolete 28734 dependency.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:19:41 +02:00
ApoC
029b49dec8 [7883] Implemented new NPC extra flag CREATURE_FLAG_EXTRA_NOT_TAUNTABLE.
NPC with this flag is immune to apply aura SPELL_AURA_MOD_TAUNT and immune to SPELL_EFFECT_ATTACK_ME by default.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 20:06:07 +02:00
VladimirMangos
82c8428d78 [7882] For achievement criterias data check ACHIEVEMENT_CRITERIA_DATA_TYPE_T_PLAYER_DEAD include target's team check. 2009-05-23 19:38:04 +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
3d1b055e9e Fixed bank bag slot amount achievement statistic. Cleanup related code. 2009-05-23 18:50:46 +04:00
ApoC
d3d07c5657 [7880] Added error output for default switch case.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 16:04:01 +02:00
ApoC
dc389f416c [7879] Added SPELL_AURA_MOD_SPELL_CRIT_CHANCE into isTriggerAura.
This will fix auras (57529, 57531, possibly others) to be correctly removed dependently on their procFlags and procCharges.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:30:26 +02:00
Tanatos
a59de33941 [7879] Fixed proc for 31571 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:21:14 +02:00
VladimirMangos
f72a8bc6dc Merge commit 'origin/master' into 310 2009-05-23 01:55:33 +04:00
Derex
6a5cd72e4d [7878] Use bigger buf for better performence.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-23 01:54:23 +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
ApoC
dad833fd3e [7875] Calculate mechanic immune mask for aura remove only if really needed.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 19:09:42 +02:00
ApoC
5c80c62f9b [7874] Fix: possible runtime crash.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 18:20:56 +02:00
VladimirMangos
3beec18f4e [7873] Use same name for realmd DB connection in realmd code as used in mangosd/game. 2009-05-22 16:27:46 +04:00
Astellar
0bd7177b11 [7872] Restore work one shaman totem
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-22 14:47:51 +04:00
NoFantasy
8b5fa13011 [7871] Drop unused second arg in InstanceData::OnCreatureCreate.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-22 06:33:08 +04:00
VladimirMangos
3b11d833c8 [7870] Implement creature ranged ammo show at ranged weapon use.
* Use BDC data (creature weapon not alwas listed in item_template)
2009-05-22 06:09:03 +04:00
VladimirMangos
b708cc87a3 [7869] Add note about VS 2003 drop to NEWS 2009-05-21 21:50:42 +04:00
freghar
fd074a71fb [7868] Added guard sql queries and 7867_01_realmd_account.sql to Makefile
"the stuff I forgot in previous commit", sorry

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 19:13:08 +02:00
freghar
34ee1cffa2 [7867] Change default IP in account and banned_ip tables
As IP of 0.0.0.0 is, unlike 127.0.0.1, more clearly recognized as invalid.

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 18:47:29 +02:00
tomrus88
52effd119c Merge commit 'origin/master' into 310
Conflicts:
	src/game/TargetedMovementGenerator.cpp
	win/VC71/shared.vcproj
2009-05-21 20:17:19 +04:00
tomrus88
61d1829431 [7866] Added VS 2010 Beta 1 project files. Requires libeay32.dll update. This is experimental changes. Use it on own risk. (cherry picked from commit 732a8e66ab877563be3163b1307144d2003a7d2a)
Signed-off-by: tomrus88 <tomrus88@gmail.com>
2009-05-21 20:10:04 +04:00
tomrus88
8163470c2c [7865] Dropped VC 7.1 (VS 2003) support. 2009-05-21 19:52:36 +04:00
tomrus88
c802504304 Applied coding style. 2009-05-21 19:45:18 +04:00
tomrus88
d6782d067b Added VS 2010 Beta 1 project files. Requires libeay32.dll update. 2009-05-21 19:41:12 +04:00
NoFantasy
50898eedde [7864] Use x.0f float constant format.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 17:34:18 +04:00
Alex
bde5402b40 [7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 05:26:38 +04:00
VladimirMangos
0f928164e0 [7862] Fixed infinity loop at search spell related summoned gameobject in owner list. 2009-05-21 03:42:26 +04:00
Astellar
75438d2736 [7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 02:39:28 +04:00