Commit Graph
100 Commits
Author SHA1 Message Date
silver1ce 0451e45e06 parse CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE opcode in proper way
--HG--
branch : trunk
2010-01-15 19:23:59 +02:00
Trazom62 b8ea34958c Fixes issue #214 : infinite loop in Maiden of Grief script
--HG--
branch : trunk
2010-01-15 18:16:33 +01:00
silver1ce e3edc52a2d Stop aura update packet spam, sorry about that
--HG--
branch : trunk
2010-01-15 15:08:06 +02:00
XTZGZoReX 6a21fbbc65 * Tiny cosmetic fix for last two commits.
--HG--
branch : trunk
2010-01-14 20:09:19 +01:00
XTZGZoReX 1fcafbc938 * Set creature_template.unit_class to 1 (UNIT_CLASS_WARRIOR) if the value is wrong to prevent issues in CreatureBaseStats::Generate*() functions.
--HG--
branch : trunk
2010-01-14 19:20:11 +01:00
teacher 9e432b8c4a Fix for Relic of the Earthen Ring quest (spell Totem of the Earthen Ring must be casted).
Thank you Nayre for the fix.

--HG--
branch : trunk
2010-01-14 18:51:31 +01:00
XTZGZoReX 20df99ae74 * Merge...
--HG--
branch : trunk
2010-01-14 18:33:27 +01:00
XTZGZoReX 91ee03d9bf * creature_template.unit_class cannot be 0 - added check for this.
--HG--
branch : trunk
2010-01-14 18:08:42 +01:00
thenecromancer a428293dae Issue 62: DK talent Impurity
Note that there are probably more of things having just "dummy effect".
This way to get them is quite slow (auras are at least sorted by their type) and probably some sort of modifier could be stored for them

--HG--
branch : trunk
2010-01-14 17:47:38 +01:00
thenecromancer 97576c68c4 Issue 322: build BG status packet and send it to player added to BG.
--HG--
branch : trunk
2010-01-14 11:22:52 +01:00
_manuel_ 1608a05ddb Fixed typo in FollowerAI.
--HG--
branch : trunk
2010-01-14 03:55:18 -03:00
_manuel_ a8b4a7bc37 Gnomeregan: Implemented Blastmaster Emi Shortfuse Event.
--HG--
branch : trunk
2010-01-14 03:48:48 -03:00
Spp 0077466598 two more duplicate DELETE FROM in Player::DeleteFromDB
--HG--
branch : trunk
2010-01-14 07:29:55 +01:00
XTZGZoReX 5045c637b3 * Remove duplicate DELETE FROM transaction in Player::DeleteFromDB for character_queststatus_daily. Thanks to manuel for reporting.
--HG--
branch : trunk
2010-01-13 18:41:08 +01:00
XTZGZoReX fef59c52ce * Merge.....
--HG--
branch : trunk
2010-01-13 18:26:52 +01:00
XTZGZoReX b2f98399d9 Backed out changeset: fced5e40fa1e
--HG--
branch : trunk
2010-01-13 18:26:07 +01:00
XTZGZoReX 53f9e0fba0 * Merge.
--HG--
branch : trunk
2010-01-13 18:25:46 +01:00
XTZGZoReX f5998611c3 Backed out changeset: 52e769d95f14
--HG--
branch : trunk
2010-01-13 18:24:23 +01:00
XTZGZoReX 5a9ef604e2 * Fix CRLF.
--HG--
branch : trunk
2010-01-13 18:22:31 +01:00
teacher c27674a327 Fix CRLF.
--HG--
branch : trunk
2010-01-13 18:20:16 +01:00
thenecromancer c53ecf6dad Fix Stealth Detection formula (Stealth auras are based on player level)
--HG--
branch : trunk
2010-01-13 18:15:24 +01:00
thenecromancer c3e87c3ba2 Merge
--HG--
branch : trunk
2010-01-13 17:38:37 +01:00
n0n4m3 f7ad3aefc8 Removed all my commits for today, this is hack? really? okey
--HG--
branch : trunk
2010-01-13 19:11:46 +03:00
n0n4m3 edeb6bf284 Use replace into for character saves. This prevent crash on SaveToDB cause mtmaps.
--HG--
branch : trunk
2010-01-13 15:01:39 +03:00
n0n4m3 1d015cac28 Fixed crash in load Pet Aura, cause mtmaps.
--HG--
branch : trunk
2010-01-13 14:52:56 +03:00
n0n4m3 f2dcf0270f Fixed high damage exploit
--HG--
branch : trunk
2010-01-13 14:48:19 +03:00
n0n4m3 7a4e793c02 Restore hack for instance dungeon difficulty reset exploit.
--HG--
branch : trunk
2010-01-13 14:45:56 +03:00
n0n4m3 92d3209ab2 Fixed spell Snake Trap, port from tc1, thx Frankir.
--HG--
branch : trunk
2010-01-13 14:40:23 +03:00
n0n4m3 7d988221f7 Allow apply spell mods for spell Eviscerate.
--HG--
branch : trunk
2010-01-13 14:33:28 +03:00
n0n4m3 0bcf3b32f1 Fixed insane damage from some spells in case of negative spell.
--HG--
branch : trunk
2010-01-13 14:31:57 +03:00
n0n4m3 067de4b5cc Fixed crash in HandleSetActiveMoverOpcode.
Removed not needed check and added check isinworld.

