Commit Graph

113 Commits

Author SHA1 Message Date
Brian
341b8e04d5 * Added a stupidity check into world.sql so it can not be imported
* accidentally

--HG--
branch : trunk
2010-01-26 06:10:57 -07:00
nihal
08e4346ab2 Some good old fashioned proper Trinity Standard sql renaming and formatting.
Also added missing data to world.sql.

--HG--
branch : trunk
2010-01-24 15:59:10 +01:00
win32
19ac6f6a3c Implement new commands for add/remove/lookup titles.
Autor Vladimir.

--HG--
branch : trunk
2010-01-21 11:19:34 +02:00
Brian
c82599ebb9 * Wintergrasp removal -- part 4: "How deep does the cancer run?"
--HG--
branch : trunk
2010-01-20 14:23:47 -07:00
Brian
6e5d342fe4 * Wintergrasp removal part 2
--HG--
branch : trunk
2010-01-20 07:54:43 -07:00
teacher
4e2b98e871 Update gossip_menu_option data by Maximius.
--HG--
branch : trunk
2010-01-16 15:17:12 +01:00
teacher
768bfcfa19 Add Trigger teleport to acherus (for quest 12757) by denyde.
Added missing data to world.sql.

--HG--
branch : trunk
2010-01-16 15:06:40 +01:00
teacher
482604b103 Fixed typo in previous commit. I misunderstood the fix.
Thank you Aokromes for being there!

--HG--
branch : trunk
2010-01-13 21:43:36 +01:00
teacher
42d904a8bf Added long forgotten sql update for Rev6693 (Add support for RewSpellCast=-1. If -1 remove all auras applied to player at quest start).
Thank you Warhead.

--HG--
branch : trunk
2010-01-13 21:28:35 +01:00
_manuel_
943b3195da Fix stats table to update 2 missing health values by Malcrom.
--HG--
branch : trunk
2010-01-12 15:03:31 -03:00
teacher
2168df1500 Missing updated file added for last commit.
How about me saving the damn file before committing first...

--HG--
branch : trunk
2010-01-13 09:49:51 +01:00
teacher
f39e058d9a Second part of sql files renaming not following Trinity standard.
Update world.sql too. Final part later today to complete the work.

--HG--
branch : trunk
2010-01-13 08:34:51 +01:00
teacher
3ddea83ffa First part of renaming sql update files which did not respect Trinity standard.
Moved old sql update files to sql\updates\3.2.2a_old folder.

--HG--
branch : trunk
2010-01-12 21:06:54 +01:00
Astellar
2564f5470a Fixes Issue #153. Earth Shield should not proc from positive spells. So flag PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL is removed.
--HG--
branch : trunk
2010-01-11 18:58:23 +03:00
Brian
378388d0a6 * Add support for .gobj target to output phaseMask
* Thanks to Aokromes for the original idea of adding it to .npc info output.

--HG--
branch : trunk
2010-01-10 19:03:47 -07:00
Brian
1e7087c75c * add armor output in .npc info
--HG--
branch : trunk
2010-01-10 16:11:24 -07:00
QAston
feb7acf8aa *spell_linked_spell entry for Deterrance. Resolves #237.
--HG--
branch : trunk
2010-01-10 14:51:34 +01:00
QAston
8e9d2cdf01 Update aura system:
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras:
  * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type
  * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras
  * Aura data is shared for all units which have AuraApplication of the Aura
   * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now)
  * Remove spell source and AreaAuraEffect classes
  * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant)
  * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation
  * AreaAura updates are done in owner _UpdateSpells cycle
  * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list
  * And you can access area aura target list
  * Add basic support for aura amount recalculation
  * Save recalculation state and base amount of auras to db
  * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db
  * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets
  * Sort aura effect handlers in SpellAuras.cpp and .h by their use
  * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal
  * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly
  * Send aura application client update only once per unit update - prevent unnecesary packet spam
 * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet
 * Fix memory leak at player creation (not deleted auras)
 * Updated some naming conventions (too many to mention)
 * Added Unit::GetAuraOfRankedSpell() function
 * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead
 * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc)
 * Implement AURA_INTERRUPT_FLAG_LANDING
 * Implement EffectPlayerNotification (thanks to Spp)
 * Remove wrong aura 304 handler
 * Add better handler for death runes
 * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura
 * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script
 * Add many assert() procection from idiots using some functions in wrong way
 * I am to lazy to write here anything more
