tomrus88
a57bf5a78b
Applied coding style.
2009-05-29 19:23:28 +04:00
tomrus88
e454cb693d
Merge branch 'master' into 310
...
Conflicts:
src/game/GameObject.h
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/QueryHandler.cpp
src/game/QuestHandler.cpp
src/game/SkillHandler.cpp
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/Unit.cpp
src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
tomrus88
84ed071e16
Merged and fixed some whitespaces.
2009-05-29 10:40:13 +04:00
tomrus88
27395d13c4
More coding style.
2009-05-29 10:04:29 +04:00
VladimirMangos
ec1d6a3b56
[7910] Resolve problems with vmaps extractor support 3.1.2 archives.
...
Binary in contrib/vmap_extract_assembler_bin also updated.
2009-05-29 06:25:28 +04:00
tomrus88
f84fdc6757
[7909] Applied coding style. (cherry picked from commit ed7e72975f4d4f95f5c429f1af6a2c021adfd5a1)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 06:05:07 +04:00
NoFantasy
84464e5f3f
[7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 05:51:17 +04:00
VladimirMangos
39637858aa
[7907] Also add documentation for ACTION_T_SET_SHEATH.
2009-05-29 01:22:19 +04:00
ApoC
661ddea7a7
[7906] Inserted newline to make gcc happy.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-28 23:14:07 +02:00
VladimirMangos
b83f32fc19
[7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state.
...
Also related cleanup code in field cases and player Player::SetSheath.
2009-05-29 01:05:39 +04:00
Seizerkiller
2fc277fdb6
[7904] Change creature damage calculation formula.
...
* Add new creature_template field `dmg_multiplier`
* Make attackpower include in creature damage not dependent from attack speed.
NOTE: included in sql update recalculation for creature damage related fields only make
temporary possible usable values. Real values need revisited by DB devs for correctness.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-28 20:10:42 +04:00
tomrus88
b0006cfbc0
Moved SMSG_PERIODICAURALOG to single function, applied coding stype.
2009-05-28 18:46:34 +04:00
tomrus88
b77696bf26
Applied coding style.
2009-05-28 18:44:51 +04:00
tomrus88
e20dc76198
Added new line at end of file.
2009-05-28 10:22:17 +04:00
tomrus88
f6e2b55e2c
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-28 10:16:02 +04:00
VladimirMangos
0614a9eb75
[7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount.
...
* Other pet spell types auto-learned at level setup/load.
* Code will cleanup pet_spell table from non-talents spell if detect any at load.
* Free talents points recalculated at loading and levelup so store its in DB useless.
Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.
2009-05-28 03:36:28 +04:00
AlexDereka
c87e51dae5
[7902] Speed up Creature and GO loads.
2009-05-28 00:00:22 +04:00
AlexDereka
a32d2c5f5c
Fixed gameobject_template.
2009-05-27 22:09:59 +04:00
VladimirMangos
4d8adefe70
[7901] Refactoting pet action bar related code. Fixed some related bugs.
...
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
2009-05-27 19:43:57 +04:00
tomrus88
885d1256b2
Added new fields to database.
2009-05-27 16:44:50 +04:00
VladimirMangos
1abe4c0d79
[7900] Now really allow recieve account bounded items by mail reciver.
2009-05-27 10:58:23 +04:00
GriffonHeart
ba1d0684da
[7899] Implement binding for account items support.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-27 02:18:43 +04:00
VladimirMangos
d2e25491a2
[7898] Improve client error output at different mail send errors, cleanup code.
2009-05-27 01:14:17 +04:00
Ambal
83b2eb2bba
[7897] Include function name in assertion fail output.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 22:02:19 +04:00
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