6cf82048a5
Fix normal10/normal25 raid detection in scripts. Replace HEROIC(n,h) macro by DUNGEON_MODE(n,h), RAID_MODE(n10,n25) and RAID_MODE(n10,n25,h10,h25) functions Cleanup all HeroicMode like flags in ScriptedAI sub-class Fix some missing virtual destructors
Trazom622010-01-12 20:51:59 +01:00
aeb008d4ef
Set close and delete unknown packets - helps with DDOS atack. Print ip address and port for unknown packets(if debug mode on) - helps determine the ip address of the attacking.
n0n4m32010-01-12 21:08:40 +03:00
943b3195da
Fix stats table to update 2 missing health values by Malcrom.
_manuel_2010-01-12 15:03:31 -03:00
147def72eb
Sholazar Basin: Core support for quest Crocolisk Mastery: The Ambush .
_manuel_2010-01-12 14:12:48 -03:00
2168df1500
Missing updated file added for last commit. How about me saving the damn file before committing first...
teacher2010-01-13 09:49:51 +01:00
a3657794e8
world.sql finally updated to current rev. Finished renaming single sql update files.
teacher2010-01-13 09:46:19 +01:00
f39e058d9a
Second part of sql files renaming not following Trinity standard. Update world.sql too. Final part later today to complete the work.
teacher2010-01-13 08:34:51 +01:00
1b4f8af276
Zul'Drak: Trying to fix some crashes.
_manuel_2010-01-12 03:13:11 -03:00
4a366a5e6eCloses#292. Updates flag respawn timer from battlegrounds and updates max score and score warning from Eye of the Storm. Fix by naitsabes.s
_manuel_2010-01-12 02:14:05 -03:00
758baae61b
*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
QAston2010-01-12 00:14:09 +01:00
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.
teacher2010-01-12 21:06:54 +01:00
b2082db189
Do not compute incoming time for self casts.
Astellar2010-01-11 22:24:31 +03:00
ebc5901161
* Fix crash when there's no creature_classlevelstats entry for a creature level. * All this really does is fill in default values of 1.. If you got custom content, you'll have to fill in the creature_classlevelstats table yourself. This patch doesn't automagically fix stats for you.
XTZGZoReX2010-01-11 18:13:21 +01:00
2564f5470a
Fixes Issue #153. Earth Shield should not proc from positive spells. So flag PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL is removed.
Astellar2010-01-11 18:58:23 +03:00
378388d0a6
* Add support for .gobj target to output phaseMask * Thanks to Aokromes for the original idea of adding it to .npc info output.
Brian2010-01-10 19:03:47 -07:00
f05147a90f
* Aaaaand, the SQL for the last commit. All done by Malcrom <3.
XTZGZoReX2010-01-10 22:10:08 +01:00
a66152215e
* Add support for base armor values in creature_classlevelstats. * Change the table structure to be more core-friendly. * Remove armor field in creature_template and add Armor_mod field. * Also add static CreatureBaseStats::GetBaseStats() function for scripts.
XTZGZoReX2010-01-10 22:02:03 +01:00
997a861a41
* Fix a typo in spell id number - thanks to Visagalis for pointing this out.
QAston2010-01-10 21:40:13 +01:00
334de07dfbFixes#262. Do not keep area aura enemy targets in combat - 61248 doesn't bring whole northrend to Dalaran anymore:)
QAston2010-01-10 17:49:35 +01:00
f636bf12b9
Fixed quest 11881 by Kudlaty.
_manuel_2010-01-10 13:46:33 -03:00
5b6079ea67
*cleaned up SharedDefines
Rat2010-01-10 16:27:47 +01:00
74bd8084a0
dropped old code, which unused since new visibility system implemented
silver1ce2010-01-10 16:33:14 +02:00
903f975dc8
*fix spell: Tag Murloc (30877)
Rat2010-01-10 15:29:04 +01:00
feb7acf8aa
*spell_linked_spell entry for Deterrance. Resolves#237.
QAston2010-01-10 14:51:34 +01:00
3f6ad61905
*Correct code in npc_geezleAI which caused assertion fail.
QAston2010-01-10 13:54:48 +01:00
f9c4030f59
*Implement attribute SPELL_ATTR_NEGATIVE_1 *Remove unneeded hacks from SpellMgr::_isPositiveSpell *Missing ! in prev commit.
QAston2010-01-10 13:48:57 +01:00
eea50de960
now all aura updates are placed into one packet
silver1ce2010-01-10 13:52:13 +02:00
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
QAston2010-01-10 12:08:58 +01:00
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
QAston2010-01-10 01:23:15 +01:00
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.
Paradox2010-01-09 18:51:11 -05:00
a0f7762cab
Fix Drakarri Colossus: mojo stay passive only if colossus still alive
Trazom622010-01-09 14:19:00 +01:00
6933199257
call SetPosition when player relocated by movement generator. SetPosition should interrupt auras with movement or turn interrupt flags, update position for group, etc
silver1ce2010-01-06 12:26:18 +02:00
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
silver1ce2010-01-06 12:15:02 +02:00
55d9ff7e35
update cell search methtod (visiting grids by coords) the old way will miss the grids when non standart cell size used
silver1ce2010-01-05 20:34:50 +02:00
082e7bac47
DB update to have correct Windfury proc chance for already commited hack :)
Astellar2010-01-05 21:08:44 +03:00
4c2ccf6ccc
Corrected typo in script_texts, please re-import 6896_world_script_texts.sql. Thanks to Malcrom.
_manuel_2010-01-05 14:55:39 -03:00
a886552c85
Glyph of Blocking proc moved to DB.
Astellar2010-01-05 15:52:44 +03:00
53a7a7bd48
Cleanups for Devastate and Glyph of Devastate.
Astellar2010-01-05 14:36:06 +03:00
5f147e5fa2
SQL changes for previous commit.
Astellar2010-01-05 12:25:33 +03:00
a93b987637
Fixed Glyph of Sunder Armor.
Astellar2010-01-05 12:09:50 +03:00
21c9c6d5cc
uint8 does not allow to store values like 1000 and 2000. It is too small to do it.
Astellar2010-01-05 10:10:27 +03:00
cb9cb364d1
Shadowfang Keep: Implemented event after Boss Fenrus the Devourer death.
_manuel_2010-01-04 23:13:17 -03:00
a4895ce876
Fixed previous commit. Now elemental is despawned when totem is replaced.
Astellar2010-01-05 02:42:40 +03:00
51d0e0fa8c
Fixed Issue 10. Now summoned elemental is correctly despawned.
Astellar2010-01-05 01:46:22 +03:00
c2791f7d0e
fix Pain and Suffering (reduces the damage you take from your own Shadow Word: Death) and remove double dmg Shadow Word: Death
Win322010-01-04 15:53:19 +02:00
58bc8b44fc
* Removed useless check for items in DBC but not in DB.
Brian2010-01-03 11:18:38 -07:00
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.
XTZGZoReX2010-01-03 14:41:07 +01:00
073235ef1b
PHP script for merging new changes with your existing conf file automatically.
Paradox2010-01-02 19:19:42 -05:00