Thanks to Visagalis for testing this patch
PS: Do not make patches like this, please

--HG--
branch : trunk
2010-01-10 01:23:15 +01:00
Brian
f91b289733 * Added support for outputting phasemask in .npc info
--HG--
branch : trunk
2010-01-07 21:43:55 -07:00
Astellar
b0e7dc95a4 Fixes issue 152. Now Improved Water Shield works as intended.
1. Removed hardcoded proc chance for Lesser Healing Wave (all ranks had equal proc chance).
2. Added proc chance for Chain Heal (patch 3.2).
3. Fixed bug with Lesser Healing Wave and Chain Heal rolled default spell proc chance at first and then correct chance in dummy proc. So they have never ever proced for low ranks of the talent.
4. Removed consumption of charges (patch 3.2).

--HG--
branch : trunk
2010-01-07 00:24:58 +03:00
Astellar
082e7bac47 DB update to have correct Windfury proc chance for already commited hack :)
--HG--
branch : trunk
2010-01-05 21:08:44 +03:00
Astellar
a886552c85 Glyph of Blocking proc moved to DB.
--HG--
branch : trunk
2010-01-05 15:52:44 +03:00
Astellar
5f147e5fa2 SQL changes for previous commit.
--HG--
branch : trunk
2010-01-05 12:25:33 +03:00
_manuel_
0e18bc37c2 Removed moveflags column from creature_addon and creature_template_addon. Thanks to Zor and raczman.
--HG--
branch : trunk
2010-01-02 19:52:08 -03:00
p0wer
421189a3cb Fix Art of War to only proc off critical hits. Thanks Visagalis
--HG--
branch : trunk
2010-01-02 14:40:50 -06:00
p0wer
e17eea4057 Change ppm (max procs per minute) to be read from the dbc. Seal of Command will no longer be limited
to 7 procs per minute, and will now be able to cast on every hit.

--HG--
branch : trunk
2009-12-28 17:55:43 -06:00
_manuel_
ca36a951cc Added explanation about Spell Linked Spell in world.sql, it is also in the wiki.
--HG--
branch : trunk
2009-12-27 21:25:11 -03:00
_manuel_
3e97b6d55a Fixed spell 66865 used by Boss Eadric the Pure.
--HG--
branch : trunk
2009-12-27 21:07:36 -03:00
maanuel
b916fa09f4 Support for spell 66680 used by Boss Argent Confessor Paletress.
--HG--
branch : trunk
2009-12-26 20:25:49 -03:00
n0n4m3
9d015dfce8 Fixed spell Reaping, thx Themris.
--HG--
branch : trunk
2009-12-26 13:56:32 +01:00
p0wer
acdc4ca15b * More updates to creature_classlevelstats. By Malcrom.
--HG--
branch : trunk
2009-12-23 09:11:52 -06:00
XTZGZoReX
69def3b335 * Delete now unused "reload npc_option" chat command.
--HG--
branch : trunk
2009-12-23 11:37:38 +01:00
p0wer
7590479186 * Add support for different gmlevel's for different realms.
*
* Using the value -1 will add the same value for all realms.
* Make sure to apply the updates.
* Information regarding this patch will be posted on the database forums soon.
*
* Thanks to Sundark and the Ilixiuemu team(for original patch)

