Commit Graph
100 Commits
Author SHA1 Message Date
QAston e3ff6145ee * Use pair<uint32, uint64> lists instead of <Aura*> lists in Dispel/SpellSteal effects handlers (prevent reference to aura removed from unit)
* Correctly fill EffectStealBeneficialBuff list with Stackable/Chargeable auras

--HG--
branch : trunk
2010-01-10 12:08:58 +01:00
Anubisss 6cbe65eaa3 Fix a mem leak.
--HG--
branch : trunk
2010-01-10 11:20:52 +01:00
QAston c65aa45bc6 *Tabs to spaces
*Fix a type in CreatureEventAI.cpp from last rev

--HG--
branch : trunk
2010-01-10 02:12:02 +01:00
QAston 8417a4fee3 *Merge
--HG--
branch : trunk
2010-01-10 01:24:20 +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
Paradox 10df64be88 Add missing scripts to world_scripts_full script instance_trial_of_the_champion will still throw an error, until someone adds an instance template for it (map 530), and assigns the scriptname again.
--HG--
branch : trunk
2010-01-09 18:51:11 -05:00
Trazom62 a0f7762cab Fix Drakarri Colossus: mojo stay passive only if colossus still alive
--HG--
branch : trunk
2010-01-09 14:19:00 +01:00
Trazom62 41a19a5557 Fix Script: add missing initialization. Fixes #216
--HG--
branch : trunk
2010-01-09 14:18:06 +01:00
Trazom62 12f31a9e87 *Fix Drakarri Colossus event not starting
- didn't started if the colossus was spawn after the mojo
- avoid hard-coded coord

--HG--
branch : trunk
2010-01-09 13:05:47 +01:00
_manuel_ dcf4883b51 Implemented new event for EventAI, EVENT_T_RESET.
--HG--
branch : trunk
2010-01-08 14:40:55 -03:00
_manuel_ d4228470e4 Fixed typo by Corfiik. Now talent Tidal Waves should work.
--HG--
branch : trunk
2010-01-08 13:12:49 -03:00
XTZGZoReX c3e02980ef * Fix some more cases where movement flags were +'d together, instead of |'d.
--HG--
branch : trunk
2010-01-08 07:59:39 +01:00
_manuel_ 44de20cf3f Fixed typos in scripts from Trial of the Champion. Thanks to Spp.
--HG--
branch : trunk
2010-01-08 01:22:26 -03:00
_manuel_ d4b9cafb18 Deadmines: Implemented Mr.Smite chest event.
--HG--
branch : trunk
2010-01-07 20:47:34 -03:00
Astellar c239c380df Some Fixes for Earth Shield.
Now Dispel and Spellsteal effects will correctly dispel and steal Earth Shield's charges instead of entire aura.

--HG--
branch : trunk
2010-01-07 23:31:46 +03:00
Trazom62 4276bd87b9 fishing: send correct message when fish escape.
--HG--
branch : trunk
2010-01-07 20:16:16 +01:00
Astellar 4a6e9378de Added meaning for one unknown 3.2.0 column in Spell.dbc.
--HG--
branch : trunk
2010-01-07 20:56:09 +03:00
Spp 7fff2a72a1 Fix Essence of Wintergrasp apply conditions removed in 3.2.2 upgrade
--HG--
branch : trunk
2010-01-07 07:36:49 +01:00
silver1ce de414a2b19 solved problems, that came after 6b22e47d1c
--HG--
branch : trunk
2010-01-07 04:05:26 +02: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 3c3197ae71 Reverted commit ba4294dec1. n0n4m3 asked me to do it.
--HG--
branch : trunk
2010-01-06 20:43:41 +03:00
silver1ce 15618563ef merge
--HG--
branch : trunk
2010-01-06 12:27:52 +02:00
silver1ce 6933199257 call SetPosition when player relocated by movement generator.
SetPosition should interrupt auras with movement or turn interrupt flags, update position for group, etc