--HG--
branch : trunk
2010-01-13 14:23:25 +03:00
thenecromancer a11efab2a2 Fix character sheet showing wrong values for weapon dependant damage mods
--HG--
branch : trunk
2010-01-13 11:56:20 +01:00
thenecromancer 96a447dc8e Change only Body/Shield armor to count as base armor, and correctly add bonus armor on items as TOTAL_VALUE
This fixes various armor modifiers

--HG--
branch : trunk
2010-01-13 11:51:59 +01:00
thenecromancer efbc71746f Fix pickpocket - reveal rogue only if spell is resisted
--HG--
branch : trunk
2010-01-13 11:47:50 +01:00
thenecromancer 4b0d412e42 Some more casting requirements
*Not allow cast on invisible/stealth target if not detected
*Not allow banish/cyclone tapped unit
*Not allow pickpocket players and units that can never be pickpocketed
*Not allow disarm unarmed units

--HG--
branch : trunk
2010-01-13 11:45:54 +01:00
thenecromancer 91e1bf323d Generate rage when hitting critters/targets with absorb
--HG--
branch : trunk
2010-01-13 11:37:49 +01:00
thenecromancer f57f33eacf Fix Gargoyle movement when flying away
--HG--
branch : trunk
2010-01-13 11:27:41 +01:00
thenecromancer 531cd027aa Fix blink always teleporting to ground
--HG--
branch : trunk
2010-01-13 11:23:14 +01:00
thenecromancer e00fd0791b Send SMSG_TIME_SYNC_REQ periodicly (period guessed though)
--HG--
branch : trunk
2010-01-13 11:19:16 +01:00
thenecromancer ea4e25f3aa Implement vehicles created by player mounts.
Original idea by Elmaster, packet research by Wrong, ty.

--HG--
branch : trunk
2010-01-13 11:16:38 +01:00
thenecromancer db24e2927c Implement Sacred Shield bonus for Flash of Light, fix absorb being proced on taking heals
--HG--
branch : trunk
2010-01-13 10:47:51 +01:00
thenecromancer 83ddbf0f53 Fix updating spellpower from attack power for paladins
--HG--
branch : trunk
2010-01-13 10:46:01 +01:00
thenecromancer 8c5ece6420 Implement effect for aura #243 (temporary faction change)
--HG--
branch : trunk
2010-01-13 10:45:34 +01:00
thenecromancer b98fc794e4 Fix heal combat log event not displaying if heal was critical
--HG--
branch : trunk
2010-01-13 10:28:44 +01:00
thenecromancer c36a8d2d5f Change SPELL_EFFECT_SUMMON_PHANTAS to SPELL_EFFECT_FORCE_DESELECT and allow it to be casted with active pet
This fixes Mirror Image not changing names when Water Elemental is active. (Note that deselect effect is done in linked spells for Killing Spree/Shadowmeld)