--HG--
branch : trunk
2009-12-21 21:08:29 -06:00
win32
3ab7f40932 Add spell proc for Glyph of Seal of Command
--HG--
branch : trunk
2009-12-21 18:05:51 +02:00
maanuel
89fa7cf367 Support for spell Emerge Summon (54851) used by Drakkari Colossus. Please apply too the sql fix for commit 6674 on tdb forums.
--HG--
branch : trunk
2009-12-20 21:08:53 -03:00
Brian
8a560ca408 * Fixed SQL in commit 6666
--HG--
branch : trunk
2009-12-20 20:41:20 -07:00
Brian
5300226fee * Added support for using a lookup table for creature mana / health
* As long as creature level, class, and the proper expansion they are from are
* set in creature_template, you will have 100% accurate health and mana.
* Research and base stats table done by Malcrom -- THANK YOU!
* Original patch by Kudlaty -- THANK YOU!
* Updated and enhanced by Machiavelli - THANK YOU!
* Optimizations by w12x, MrSmite, and XTZGZoReX -- THANK YOU!
* Final code updating for current rev by XTZGZoReX -- THANK YOU!

--HG--
branch : trunk
2009-12-20 20:23:18 -07:00
Brian
c4ac6323b0 * Added support for RepObjectiveFaction2 / RepObjectiveValue2 (opposite
* faction) IE: need to LOSE reputation with that faction.
* Original patch by Brian / Ported to latest rev. by Kudlaty -- THANKS!

--HG--
branch : trunk
2009-12-20 16:51:41 -07:00
teacher
8a5df265c2 Properly updated world.sql to current rev.
world_spell_full.sql and world_trinity_string_full.sql files removed.
From now on Devs will update world.sql only, whther it is matter of structure changes or data content for the tables which must be handled by core devs.
All the other tables will be handled by DB projects.

--HG--
branch : trunk
2009-12-20 18:47:10 +01:00
Brian
ea785c9788 * Added support for GO type 6 (TRAP) to have a negative value in data6
* This will allow proper data to be used

--HG--
branch : trunk
2009-12-20 09:27:44 -07:00
win32
7c9f6b4bc3 Merge MaNGOS, Gossip System. Autor NoFantasy.
* DB support required
* Closes #859

--HG--
branch : trunk
2009-12-20 13:35:08 +02:00
Brian
31c6b10a19 * Add support for the use of Gameobject type 10 (GOOBER) use when not on quest
* if data1=-1

--HG--
branch : trunk
2009-12-20 09:03:45 -07:00
n0n4m3
e699949274 Missing Changes
--HG--
branch : trunk
2009-12-18 07:28:07 +01:00
n0n4m3
bb2ddadae9 Added missing sql updates
--HG--
branch : trunk
2009-12-18 07:06:53 +01:00
n0n4m3
4ef64a65e5 Added sql updates 3.1.3-3.2.2a
--HG--
branch : trunk
2009-12-17 15:49:28 +01:00
win32
bf2c3fd8cf MaNGOS merge: Mail System.
* Store loot in mail_loot_template indexed by mail template ids.
* Implement proper creating mail text copy item from mail template based mail.
* Move send functions to new MailDraft class from WorldSession.
* Implement mails sending at player levelup.
* Autor VladimirMangos, converted by me.

--HG--
branch : trunk
2009-12-16 18:58:36 +02:00
Brian
cca31e558f * Change AllowableClass and AllowableRace fields to SIGNED INT to allow for
* the larger values that are coming from WDB.
* Thanks to Malcrom

--HG--
branch : trunk
2009-12-11 17:44:51 -07:00
Brian
7d754c3f7f * Added support for questItem5 and questItem6 in creature and gameobject
* templates.
*
* Thanks to Malcrom for doing the research.

--HG--
branch : trunk
2009-11-26 12:23:33 -07:00
Kudlaty
cbd9709d23 QuestLevel can be -1. Quest with this level are allways show yellow ? above quest giver
--HG--
branch : trunk
2009-11-13 17:15:59 +01:00
maximius
b257a28fa9 *Cleanup, fix many cases of unoptimized loops, potential crashes, excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on..
*Proper Maexxna Web Spray locations (old locations sent players flying into the air)

--HG--
branch : trunk
2009-11-01 17:53:07 -08:00