Commit graph

1092 commits

Author SHA1 Message Date
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
GriffonHeart
fbfbdf6d13 [8107] Fixed sql queries included in [8098].
Old version break stored action spell ids, but this is not critical damage so
restore data at applied damage not done in fix. But it will fix errors at new characters creating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:22:20 +04:00
tomrus88
835a8da42a Added placeholders for new battlegrounds, some other stuff. 2009-07-02 09:21:43 +04:00
VladimirMangos
90800416d1 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-02 09:18:44 +04:00
VladimirMangos
c9fbd99579 [8098] Support uint32 spell ids in code.
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
2009-07-02 09:18:39 +04:00
VladimirMangos
131978c529 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-01 14:31:42 +04:00
VladimirMangos
1baec77845 [8098] Support uint32 spell ids in code.
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
2009-06-30 11:25:32 +04:00
tomrus88
12f05c3c78 Renamed file. 2009-06-25 19:10:56 +04:00
tomrus88
02bcc56919 Added placeholders for new battlegrounds, some other stuff. 2009-06-25 19:08:53 +04:00
hunuza
8a32a19bad [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

It's recommended to backup your character database before applying this patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 17:51:48 +02:00
VladimirMangos
f34ce077c0 [8071] Restore work .modify tp command. Allow apply it to selected character's pet. 2009-06-23 04:46:13 +04:00
Rhyll
8f69f19027 [8065] Remove outdated data in spell_proc_event.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:44:07 +04:00
pasdVn
14700e9918 [8064] Implemented dummy procs for spell 47535 and ranks
(cherry picked from commit 80d0367959b110cb3daa0c6dd65022f5ecf84ac5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:22:25 +04:00
hunuza
7448aaa37e [8060] Fix 56314 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
VladimirMangos
d56de2cd77 [8053] At character talents reset using chat command also reset talents for all character pets.
This applied to .reset talents and .reset all talents commands.
2009-06-21 00:29:46 +04:00
Corfen
f018f4c15c [8050] Fixed healing from spell 63108.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:52:11 +02:00
VladimirMangos
cb8cffc11e [8034] Fixed sql/updates/8030_03_mangos_npc_trainer.sql.
Real query added. In fact this queary only need if your npc_trainer table have unfixed yet
outdated spell 64904. In other case it work in same way as old empty sql update version.
2009-06-17 18:40:03 +04:00
VladimirMangos
7024862b82 [8030] Fixed spell 64901 work and related target selection code refactoring.
* Replace 64904 by 64901 in spellbook and action bars.
* Implement proper max mana percent buff
* Implement proper target selection.
* Move group/raid targets seelction code to functions for reuse code.
2009-06-17 01:05:41 +04:00
Beaste
9d8aa63d5c [8021] Implement triggering part of shaman talent 51483 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-15 16:37:32 +04:00
VladimirMangos
5254a498df [8016] Work at npc click table data use.
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
  or to another quest, or from reward quest.
* Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
* Apply some speedups for creature checks affected by spel click state
2009-06-15 01:01:38 +04:00
VladimirMangos
7677a61c6f [7994] Include in mangos.sql/characters.sql changes from sql/updates/7988_*.sql
Also fix old typos in item_template data in mangos.sql
2009-06-11 20:20:56 +04:00
VladimirMangos
f7fd6961c1 [7988] Merge branch '310' - Switch to support client version 3.1.3
Thanks to TOM_RUS for most work to make this switch possible ;)
2009-06-10 21:18:24 +04:00
VladimirMangos
9588b43d0c Merge commit 'origin/master' into 310 2009-06-10 18:56:29 +04:00