Commit graph

194 commits

Author SHA1 Message Date
tomrus88
fc3f08a468 Updated to build 11685. 2010-03-24 08:32:44 +03:00
tomrus88
768772b14b Updated to PTR build 11655. 2010-03-13 00:50:15 +03:00
tomrus88
e73c5d3b79 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Unit.cpp
2010-03-10 20:24:28 +03:00
tomrus88
393d46f9f6 Updated to latest PTR build. 2010-03-10 20:21:18 +03:00
XTZGZoReX
d490532a55 [9562] Another update of AIReaction enum (and comments). 2010-03-10 11:28:43 +01:00
XTZGZoReX
820550223a [9559] Update AiReaction enum. 2010-03-10 01:57:38 +01:00
VladimirMangos
acb297a415 [9525] Implement effect SPELL_EFFECT_TEACH_TAXI_NODE(154)
Original patch writed by Sadikum.
2010-03-05 12:16:41 +03:00
VladimirMangos
4c4629e861 [9507] Implement SPELL_EFFECT_RESTORE_ITEM_CHARGES
Also it application in special case of item 5513 and similar.
2010-03-03 06:02:32 +03:00
unknown
ab74b20006 [9502] Update SpellCastResult enum to 3.3.x state. 2010-03-01 14:18:20 +01:00
VladimirMangos
7ecd5365b9 [9492] Some cleanup in effects table. 2010-03-01 06:43:02 +03:00
VladimirMangos
ded1e3c263 [9475] Add and use TotemSlot enum type 2010-02-28 07:31:25 +03:00
tomrus88
32168d697b Updated to 3.3.3.11573 client. 2010-02-23 08:08:33 +03:00
laise
71d0989db3 [9364] Update diminishing categories.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-12 14:07:55 +03:00
hunuza
acf507fd5a [9349] Add posssibility for one action button set per talent spec. 2010-02-10 18:00:30 +01:00
XTZGZoReX
4a3081e7d5 [9321] Correct enum PetTameFailureReason
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-07 11:57:13 +01:00
tomrus88
f24ba4981e Update to 3.3.2 client. 2010-02-03 04:31:26 +03:00
VladimirMangos
904995c024 [9274] Implement SPELL_EFFECT_SUMMON_ALL_TOTEMS
This implement work spells 66842, 66843, 66844.

Patch originall writed by Arthorius, with additional fixes from darkstalker
and hack removes from me.
2010-01-31 18:40:59 +03:00
tomrus88
d9e92d1987 - Updated unit dynamic flags enum. 2010-01-29 02:12:03 +03:00
VladimirMangos
98f3ed3d4b [9178] Lost changesat my prev. push :( 2010-01-14 21:11:16 +03:00
XTZGZoReX
ee26f74796 [9176] Add commented check for unit_class == 0.
In fact creature unit class must not be 0, but some creatures (like triggers) have this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-14 21:00:41 +03:00
tomrus88
e117f521e8 Some enum fixes. 2010-01-09 21:05:34 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
NoFantasy
1ec90288fb [9101] Correct target mode 48, and rename to something more meaningful
Also adjust target 49/50 angles to be really left/right.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-02 14:50:39 +01:00
tomrus88
33cd1a0aca Merge remote branch 'origin/master' into 330 2009-12-30 01:16:15 +03:00
tomrus88
2a80cc694a Fixed some enums. 2009-12-30 01:15:59 +03:00
nos4r2zod
d990644151 [9057] Implement some damage related spell attributes support.
* SPELL_ATTR_EX4_STACK_DOT_MODIFIER
* SPELL_ATTR_EX6_NO_DMG_PERCENT_MODS

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-24 18:31:03 +03:00
tomrus88
d98300b500 Merge remote branch 'origin/master' into 330 2009-12-24 15:52:11 +03:00
VladimirMangos
fb21f4c16e [9050] Add MAX_EXPANSION define for config option Expansion check.
This will prevent case when expansion set to high for supported client
in config and account have also too high expansion setting.
Client in like case receive too high expnasion and reject connection
because it think that have not installed expansion for connection account.

This possible for example for account case when single realmd used for
diff client versions and account have high expansion setting for most
recent client support. And in same time mamngos.conf for specific realm
have wrong Expansion value.
2009-12-23 20:24:13 +03:00
tomrus88
370c6bbd4b Fixed some structs. 2009-12-20 06:11:51 +03:00
tomrus88
9b844f8ef7 Response enum fix. 2009-12-18 02:48:47 +03:00
tomrus88
860f6adad9 Fix. 2009-12-17 14:46:30 +03:00
VladimirMangos
34d8d69e2b Merge remote branch 'origin/master' into 330
Also move accepteble build number to src/game/SharedDefines.h
as expected by new realmd code.
2009-12-17 03:55:33 +03:00
Laizerox
022524c1bb [9010] Implement realmd support realms for different client versions
* Supported 1.12.1, 1.12.2, 2.4.3, 3.2.2a in same time as relams in same realmlist
* mangosd by self check correct for it client build and reject all incorrect cases
* realmd know from mangosd what builds supported each realm and
  if realm not support it then in relamlist for specific client this relam show as offline.
  Not need any manual settings for this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-17 03:40:29 +03:00
qsa
ffca4301d0 [8944] Use DBC data for summon effect functionality.
Also some more local fixes:
* Alow multiply same type guardians req. for some spells.
* Apply spell duration mods to summons

Many summon spells must start work.

Great work qsa! :)

