Commit graph

364 commits

Author SHA1 Message Date
tomrus88
f97da77cbd Merge commit 'origin/master' into 320 2009-08-05 14:52:29 +04:00
Nevan
0a534fda64 [8310] Implement item set 73/824 (4) bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 01:51:15 +04:00
Necro
4841fae910 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 09:44:48 +04:00
VladimirMangos
ebac9a23de [8293] Some progress in spell_check fill. 2009-08-02 01:39:47 +04:00
tomrus88
b99565ef42 Merge commit 'origin/master' into 320 2009-08-01 09:22:30 +04:00
VladimirMangos
3fc547e6e6 [8283] Implement 3.x way work for double damage from 35290 and ranks 2009-07-31 17:09:54 +04:00
tomrus88
be8eaf4e46 Just merge commit 'origin/master' into 320
Conflicts:
	src/game/MiscHandler.cpp
2009-07-28 17:05:38 +04:00
Lutik
f0a878bf1e [8265] Add boss spells 64422 and 64688 to divided damage spells list.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 14:29:14 +04:00
Alez
a4baef0c47 [8254] Internal cooldowns for some item effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add lost chain data part to mangos.sql from prev. commit.
2009-07-26 20:49:09 +04:00
Den
110ff906e8 [8253] Some spell proc fixes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 20:33:31 +04:00
tomrus88
299f40ac0c Merge commit 'origin/master' into 320 2009-07-26 10:52:21 +04:00
VladimirMangos
7ac4dc6f13 [8251] Store in some DB tables only data for first rank.
* Allow add to DB data only for first rank in table `mangos_spell_bonus_data` and `mangos_spell_proc_event`.
* Copy data for other ranks for speedup use at loading for this data and data from `spell_proc_item_enchant`.
2009-07-26 10:46:36 +04:00
nos4r2zod
fd2eb3cfee [8250] Cleanup code and data for spell_threat
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
* Drop from table not existed spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 05:49:17 +04:00
nos4r2zod
13b709a10b [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
  With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.

* Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
  That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.

Thanks to MaS0n as author alternative patch that partly used in this patch.
Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 04:58:46 +04:00
nos4r2zod
983264737e [8247] Some data for spell_bonus_data for DK spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-25 08:06:30 +04:00
Lynx3d
e947acd59c [8237] Apply attack power multiplier to creature bonus attackpower.
Note: mindmg/maxdmg in creature_template expected including attackpower part in its.
attackpower field only show part of attackpower not affected by AP multiplier.

Thanks also to Seizer for take part in reseach and patch review.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-24 16:55:37 +04:00
raftom
c4ceafcf56 [8228] Implement talent 49203 (main functionality).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 10:03:25 +04:00
VladimirMangos
6170497643 [8227] Fix sql update name and add refs to it to proper places. 2009-07-22 09:00:25 +04:00
Astellar
467e47df7c [8226] Fixed spell proc data for spell 63730 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 08:47:30 +04:00
tomrus88
4c709772c1 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
	src/game/Totem.cpp
2009-07-21 08:22:30 +04:00
rechapa79
680ab810e0 [8216] More fixes in spell 47897 and talent 17962 and ranks work.
* Implement DoT apply for 47897 and ranks.
* Implement propertly aura state update at add/remove 47897/348 and ranks
* Update checks for 29722 and ranks for bonus damage

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 07:26:19 +04:00
VladimirMangos
febdda5bab [8215] Update sql/mangos_spell_check.sql. 2009-07-20 06:34:31 +04:00
Ungaminga
eba34304ea [8213] Update code for talent 17962.
* Fixed place, basic dependent from 2 auras type at target and damage calculation.
* Avoid double apply spell bonus from original effect and talent self.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

This is first patch in series for resolve all problem suggested by different authors.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 06:14:57 +04:00
Astellar
b047a62259 [8212] spell_proc_event data fixes for spell 18096, 18119, 30293 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 04:57:34 +04:00
Splinter
8dd96ce52d [8211] Correct proc event and internal cooldown for item 42990.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 04:03:15 +04:00
evilstar
49b201e22b [8196] Implement item 44012 spell effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-18 19:39:30 +04:00
VladimirMangos
050962d9fd [8195] Add spell check data for dummy effect tail... 2009-07-18 06:16:50 +04:00
tomrus88
ca2a2195be Merge commit 'origin/master' into 320 2009-07-17 13:26:56 +04:00
XTZGZoReX
a538fa621c [8191] Drop code related to use long time empty spell_affect table.
After switch to 3.x.x all data get explcitly from ClassMask fields in spell.dbc
and no need in custom values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-17 04:29:33 +04:00
GriffonHeart
cbfbd13146 [8190] Update killing quest objectives base at creature_template KillCredit fields.
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also implement KillCreditN field check at loading.
2009-07-17 03:45:40 +04:00
tomrus88
02f9416963 Merge commit 'origin/master' into 320 2009-07-16 13:23:03 +04:00
VladimirMangos
745f4de173 [8186] More spell check data. 2009-07-16 05:57:20 +04:00
tomrus88
1a47420fe8 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Map.cpp
	src/game/MapInstanced.cpp
	src/game/Player.cpp
	src/game/SpellEffects.cpp
	src/game/Totem.cpp
2009-07-15 09:40:13 +04:00
VladimirMangos
58a292e99c [8180] Drop dead code for old version 28730. It not have another way to work (from 3.0.2) 2009-07-14 05:31:12 +04:00
VladimirMangos
1363605cfc [8179] Fill spell_check table by data for dummy effect (0 spell family), some code cleanups. 2009-07-14 05:13:29 +04:00
VladimirMangos
647e1c5a8b [8175] More fixes for 33878/33876 and ranks.
* Apply SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT in melee binus for special attacks
* In damage calulcation spell 5221 and ranks considered have MECHANIC_BLEED.
* Drop more dead code related to 33878/33876 and ranks.
2009-07-13 18:48:11 +04:00
VladimirMangos
2dee7750e4 [8173] Fixes for 1822 and ranks base at spell_check detection
* Update AP bonus per tick to 0.18 as expected in 3.0.2 and later.
* Better spell selction to avoid unrelated spells for AP bonuses
2009-07-13 15:58:37 +04:00
VladimirMangos
2ed6642539 [8172] Drop dead code for 33878/33876 and ranks.
Detected by spell_check: not have now dummy aura but have
SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCEN for proper mechanic.
2009-07-13 15:03:09 +04:00
VladimirMangos
d09615b2e5 [8171] Restore work double damage chance for spell 35290 and ranks.
It has been broken at client switch and detected by spell_check data.
2009-07-13 04:31:44 +04:00
VladimirMangos
fe1693a7da [8170] Fill spell_check by data form SpellEffect.cpp until end of Spell::EffectSchoolDMG.
2 error and 1 spell mask duplicate with strnage differences specially not fixed for
show .debug spellcheck work ;)
2009-07-13 04:00:11 +04:00
VladimirMangos
f99f477fe8 [8169] Implement new optional table spell_check and console command .debug spellcheck
* Table expected to be store data mirror same data in code:
  - explicit spell ids with related expected spell properties like effects, spell family or auras
  - implicit requirements for select some spell sets like spell family masks, icons or visual values
