Commit graph

7152 commits

Author SHA1 Message Date
VladimirMangos
a1b5c3cb02 Cleanup code for UNIT_FIELD_BYTES_1 parts.
Move defines to Unit (values can be used with creatures)
Better gameobject barber chairs check at loading.
2009-01-31 05:55:10 +03:00
evilstar
af888cda40 [7205] Update table spell_chain to 3.0.8
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 02:18:08 +03:00
DiSlord
bbdf5ca8eb [7204] Fixed type conversion in spell bonuses calc (fixed huge damage in some cases)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-31 01:35:14 +03:00
timmit
6c2eeb86f8 [7203] Update MaxLevel money quest reward to expirience convertion for 303.
Note: old client compatible quest reward data will provide wrong result.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 00:58:34 +03:00
DiSlord
88419c968f [7202] Fix warlock armor buff stack
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-30 23:01:03 +03:00
VladimirMangos
339c7f05f1 [7201] Prevent use 0 guid for pets and only odd guids for vehicles. 2009-01-30 05:12:08 +03:00
VladimirMangos
0fd361a0a3 Switch to support client 3.0.8a (build 3506)
Merge commit 'origin/308'
2009-01-30 02:10:23 +03:00
DiSlord
b798beeec6 [7200] Fix spell damage bonuses in some cases
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 22:23:26 +03:00
DiSlord
b6a2f2ece2 use m_amount as item count for Aura::HandleChannelDeathItem
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:40:32 +03:00
DiSlord
80d9bb4ba6 Add new ranks for some hunter sting
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:39:40 +03:00
DiSlord
59861857e5 Replace values by defines
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:38:26 +03:00
DiSlord
fdfd9c647a [7199] Fix some spell bonus coefficients
Add some proc triger data

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:51:21 +03:00
DiSlord
727773e797 Allow dispell positive spells by mechanic on get mechanic immune aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:44 +03:00
DiSlord
b7c5513f2c Implement AURA_STATE_ENRAGE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:39 +03:00
DiSlord
1a63e23ffd Not apply/remove passive auras on aura state change (not need)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:33 +03:00
Energy
fb317f5aaa Update CMSG_CALENDAR_GET_CALENDAR structure and re-enable for 3.0.8.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-29 02:21:30 +03:00
Alex
edfeb6597d [7198] SQL update will fix problems with charges old pre-3.0.3 summon spells for pets/companions/etc.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-29 00:19:26 +03:00
DiSlord
ee6d98e182 [7197] Fixed wrong spell damage bonus calculation from AP
Fixed wrong bonus from one shaman buff

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 21:38:17 +03:00
DiSlord
003f909a58 Fixed possible crash in Unit::CalcAbsorbResist
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 21:31:49 +03:00
DiSlord
dc05b4cad8 Fixed crash in Get...Object call
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 21:30:31 +03:00
tomrus88
9ba229213f Updated client build 2009-01-28 07:40:42 +03:00
VladimirMangos
889817235d Fixed quest items objectived show in quest description SMSG_QUEST_QUERY_RESPONSE.
Original patch provided by traponinet.

TODO: implement 5 item objective use in ciode and DB.
2009-01-28 06:14:43 +03:00
DiSlord
977df35349 [7196] Restore priest pet hit mana regen
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:28:34 +03:00
DiSlord
4ecfbcc2f5 Use spell_bonus_data table for store custom damage/healing bonus coefficients
Big thanks ApoC for help create table.
Fixed bonuses for stacked periodic
Warning need test all coefficients for correct bonus amount.
TODO:
 use this table for absorb bonus calculation
 use this table for melee spells AP bonuses
 use chain multipler in final damage/heal amount

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:23:16 +03:00
DiSlord
6d9a099a19 Rename some auras
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:13:09 +03:00
DiSlord
3035c45ed3 Add new ranks for shaman shield dummy
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:13:05 +03:00
VladimirMangos
430c634fd3 [7195] Implement SPELL_AURA_PHASE (261) and basics of phases system work (for player/creatures/pets only) 2009-01-27 19:17:52 +03:00
ApoC
700fb25407 [7194] Reorganized order.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-27 14:59:49 +01:00
ApoC
ff1e2bb9fd [7193] Renamed output Field Flags to Unit Flags in npc info command.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-27 14:47:58 +01:00
ApoC
b27fbe8e4e [7192] Fixed glyph opening order for lvl 30 and 50.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-27 13:42:37 +01:00
VladimirMangos
8292567376 [7191] Some command related fixes.
* Allow use spell shift-link in .aura and .unaura commands
* Drop commented code and update .reset level command for support DK case.
  Also command for other classes will reset leve not to 1 but to config starting level value
2009-01-27 03:31:57 +03:00
balrok
09162d082c Some more info about SMSG_ARENA_TEAM_ROSTER structure. 2009-01-26 23:59:17 +03:00
Woweur
d88bf2643b Fixed SMSG_ARENA_TEAM_ROSTER structure. 2009-01-26 23:57:35 +03:00
VladimirMangos
2e3e3f0dbb Remove trailing whitespaces.
(cherry picked from commit 0dc3caef6fbaea6525b28a143da8267d0473cb14)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-26 22:42:19 +03:00
VladimirMangos
3f0b117062 Remove trailing whitespaces. 2009-01-26 22:33:42 +03:00
VladimirMangos
661cc9bf5b Disable recently added at master CMSG_CALENDAR_GET_CALENDAR sent, not compatiable with client. 2009-01-26 22:31:20 +03:00
DiSlord
7cefa74f8b [7190] Rewrite code for Unit::SpellHealingBonus (no big changes)
Implement SPELL_AURA_OVERRIDE_CLASS_SCRIPTS auras for healing mod
Remove dead code
Implement SPELL_AURA_MOD_HEALING_RECEIVED aura

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:19 +03:00
DiSlord
026a12d224 Rewrite code for Unit::SpellDamageBonus (no big changes)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:17 +03:00
DiSlord
37abcf28f3 Implement some SPELL_AURA_OVERRIDE_CLASS_SCRIPTS for crit mods
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:15 +03:00
DiSlord
a56c9a11a1 Remove warrior debuff after some auras end
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:14 +03:00
DiSlord
a49ea24047 Remove not need code (implemented by another way)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:12 +03:00
DiSlord
6c51a318fd Fix some typos in SPELL_AURA_ADD_TARGET_TRIGGER aura work
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:11 +03:00
DiSlord
e0b59c21ec Implement 3 TARGET_RANDOM_FRIEND_CHAIN_IN_AREA target type
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:10 +03:00
DiSlord
b5fefe7d86 Implement warrior 1464 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:09 +03:00
DiSlord
87085646f2 Remove dead code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:08 +03:00
DiSlord
f96d29469a Implement 50 PELL_AURA_MOD_CRITICAL_HEALING_BONUS aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:07 +03:00
DiSlord
1b99e1864a Restore some shaman totem work (implement 55441 gluph)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:31:06 +03:00
VladimirMangos
72aa7bc556 [7189] Prevent use wrong security levels (>= SEC_CONSOLE) 2009-01-26 22:31:05 +03:00
VladimirMangos
5cdedd8e2a [7188] Drop now unneeded hack code. 2009-01-26 22:31:04 +03:00
VladimirMangos
512747db7f [7187] Replace some tabs in sources. 2009-01-26 22:31:03 +03:00