Commit graph

2110 commits

Author SHA1 Message Date
NoFantasy
c386bef32e [7931] Allow GAMEOBJECT_TYPE_CAMERA gameobjects with event field set call DB scripts.
Drop also redundent check preveting use SCRIPT_COMMAND_CAST_SPELL script command by gameobject script triggred casting.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 02:19:28 +04:00
Lightguard
bc953feb31 [7930] Added diminishing for spell 1499 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-31 22:17:09 +02:00
VladimirMangos
fb45529eff [7929] Some fixes and optimizations for work with packet guids.
* Allocate only minimal required buffer size for object packet guid cache, avoid it realocation.
* At adding aboyher buffer content copy only until wpos (really writed to buffer data)
* In appendPackGUID check buffer size before data write.
2009-05-31 22:18:48 +04:00
tomrus88
78fbb2c405 Fix. 2009-05-31 14:40:29 +04:00
tomrus88
907cc45b44 Fixed compile error. 2009-05-31 13:48:51 +04:00
tomrus88
cae3f0a532 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
tomrus88
f7c733cd21 Fixed warnings. 2009-05-31 12:13:40 +04:00
DonTomika
0bfcc44bb8 [7928] Player must standup at stun (from 1.5 client starting)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 10:42:01 +04:00
VladimirMangos
af54fbf715 [7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading. 2009-05-31 10:29:38 +04:00
DonTomika
116c72208f [7926] Implement loot roll achievement criteria types used in statistics
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED:

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 10:05:25 +04:00
Naicisum
60e450166d [7925] Correct minor output format error inside ByteBuffer class
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 09:33:10 +04:00
VladimirMangos
6e9339b093 [7924] Not teleport player to non-player caster at ressurection. 2009-05-31 06:28:13 +04:00
VladimirMangos
bf4201c0f4 [7923] Search all available locale skill names in .learn all_recipes 2009-05-31 05:08:23 +04:00
VladimirMangos
79dab3dae5 [7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat.
Also small fix for avoid unexpected set pet speed to owner speed for non-player case. In player case this hack speed setting still required.
2009-05-31 04:35:38 +04:00
VladimirMangos
c678263bb0 [7921] Set pet and for creature owner in Spell::EffectSummon similar other summon effects. 2009-05-31 04:35:22 +04:00
VladimirMangos
91157c7eb9 [7920] Ignore racial skill and skills without recipes in .learn all_recipes. Cleanup code. 2009-05-31 04:35:02 +04:00
Den
d2e0e3c439 [7919] Aura 50 apply percent to all crit healing amount not only to crit healing bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 02:33:20 +04:00
VladimirMangos
2a27a44e2a [7918] Improve portability in work with uint64 string format specifiers and in code literals.
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
  I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
  Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +04:00
VladimirMangos
e8cd008005 [7917] Spell effect with SPELL_AURA_MOD_SPELL_CRIT_CHANCE always possitive with possitive aura value. 2009-05-30 07:41:24 +04:00
daveh
902252c1e9 [7916] Fixed pet action bar setup.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 06:08:39 +04:00
NoFantasy
27057843ac [7915] Implement more stricted checks and limitations at loading creature addon data.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 05:02:59 +04:00
NoFantasy
c7c480f6ba [7914] Fixed variable name typos in creature event AI code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 04:44:05 +04:00
VladimirMangos
548f47b2b3 [7913] Fixed vmap_assambler sources. Updated binary.
* Fixed week ago added bugs into vmap code that break vmap_assambler sources work.
  Note: vmap_assambler binary not updated from nov 2008 until this commit and it has been correct working.
* Add to vmap assambler process show output and add appropriate error messages output.
* vmap_assambler binary updated.
2009-05-30 04:13:53 +04:00
VladimirMangos
81267151ad [7912] Remove unexpected indent from file tail.
Note: not code changes, and then binary not updated.
2009-05-29 21:39:08 +04:00
tomrus88
8d6b26b6ab Fixed creature_template loading. Thanks to DrOverclock. 2009-05-29 19:31:36 +04:00
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