Thanks The_Game_Master for updaing patch to recent sources.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 23:40:10 +03:00
pasdVn
949dae6d1c [8876] Fixed spell 724 and ranks.
Required Db support (gameobject templates)

(backported from commit 6a4fd16)
2009-11-26 02:44:52 +03:00
NoFantasy
2ba416f78c [8808] Add a few more definitions to enum GameObjectFlags
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-11-12 14:38:11 +01:00
VladimirMangos
959e7640e2 [8771] Fixed *nix build and small code cleanup.
Thanks to balrok for reporting, and help in resolve/test.
2009-11-04 11:05:51 +03:00
VladimirMangos
d009994f59 [8768] Rewrite code for prepare and send mails.
* Move send functions to new MailDraft class from WorldSession
* Simplify use different args combinations used in SendMailTo
  by groupping its by functionality in Helper classes. This also will prevent wrong way use args combinations.
2009-11-03 17:34:23 +03:00
VladimirMangos
f35be9519c [8754] Some guld back related packets data correctness checks
* Move when possible checks from deep code to packer/DB read level.
* Check real existed guild bank tabs amount instead just max possible amount.
* Check guild bank loaded state for packets expected to be called only after
  guild bank data loadin by another packet.

Thanks to elecyb and NetSky for original fix versions.
2009-10-30 05:50:06 +03:00
NoFantasy
67c991b216 [8716] Update of enum HolidayIds, add missing names
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-23 21:39:28 +02:00
balrok
e990d5c509 [8688] proper implementation of creatures ghost-flags
this reverts 8676 (9c50d9e70314b0cd9eb0fe3bac8040d64a9965a5)
the new flag is from wdb-files so your database should be
already alright

also i've dropped the function Player::CanInteractWithNPCs
cause it was used only in one place and didn't seem to make anything
easier

NOTE for this flag:
it just means that the creature can be seen by ghost-players
too..
so they are still visible for alive players.. unless a special
aura or ther unitflag (spiritguide/healer) disables this..
(see next commit for it)
2009-10-20 23:34:13 +02:00
NoFantasy
cd43a0a192 [8685] Add a few more creature type_flag enum names (meaning still unknown) 2009-10-20 19:28:36 +02:00
NoFantasy
20a5cbcdca [8681] Update one creature type flag name and correct typos in comments.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-20 11:18:05 +02:00
XTZGZoReX
0e1854a936 [8671] Correctly send SMSG_PET_TAME_FAILED with appropriate value when taming fail instead of spell fail.
I also removed conditions from Spell::EffectTameCreature which are checked in Spell::CheckCast.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-18 19:16:48 +02:00
VladimirMangos
a4d61a6988 [8649] Implement SPELL_AURA_MECHANIC_IMMUNITY_MASK (147) and related cleanups.
* Always use machanic masks in form (1 << (mech-1)), fix all cases.
* Imppement SPELL_AURA_MECHANIC_IMMUNITY_MASK (mostly boss/elite spells).

Note: db stored mechannic masks already stored in proper format so not affected.
2009-10-15 20:53:01 +04:00
pasdVn
c47cf7bd61 [8635] Rewrote bonus damage claculation
* calculation depends on the damageClass now
  ->SPELL_DAMAGE_CLASS_RANGED & SPELL_DAMAGE_CLASS_MELEE use MeleeDamageBonus()
  ->SPELL_DAMAGE_CLASS_MAGIC & SPELL_DAMAGE_CLASS_RANGED use SpellDamageBonus()
* changes/improvements in MeleeDamageBonus:
  -> improved criterions to apply bonuses
  -> implemented scaling of FLAT damage Bonus for non weapon damage based spells
  -> support of DOT's
  -> added pet's bonus damage for non weapon based spells
* general cleanup in CalculateSpellDamage() and MeleeDamageBonus()
* implemented global helper functions GetWeaponAttackType() and GetAuraTicks() in SpellMgr

Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-14 00:33:24 +02:00
NoFantasy
732bcfbbb6 [8622] Add own function to send AI_Reaction packet.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-11 00:01:49 +02:00
VladimirMangos
d38866cfbc [8590] Restore build at Unix/Linux. 2009-10-06 15:34:33 +04:00
VladimirMangos
a9af7f2b1c Use reset time for normal/heroic from new DBC. Improve basic support for raid difficalties. 2009-10-06 02:12:02 +04:00