* For check can be used .debug spellcheck _console_ only command.
* Main purpose table and related command check code parts for outdated data at client switch.
  It also can be used for check data in patch writing time to be sure code correctness.
2009-07-12 22:15:56 +04:00
tomrus88
153410971d Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-07-11 07:55:53 +04:00
VladimirMangos
50dbfadcb3 [8158] Update playercreateinfo_action base at UDB data for this table.
* Some fixes added for used UDB data base at not applied old mangos sql update and drop some wrong data.
* Primary key added to avoid button duplicates for (race,class) pair.
* This update expected to fix recently problems with empty action bars for new created characters

Note: This sql update not affect existed characters.
2009-07-10 22:24:04 +04:00
tomrus88
87930a6d07 Merge commit 'origin/master' into 320 2009-07-08 22:08:09 +04:00
ApoC
0f6d312e59 [8140] Fixed dummy spell proc for 31876 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 00:53:55 +02:00
tomrus88
3089d85035 Removed wrong file. 2009-07-05 13:39:57 +04:00
tomrus88
54cc2dcb53 Merge commit 'origin/master' into 320 2009-07-05 13:19:54 +04:00
VladimirMangos
bc0397695c [8115] Replace table contecnt by expected data from mangos.sql
For finally fix problem with new crated characters in addition to [8107].
2009-07-04 21:36:16 +04:00
ApoC
d17a49f6dc [8112] Fixed proc conditions for 63156 and ranks
* Fixed proc spell flags.
* Fixed proc only on victim's certain level of HP.

signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 11:41:38 +02:00
tomrus88
62327e7af0 Merge commit 'origin/master' into 320
Conflicts:
	sql/updates/8098_01_characters_character_action.sql
	sql/updates/8098_02_mangos_playercreateinfo_action.sql
	src/game/Player.cpp
	src/game/Player.h
	src/game/SpellEffects.cpp
	src/shared/revision_nr.h
2009-07-02 09:38:10 +04:00