mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Some spells have procCharges > 0 and in same time maxStack > 1. It's support has been implemented more year ago but current way work with single aura from stack remove at proc always made some spells work wrongly (7 spells (with ranks) in 3.3.5a). In fact only 3 spell (with ranks) need this "one from stack" way and all form its have similarity: Its apply max stack from start and decrease stacks at proc hit. Another prove for correctness this way: in 2.x exist single spell with charges and maxstack that expect full aura stack remove. So implemented opposition way: normal aura proc remove always full aura holder stack. Special 3 cases have overwrite code for work with stack in correct for its way. Fixed work: * items 31857 and 50259 * recipe 46027 effects. * talent 63730 and ranks Affected by code changes talents 51528 and 55166 tested and work. Spell 34026 use similar decrease stack at hit but req. independent patch for full implemention, so not work. |
||
|---|---|---|
| .. | ||
| 0.5 | ||
| 0.6 | ||
| 0.7 | ||
| 0.8 | ||
| 0.9 | ||
| 0.10 | ||
| 0.11 | ||
| 0.12 | ||
| 0.13 | ||
| 0.14 | ||
| 0.15 | ||
| 0.16 | ||
| 10008_01_realmd_realmd_db_version.sql | ||
| 10148_01_mangos_mangos_string.sql | ||
| 10156_01_characters_character_aura.sql | ||
| 10156_02_characters_pet_aura.sql | ||
| 10156_03_mangos_spell_proc_event.sql | ||
| 10159_01_mangos_spell_proc_event.sql | ||
| 10160_01_characters_character_aura.sql | ||
| 10160_02_characters_pet_aura.sql | ||
| 10171_01_mangos_mangos_string.sql | ||
| 10197_01_mangos_playercreateinfo.sql | ||
| 10203_01_mangos_item_template.sql | ||
| 10205_01_mangos_spell_area.sql | ||
| 10207_01_mangos_npc_vendor.sql | ||
| 10208_01_mangos_playercreateinfo.sql | ||
| 10217_01_mangos_playercreateinfo_spell.sql | ||
| 10217_02_mangos_playercreateinfo_action.sql | ||
| 10217_03_mangos_spell_learn_spell.sql | ||
| 10217_04_mangos_spell_chain.sql | ||
| 10217_05_mangos_spell_proc_event.sql | ||
| 10219_01_mangos_spell_proc_event.sql | ||
| 10223_01_mangos_spell_proc_event.sql | ||
| 10237_01_mangos_spell_bonus_data.sql | ||
| 10244_01_mangos_command.sql | ||
| 10251_01_mangos_command.sql | ||
| 10252_01_mangos_reputation_reward_rate.sql | ||
| 10254_01_characters_auctionhouse.sql | ||
| 10256_01_mangos_command.sql | ||
| 10257_01_mangos_command.sql | ||
| 10263_01_mangos_pool_creature.sql | ||
| 10263_02_mangos_pool_gameobject.sql | ||
| 10263_03_mangos_pool_pool.sql | ||
| 10270_01_mangos_reputation_spillover_template.sql | ||
| 10286_01_mangos_creature_addon.sql | ||
| 10289_01_mangos_creature_template.sql | ||
| 10289_02_mangos_creature_model_info.sql | ||
| 10299_01_mangos_event_id_scripts.sql | ||
| 10307_01_mangos_instance_template.sql | ||
| 10307_02_mangos_scripted_areatrigger.sql | ||
| 10307_03_mangos_scripted_event_id.sql | ||
| 10312_01_characters_character_aura.sql | ||
| 10312_02_characters_pet_aura.sql | ||
| 10314_01_mangos_mangos_string.sql | ||
| 10314_02_mangos_command.sql | ||
| 10323_01_mangos_mangos_string.sql | ||
| 10323_02_mangos_command.sql | ||
| 10331_01_mangos_mangos_string.sql | ||
| 10331_02_mangos_command.sql | ||
| 10332_01_characters_character_aura.sql | ||
| 10332_02_characters_pet_aura.sql | ||
| 10342_01_mangos_mangos_string.sql | ||
| 10342_02_mangos_command.sql | ||
| 10349_01_mangos_spell_proc_event.sql | ||
| 10350_02_mangos_command.sql | ||
| 10353_01_mangos_mangos_string.sql | ||
| 10353_02_mangos_command.sql | ||
| 10362_01_mangos_creature_movement_template.sql | ||
| 10365_01_mangos_creature_ai_scripts.sql | ||
| 10381_01_mangos_creature_model_race.sql | ||
| 10400_01_mangos_mangos_string.sql | ||
| 10409_01_mangos_spell_chain.sql | ||
| 10409_02_mangos_spell_proc_event.sql | ||
| 10410_01_mangos_spell_chain.sql | ||
| 10411_01_mangos_spell_proc_event.sql | ||
| 10416_01_mangos_spell_proc_event.sql | ||
| 10419_01_mangos_spell_chain.sql | ||
| 10422_01_mangos_spell_proc_event.sql | ||
| 10423_01_mangos_spell_chain.sql | ||
| 10427_01_mangos_spell_proc_event.sql | ||
| 10430_01_mangos_spell_chain.sql | ||
| 10454_01_mangos_spell_proc_event.sql | ||
| 10457_01_mangos_spell_proc_event.sql | ||
| 10500_01_mangos_scripts.sql | ||
| 10503_01_characters_creature_respawn.sql | ||
| 10503_02_characters_gameobject_respawn.sql | ||
| 10503_03_mangos_creature_respawn.sql | ||
| 10503_04_mangos_gameobject_respawn.sql | ||
| 10537_01_mangos_command.sql | ||
| 10551_01_mangos_spell_proc_event.sql | ||
| 10568_01_characters_character_tutorial.sql | ||
| 10582_01_mangos_spell_proc_event.sql | ||
| 10604_01_mangos_spell_proc_event.sql | ||
| 10621_01_mangos_quest_template.sql | ||
| 10628_01_mangos_mangos_string.sql | ||
| 10629_01_mangos_mangos_string.sql | ||
| 10654_01_mangos_game_event_creature_quest.sql | ||
| 10655_01_characters_character_queststatus_monthly.sql | ||
| 10660_01_mangos_game_event_quest.sql | ||
| 10662_01_characters_item_loot.sql | ||
| 10664_01_characters_arena_team_stats.sql | ||
| 10679_01_mangos_npc_vendor_template.sql | ||
| 10679_02_mangos_creature_template.sql | ||
| 10682_01_mangos_item_convert.sql | ||
| 10704_01_mangos_gossip_menu_option.sql | ||
| 10742_01_mangos_spell_bonus_data.sql | ||
| 10743_01_mangos_spell_chain.sql | ||
| 10743_02_mangos_spell_bonus_data.sql | ||
| 10746_01_mangos_mangos_string.sql | ||
| 10749_01_mangos_mangos_string.sql | ||
| 10762_01_mangos_spell_proc_event.sql | ||
| 10764_01_mangos_spell_proc_event.sql | ||
| 10786_01_mangos_spell_proc_item_enchant.sql | ||
| 10786_02_mangos_spell_proc_event.sql | ||
| 10788_01_mangos_creature_addon.sql | ||
| 10788_02_mangos_creature_template_addon.sql | ||
| 10835_01_mangos_spell_proc_event.sql | ||
| 10862_01_characters_mail.sql | ||
| 10863_01_mangos_spell_proc_event.sql | ||
| 10864_01_mangos_spell_proc_event.sql | ||
| 10867_01_mangos_npc_trainer_template.sql | ||
| 10867_02_mangos_creature_template.sql | ||
| 10883_01_mangos_spell_proc_event.sql | ||
| 10906_01_mangos_spell_proc_event.sql | ||
| 10906_02_mangos_spell_bonus_data.sql | ||
| 10932_01_mangos_game_event_creature_data.sql | ||
| 10945_01_mangos_mangos_string.sql | ||
| 10946_01_mangos_spell_proc_event.sql | ||
| 10949_01_mangos_mangos_string.sql | ||
| 10950_01_mangos_mangos_string.sql | ||
| 10951_01_mangos_spell_proc_event.sql | ||
| 10972_01_mangos_command.sql | ||
| 10973_01_characters_game_event_status.sql | ||
| 10973_01_mangos_game_event_mail.sql | ||
| 10988_01_mangos_mangos_string.sql | ||
| 10989_01_mangos_loot_template.sql | ||
| 10993_01_mangos_loot_template.sql | ||
| 10998_01_mangos_spell_proc_event.sql | ||
| Makefile.am | ||
| README | ||
= MaNGOS -- README =
Copyright (c) 2005-2011 MaNGOS <http://getmangos.com/>
See the COPYING file for copying conditions.
== Database Updates ==
This folder contains SQL files which will apply required updates to your MySQL
database, whenever the MaNGOS database structure has been changed or extended.
To see if you need an update, the file names have been given a fixed structure
that should enable you to see if you need an update or not.
=== File Name Description ===
File names are divided into two parts.
First part is the revision and counter that shows the commit revision that
will be compatible with the database after apply that particular update.
Counter sets the order to apply sql updates for the same revision.
The second part of the name is the database and the table that needs an update or has been added.
See an example below:
6936_01_mangos_spell_chain.sql
| | | |
| | | |
| | | The table `spell_chain`
| | | will need an update.
| | |
| | Name of affected DB (default recommended name)
| | Can be: characters, mangos, realmd
| |
| Counter show number of sql updates in updates list for provided revision
| and set proper order for sql updates for same revision
|
MaNGOS commit revision related to sql update.
It included in commit description in form [6936] as you can see at http://github.com/mangos/mangos/commits/master
After applying an update the DB is compatible with the mangos revision of this sql update.
SQL updates include special protection against multiple and wrong order of update application.
Attempts to apply sql updates to an older DB without previous SQL updates in list for the database
or to DB with already applied this or later SQL update will generate an error and not be applied.
=== For Commiters ====
MaNGOS sources include special tool ( contrib/git_id ) for generation revision info
in commit notes and in src/shared/revision_nr.h file. It have option '-s' that let set
correct sql update names with revision number, generate sql update order guard queries,
and update version fields in mangos.sql/etc. For it use name sql updates in form
01_mangos_spell_chain.sql or 9999_01_mangos_spell_chain.sql (counter can be _01_, _02_, and etc,
dependent from sql updates amount in commit) and _not_ add to sql updates
guard queries. Include sql updates in commit. After commit adding to local repo call git_id
with -s option (and another, note: -s option not work propertly with -l option). Other steps
tool will do by self and apply changes to commit. After tool use commit with sql updates ready
to push.