Commit Graph

1532 Commits

Author SHA1 Message Date
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
_manuel_
d4b9cafb18 Deadmines: Implemented Mr.Smite chest event.
--HG--
branch : trunk
2010-01-07 20:47:34 -03: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
Paradox
da81f2ccd8 Fix CRLF
--HG--
branch : trunk
2010-01-05 16:18:27 -05: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
_manuel_
4c2ccf6ccc Corrected typo in script_texts, please re-import 6896_world_script_texts.sql. Thanks to Malcrom.
--HG--
branch : trunk
2010-01-05 14:55:39 -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_
cb9cb364d1 Shadowfang Keep: Implemented event after Boss Fenrus the Devourer death.
--HG--
branch : trunk
2010-01-04 23:13:17 -03:00
_manuel_
baf0cfa6d8 Zul'Farrak: Support for quest "The Spider Gold" q2936.
--HG--
branch : trunk
2010-01-04 00:08:00 -03:00
_manuel_
c4cbd1d18d Blackfathom Deeps: Implemented Morridune event.
--HG--
branch : trunk
2010-01-03 22:38:26 -03:00
_manuel_
8d051d9645 Blackfathom Deeps: Implemented event related with gameobject Fire of Aku'mai.
--HG--
branch : trunk
2010-01-03 15:55:42 -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
_manuel_
64aa9b3a6f Redridge Mountains: Support for quest "Missing in action" Q219.
--HG--
branch : trunk
2010-01-02 01:18:44 -03:00
n0n4m3
70f452a838 Fixed Glyph of Shadowfiend, by destros.
--HG--
branch : trunk
2010-01-01 07:06:47 +01:00
n0n4m3
875fb3500c Fixed spell Ignite, by Metaphysical.Drama.
--HG--
branch : trunk
2010-01-01 06:59:57 +01:00
n0n4m3
31cf494649 Added scripts for quests Get Me Outa Here(11673) and Escaping The Mist(11664), by alister, exul182
--HG--
branch : trunk
2009-12-30 18:58:22 +01:00
n0n4m3
a30fcb4660 Added missing sql update for prev commit
--HG--
branch : trunk
2009-12-30 18:44:29 +01:00
n0n4m3
72b7c5c69d Added script support for quest The Valiant's Challenge(13699), by alister
--HG--
branch : trunk
2009-12-30 18:42:55 +01: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_
5aa7a95314 Trial of the Champion: Rewrite of bosses Eadric and Paletress.
--HG--
branch : trunk
2009-12-27 22:28:28 -03: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
Brian
fb45a6a8ec * Remove char conversion SQL from 6805
* Only intended to update original conversion SQL

--HG--
branch : trunk
2009-12-26 23:27:10 -07:00
Brian
c2b107b34a * Update character conversion SQL for 3.1.3 to 3.2.2a
* Add new SQL for conversion
* Should no longer lose honor / arena points
* Thanks WarHead

--HG--
branch : trunk
2009-12-26 22:45:38 -07: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
28df19d205 Fixed spell Combustion
--HG--
branch : trunk
2009-12-26 17:38:54 +01:00
n0n4m3
9c6859332c Fixed damage from DK Bloodworms
--HG--
branch : trunk
2009-12-26 14:28:35 +01:00
n0n4m3
9d015dfce8 Fixed spell Reaping, thx Themris.
--HG--
branch : trunk
2009-12-26 13:56:32 +01:00
maanuel
a83ec4536c Trial of the Champion: Rewrite of Boss Black Knight script and Raisen Ghoul script.
--HG--
branch : trunk
2009-12-26 03:25:06 -03:00
n0n4m3
03d3f600af Implemented basic support instance Trial of the Champion. original autor Syntec, thx destros.
--HG--
branch : trunk
2009-12-25 17:14:02 +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
maanuel
7ea2510980 Zul'drak: Support for quest The Amphitheater of Anguish: Magnataur!.
--HG--
branch : trunk
2009-12-23 02:30:44 -03:00
maanuel
eccaad7b01 Zul'Drak: Improvements in scripts for quest chain The Amphitheater of Anguish. Now the Korrak movement is done with escortai.
--HG--
branch : trunk
2009-12-23 00:30:10 -03:00
p0wer
f305c4639e * Add missed change from last rev. Allow realmd.sql to run multiple times
* without error.

--HG--
branch : trunk
2009-12-22 19:40:46 -06:00
p0wer
a9740b9ef7 * Comment out adding accounts 1 2 and 3 to account_access since it is commented
* out in `account` as well. Thanks Sundark.

--HG--
branch : trunk
2009-12-22 19:36:58 -06:00
Brian
c2952763ba * removed a SQL file that was in the sql/ folder instead of the sql/updates
* folder. I must have been on crack, or more likely spent 20 hours straight
* working on 3.2.2a and was tired...

--HG--
branch : trunk
2009-12-22 17:43:06 -07:00
maanuel
ce3073111e Fixed realmd.sql, remove assigning the gmlevel when gmlevel isn't in account anymore by Sundark and zero389.
--HG--
branch : trunk
2009-12-22 15:03:33 -03:00
maanuel
d45852e338 Corrected sql name, sorry my typo.
--HG--
branch : trunk
2009-12-22 12:46:30 -03:00
p0wer
b4e1ee6355 Fix some whitespace errors. Corrected account_access 'id' type.
--HG--
branch : trunk
2009-12-21 21:21:39 -06:00
Brian
9d9fa2bcf3 * And yet more entries for the creature_classlevelstats table
* Thanks Malcrom

--HG--
branch : trunk
2009-12-22 00:51:44 -07: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
Brian
9c6b644624 * More updates for the creature_classlevelstats table
* Thanks Malcrom

--HG--
branch : trunk
2009-12-21 21:38:39 -07:00
Brian
023cb2644a * Add support for signed values in item_template fields: Flags, maxcount,
* stackable, BuyPrice, spellid_1, spellid_2, spellid_3, spellid_4, spellid_5,
* RandomProperty
* Patch by Kudlaty, SQL by Malcrom -- THANK YOU!

--HG--
branch : trunk
2009-12-21 14:54:43 -07:00
win32
3ab7f40932 Add spell proc for Glyph of Seal of Command
--HG--
branch : trunk
2009-12-21 18:05:51 +02:00
maanuel
3ace3eec86 Zul'Drak: Implemented random movement at spawn for creature 28526. To have a complete fix, apply the eventai scripts for quest "But First My Offspring", they are in tdb forum.
--HG--
branch : trunk
2009-12-21 00:46:49 -03:00
maanuel
cca69e1c7d Merge
--HG--
branch : trunk
2009-12-20 23:21:31 -03:00