--HG--
branch : trunk
2010-01-06 12:26:18 +02:00
silver1ce f82d5cb3fc fixed the bug that GetVmapHeight returns incorrect height on terrains(flying units fall below map etc)
also unlocked max ray lenght for getHeight, by default it's 10 yards

--HG--
branch : trunk
2010-01-06 12:15:02 +02:00
_manuel_ c454c2a15a Merge :(
--HG--
branch : trunk
2010-01-05 21:50:11 -03:00
_manuel_ 0bd566213a Halls of Stone: Prevents Brann Bronzebeard stuck in combat.
--HG--
branch : trunk
2010-01-05 21:49:48 -03:00
Astellar b56b2c2a43 Fixed Issue 11. Now combo points are kept when finishing move misses. Revert it if it's wrong.
--HG--
branch : trunk
2010-01-06 00:26:15 +03:00
Paradox da81f2ccd8 Fix CRLF
--HG--
branch : trunk
2010-01-05 16:18:27 -05:00
silver1ce 4a0af0314e typo
forget that cell area used not only in cell visit functions

--HG--
branch : trunk
2010-01-05 21:48:12 +02:00
silver1ce fa7920a0dd fix my typo
--HG--
branch : trunk
2010-01-05 21:40:42 +02:00
silver1ce 55d9ff7e35 update cell search methtod (visiting grids by coords)
the old way will miss the grids when non standart cell size used

--HG--
branch : trunk
2010-01-05 20:34:50 +02: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 53a7a7bd48 Cleanups for Devastate and Glyph of Devastate.
--HG--
branch : trunk
2010-01-05 14:36:06 +03:00
Astellar 5f147e5fa2 SQL changes for previous commit.
--HG--
branch : trunk
2010-01-05 12:25:33 +03:00
Astellar a93b987637 Fixed Glyph of Sunder Armor.
--HG--
branch : trunk
2010-01-05 12:09:50 +03:00
Astellar 21c9c6d5cc uint8 does not allow to store values like 1000 and 2000. It is too small to do it.
--HG--
branch : trunk
2010-01-05 10:10:27 +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
Astellar a4895ce876 Fixed previous commit. Now elemental is despawned when totem is replaced.
--HG--
branch : trunk
2010-01-05 02:42:40 +03:00
Astellar 51d0e0fa8c Fixed Issue 10. Now summoned elemental is correctly despawned.
Try to find a better place for such check...

--HG--
branch : trunk
2010-01-05 01:46:22 +03:00
Astellar 39746981c7 Fixed Glyph of Lightwell.
--HG--
branch : trunk
2010-01-04 21:48:42 +03:00
Win32 c2791f7d0e fix Pain and Suffering (reduces the damage you take from your own Shadow Word: Death)
and remove double dmg Shadow Word: Death

--HG--
branch : trunk
2010-01-04 15:53:19 +02:00
Win32 e8ebeff6bf fix Restorative Totems
--HG--
branch : trunk
2010-01-04 11:05:19 +02: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
p0wer 2ceecaaa4d Fix GO crash in boss_arlokk script.
Remove irrelevant TODO comment.

--HG--
branch : trunk
2010-01-03 14:32:48 -06: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
XTZGZoReX a6f7a8264e * Update structure for SMSG_CALENDAR_SEND_CALENDAR and add support for sending raid reset times. Thanks to raczman for helping with the client research.
--HG--
branch : trunk
2010-01-03 14:41:07 +01:00
Paradox 073235ef1b PHP script for merging new changes with your existing conf file automatically.
--HG--
branch : trunk
2010-01-02 19:19:42 -05: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_ 57206499fb The core should add the movementflags depending on the InhabitType.
--HG--
branch : trunk
2010-01-02 13:15:29 -03:00
_manuel_ c492488d58 Redridge Mountains: Fixed complete problem for quest "Missing in action" q219.
--HG--
branch : trunk
2010-01-02 02:47:31 -03:00
_manuel_ ac340450e7 Prevent crash in ShadowfiendAI.
--HG--
branch : trunk
2010-01-02 02:22:47 -03:00
_manuel_ 64aa9b3a6f Redridge Mountains: Support for quest "Missing in action" Q219.
--HG--
branch : trunk
2010-01-02 01:18:44 -03:00
p0wer 327e371e48 Fix unknown error message for summoned fire elemental and risen ghoul.
--HG--
branch : trunk
2010-01-01 19:37:52 -06:00
p0wer 17e4fbd4ad Make the core boot alot cleaner. Fix some formating. Make custom attributes for spells show a bar and how much they are loading.
Overall fix 99% of display issues while core is booting.

--HG--
branch : trunk
2010-01-01 14:19:29 -06:00
n0n4m3 f497ae3ae0 Fixed instance reset when high server uptime, thx Wowka321
--HG--
branch : trunk
2010-01-01 17:29:53 +01:00
n0n4m3 70f452a838 Fixed Glyph of Shadowfiend, by destros.
--HG--
branch : trunk
2010-01-01 07:06:47 +01:00
n0n4m3 ca8d0e2ca8 Fixed Ebon Hold taxi for Alliance, by seirgy.
--HG--
branch : trunk
2010-01-01 07:02:42 +01:00
n0n4m3 875fb3500c Fixed spell Ignite, by Metaphysical.Drama.
--HG--
branch : trunk
2010-01-01 06:59:57 +01:00
n0n4m3 3c8c104781 Fixed spell Borrowed Time, by Metaphysical.Drama.
--HG--
branch : trunk
2010-01-01 06:56:39 +01:00
n0n4m3 bec67fd68e Fixed spell Glacier Rot, by Metaphysical.Drama.
--HG--
branch : trunk
2010-01-01 06:54:50 +01:00
n0n4m3 6d553237d5 Fixed spell Tundra Stalker, by Metaphysical.Drama.
--HG--
branch : trunk
2010-01-01 06:54:09 +01:00
p0wer 682cc9e034 Update DBCFilesCount to the current amount of DBC files. Also, if locale tables are empty, they will no longer display anything.
--HG--
branch : trunk
2009-12-31 18:49:13 -06:00
p0wer c3d7bffc14 Add support for TARGET_UNIT_DRIVER where the target must be controlling a vehicle. Should fix 63665 used for ToC.
--HG--
branch : trunk
2009-12-31 17:30:09 -06:00
_manuel_ ebe7b29987 Implemented function CheckPlayerCondition, it will be used before the player enters in vehicles. Now vehicles Argent Warhorse and Argent Battleworg can't be used if the player dosen't have Argent Lance eqquiped.
--HG--
branch : trunk
2009-12-31 17:59:56 -03:00
_manuel_ c06e2401a9 Duskwood: Corrected wrong spell. Author: kb_z
--HG--
branch : trunk
2009-12-31 02:13:30 -03:00
_manuel_ 9676a05e03 Added vehicles for Grand Champion Bosses. It needs db support for vehicleids.
--HG--
branch : trunk
2009-12-30 18:19:59 -03:00
Anubisss bdd30a6865 Fix 3 memleakz.
--HG--
branch : trunk
2009-12-30 20:24:18 +01:00
n0n4m3 b757b7e201 Missing changes...
--HG--
branch : trunk
2009-12-30 18:59:51 +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
Anubisss 29e0ac5377 Fix a memory leak.
--HG--
branch : trunk
2009-12-30 17:35:49 +01:00
Anubisss 0d76a29101 Some typos again in Moroes.
--HG--
branch : trunk
2009-12-30 17:03:14 +01:00
Anubisss c2f891e5a2 Fix a typo in Moroes' script.
--HG--
branch : trunk
2009-12-30 15:18:28 +01:00
n0n4m3 ba35715676 Fixed some crash, cause instance scripts
--HG--
branch : trunk
2009-12-30 08:40:11 +01:00
Anubisss 1a51f16434 Rewrite script of Phase Hunter. Now the mob has a more better AI and also this patch fixes quest Recharging the Batteries.
--HG--
branch : trunk
2009-12-30 05:00:56 +01:00
Anubisss 6b997f35af Implement Glyph of Divine Storm. Based on zajast's patch.
--HG--
branch : trunk
2009-12-29 23:53:00 +01:00
Anubisss cd824b50fe Implement Glyph of Circle of Healing.
--HG--
branch : trunk
2009-12-29 21:48:01 +01:00
XTZGZoReX d847e1db2a * Remove ConfVersion from the config files. It is considered the end-user's responsibility to check for config file changes.
--HG--
branch : trunk
2009-12-29 19:20:14 +01:00
XTZGZoReX 8ca7410c35 * Little leftover...
--HG--
branch : trunk
2009-12-29 19:03:25 +01:00
XTZGZoReX 2159602f27 * Remove useless CheckDB functionality. This does not belong in core in any shape or form.
--HG--
branch : trunk
2009-12-29 18:25:21 +01:00
n0n4m3 5b975766f5 Removed not needed gomp from cmakefiles
--HG--
branch : trunk
2009-12-29 17:56:43 +01:00
Anubisss df88de1f2a Fix 3 memory leakz.
--HG--
branch : trunk
2009-12-29 16:02:40 +01:00
p0wer 744c514b89 Fix Tidal Waves proc amount. After casting (Lesser) Healing Wave twice the buff will be removed.
--HG--
branch : trunk
2009-12-28 21:09:16 -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
XTZGZoReX 9545a7cd48 * Merge...
--HG--
branch : trunk
2009-12-29 00:28:30 +01:00
XTZGZoReX 03890fbe48 * Partial revert of [6833 : 970affc03278] - code style fixes + a warning fix preserved. Don't ask me why, but apparently time CAN be negative in TC. Funny stuff.
--HG--
branch : trunk
2009-12-29 00:27:44 +01:00
p0wer c833ff59e1 Forgot to add the new header to SpellAuras.cpp in last commit. Sorry about that. Thanks Kiper.
--HG--
branch : trunk
2009-12-28 15:40:56 -06:00
p0wer 31e96989ea Fix Wintergrasp no fly zone to remove your mount instead of just giving a parachute but not dismounting you.
Also switch around the condition inside the if statement to fit the standard.

--HG--
branch : trunk
2009-12-28 15:25:54 -06:00
XTZGZoReX a5f681fe9e * Time, by definition, cannot be negative for a timer, so this should be uint32, not int32. :)
--HG--
branch : trunk
2009-12-28 21:23:31 +01:00
p0wer afde5e0207 Fix warning. Don't use UI64LIT with the & operator.
--HG--
branch : trunk
2009-12-28 12:50:35 -06:00
n0n4m3 f9290edc71 Fixed possible crash, by toshik
--HG--
branch : trunk
2009-12-28 06:53:39 +01:00
_manuel_ 0a105ddade Removed tabs.
--HG--
branch : trunk
2009-12-27 22:42:56 -03:00
_manuel_ 5aa7a95314 Trial of the Champion: Rewrite of bosses Eadric and Paletress.
--HG--
branch : trunk
2009-12-27 22:28:28 -03:00
p0wer 942ea8433e Modify simple registration form to add the option for WOTLK. Will do same for more advanced form later.
--HG--
branch : trunk
2009-12-27 19:04:13 -06:00
p0wer 0aef7ea793 Fix Mind Blast applying Mind Trauma. Will now proc. Thanks to Morpheux for
pointing out that it wasn't proccing.

--HG--
branch : trunk
2009-12-27 18:38:09 -06:00