--HG--
branch : trunk
2010-01-13 10:27:44 +01:00
thenecromancer a4cb03d9cd Remove unexpected arg, sorry for that
--HG--
branch : trunk
2010-01-13 10:20:28 +01:00
thenecromancer 8dd67e8bb3 Allow state/effect immunities ignore whole spell when one effect is immuned
(Fixes getting part of CC auras with some immunities)

--HG--
branch : trunk
2010-01-13 10:20:00 +01:00
thenecromancer 6b07806d0c Add support for additional passive for FORM_MOONKIN
--HG--
branch : trunk
2010-01-13 10:08:49 +01:00
thenecromancer 3af5237f8c Do not remove MOVEMENTFLAG_ONTRANSPORT when unit has existing GAMEOBJECT_TYPE_TRANSPORT in movement info
Note that this will fix movement on elevators only visualy ( server position is still going to be wrong )

--HG--
branch : trunk
2010-01-13 10:04:48 +01:00
thenecromancer ac4bab5451 Allow pet cast spells unaffected by global cooldown, while global cooldown is active
--HG--
branch : trunk
2010-01-13 10:03:09 +01:00
thenecromancer d8d346ef1f Apply haste to nonmagic class spells too. (For instance Arcane Missiles have dmgclass_none )
--HG--
branch : trunk
2010-01-13 09:58:44 +01:00
thenecromancer 2b94d181cd Check if precast spell exists before trying to cast it. (Otherwise charge-like spells spam console a lot)
--HG--
branch : trunk
2010-01-13 09:56:51 +01:00
thenecromancer ecd9470dc8 Fix Kill Shot damage (increase damage by attack power, not weapon damage ( that is already included in effects))
--HG--
branch : trunk
2010-01-13 09:54:03 +01:00
thenecromancer a3e66287bf Remove hack for Freezing Fog aura.
Instead apply modifier directly to rune cost ( this will also fix runic power generation in that case )

--HG--
branch : trunk
2010-01-13 09:49:37 +01:00
thenecromancer 44e2bfce77 Fix problems with action buttons related to switching specs
*saving spells without saving current talent map and m_activeSpec is not good idea at all,
this might allow players various exploits
*send expected packet to correctly handle action bar

--HG--
branch : trunk
2010-01-13 09:45:05 +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
Trazom62 445a603bef Fix ACTION_T_RANDOM_PHASE_RANGE. Thanks Nayre and raczman
--HG--
branch : trunk
2010-01-12 21:16:12 +01:00
Trazom62 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

--HG--
branch : trunk
2010-01-12 20:51:59 +01:00
n0n4m3 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.

--HG--
branch : trunk
2010-01-12 21:08:40 +03: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
_manuel_ 147def72eb Sholazar Basin: Core support for quest Crocolisk Mastery: The Ambush .
--HG--
branch : trunk
2010-01-12 14:12:48 -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 a3657794e8 world.sql finally updated to current rev.
Finished renaming single sql update files.

--HG--
branch : trunk
2010-01-13 09:46:19 +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
_manuel_ 1b4f8af276 Zul'Drak: Trying to fix some crashes.
--HG--
branch : trunk
2010-01-12 03:13:11 -03:00
_manuel_ 4a366a5e6e Closes #292. Updates flag respawn timer from battlegrounds and updates max score and score warning from Eye of the Storm. Fix by naitsabes.s
--HG--
branch : trunk
2010-01-12 02:14:05 -03:00
_manuel_ a7c23494c3 Fixed spell 44401 (Missile Barrage). Thanks to QAston.
--HG--
branch : trunk
2010-01-11 20:44:13 -03:00
QAston 758baae61b *Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
--HG--
branch : trunk
2010-01-12 00:14:09 +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 b2082db189 Do not compute incoming time for self casts.
--HG--
branch : trunk
2010-01-11 22:24:31 +03:00
XTZGZoReX 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.

--HG--
branch : trunk
2010-01-11 18:13:21 +01:00
Astellar 879948260f Fixed typo.
--HG--
branch : trunk
2010-01-11 20:01:16 +03: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
XTZGZoReX f05147a90f * Aaaaand, the SQL for the last commit. All done by Malcrom <3.
--HG--
branch : trunk
2010-01-10 22:10:08 +01:00
XTZGZoReX 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.

--HG--
branch : trunk
2010-01-10 22:02:03 +01:00
QAston 997a861a41 * Fix a typo in spell id number - thanks to Visagalis for pointing this out.
--HG--
branch : trunk
rename : sql/updates/6959_characters_character_aura.sql => sql/updates/6962_characters_character_aura.sql
rename : sql/updates/6959_characters_pet_aura.sql => sql/updates/6962_characters_pet_aura.sql
2010-01-10 21:40:13 +01:00
silver1ce 8c85caf41d Resolves #259 fixed crash, caused by incorrect cell_id generation
--HG--
branch : trunk
2010-01-10 22:28:36 +02:00
QAston bf33b9b494 *Merge after backout.
--HG--
branch : trunk
2010-01-10 21:24:39 +01:00
QAston 4374709a38 Backed out changeset 343bb9cc23ce - mistake fixed in last commit was the real problem.
--HG--
branch : trunk
2010-01-10 21:24:02 +01:00
QAston 929a43bb53 * Fix a mistake in boss_satharion script which gave players very usefull auras...
--HG--
branch : trunk
2010-01-10 21:19:04 +01:00
Astellar f41e837143 Addition to previous commit.
--HG--
branch : trunk
2010-01-10 22:42:41 +03:00
Astellar 40f70a8594 Fixed quest Catch and Release, some fixes for Tag Murloc spell.
--HG--
branch : trunk
2010-01-10 22:37:31 +03:00
QAston ef24d90472 * Make sure that aura is applied on unit before trying to remove it.
--HG--
branch : trunk
2010-01-10 20:09:44 +01:00
Astellar 4bd6d06e26 Fixed typo.
--HG--
branch : trunk
2010-01-10 22:01:18 +03:00
_manuel_ 17d4de192b Removed unnecessary sentence.
--HG--
branch : trunk
2010-01-10 15:39:18 -03:00
Paradox 6b05543087 All sql updates MUST have at least one newline at the end.
--HG--
branch : trunk
2010-01-10 13:29:24 -05:00
_manuel_ 8d4aad2636 Merge
--HG--
branch : trunk
2010-01-10 14:14:40 -03:00
_manuel_ 2eafa17483 Borean Tundra: Improvements in lurgglbrAI by Kudlaty.
--HG--
branch : trunk
2010-01-10 14:13:33 -03:00
QAston 2a5493a4bc *Merge
--HG--
branch : trunk
2010-01-10 17:50:20 +01:00
QAston 334de07dfb Fixes #262. Do not keep area aura enemy targets in combat - 61248 doesn't bring whole northrend to Dalaran anymore:)
--HG--
branch : trunk
2010-01-10 17:49:35 +01:00
_manuel_ f636bf12b9 Fixed quest 11881 by Kudlaty.
--HG--
branch : trunk
2010-01-10 13:46:33 -03:00
Trazom62 58927805f9 Fix Naxxramas Gluth timers. Thanks scarymovie87
Fixes #251

- Timers:
* EVENT_ENRAGE : Start 15 sec, Repeat 15 sec
* EVENT_SUMMON : Start 15 sec
- Code style : Replace "return;"s with "break;"s in switch-case
- Added comments for missing texts and hardcoded emote that should be done with a script text entry.

--HG--
branch : trunk
2010-01-10 17:29:37 +01:00
silver1ce 74bd8084a0 dropped old code, which unused since new visibility system implemented
--HG--
branch : trunk
2010-01-10 16:33:14 +02:00
QAston feb7acf8aa *spell_linked_spell entry for Deterrance. Resolves #237.
--HG--
branch : trunk
2010-01-10 14:51:34 +01:00
QAston 3f6ad61905 *Correct code in npc_geezleAI which caused assertion fail.
--HG--
branch : trunk
2010-01-10 13:54:48 +01:00
QAston f9c4030f59 *Implement attribute SPELL_ATTR_NEGATIVE_1
*Remove unneeded hacks from SpellMgr::_isPositiveSpell
*Missing ! in prev commit.

--HG--
branch : trunk
2010-01-10 13:48:57 +01:00
silver1ce eea50de960 now all aura updates are placed into one packet
--HG--
branch : trunk
2010-01-10 13:52:13 +02:00
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