Commit Graph

1285 Commits

Author SHA1 Message Date
maximius
52bab5854f *Fix a crash in Object.h
*Fix action button saving
*Fix a crash on item swap in guild bank
*Fix exploit moving after death in Unit.cpp
*Fix assert fail at grid load in Creature.cpp
Thanks Sisif for these! :)

--HG--
branch : trunk
2009-10-31 02:14:25 -07:00
maximius
73fd6dbba6 *Make mtmaps a bit more stable, particularly when it updates players.
*Do some better cleanup on spec switching (should no longer strip away all auras, forcing a relog), unsummon totems, clear combo points, etc.
*Cleanup and optimization.

--HG--
branch : trunk
2009-10-30 22:52:37 -07:00
Kudlaty
22f349d2b5 Clean up last commit
--HG--
branch : trunk
2009-10-31 03:35:34 +01:00
Kudlaty
717f1aefc9 *Change virtual bool IsEscorted in escort_ai.h to check if creature is escorted or not
*If creature use POINT_MOTION_TYPE, sethomeposition in combat start point

--HG--
branch : trunk
2009-10-31 03:33:04 +01:00
maximius
e6e621bfad *Add virtual bool IsEscorted() to escort_ai.h
*Some minor cleanup and optimization

--HG--
branch : trunk
2009-10-30 18:54:38 -07:00
Kudlaty
98d53f6a9d Fix Feeding Frenzy, Cobra Reflexes, Cornered. Now they are active only when victim hp is below certain percentage. Patch by thenecromancer, updated by krz
--HG--
branch : trunk
2009-10-31 01:50:52 +01:00
Anubisss
d9530eea57 *Fix this part of Rime: "Obliterate has a 15% chance to reset the cooldown on Howling Blast". Patch by thenecromancer.
--HG--
branch : trunk
2009-10-24 00:40:11 +02:00
Machiavelli
803da775f4 Use correct check in BuildMovementPacket to determine if creature can fly. Based on [8647] by NoFantasy
--HG--
branch : trunk
2009-10-23 16:08:33 +02:00
maximius
d22768a6b5 *Cleanup
--HG--
branch : trunk
2009-10-18 18:38:46 -07:00
maximius
3a48de01e7 *Cleanup 649167cf44ca
--HG--
branch : trunk
2009-10-18 17:04:54 -07:00
maximius
9cd569b3f5 *Effects which increase Bleed damage also increase Shred damage, changes by thenecromancer
--HG--
branch : trunk
2009-10-18 16:56:14 -07:00
maximius
3245addf0e *Backed out changeset 22566e4b7926
--HG--
branch : trunk
2009-10-18 04:14:59 -07:00
maximius
970405aca5 *Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash.
--HG--
branch : trunk
2009-10-17 22:51:00 -07:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
d088564403 *Cleanup, and fix a likely infinite loop, thanks thenecromancer
--HG--
branch : trunk
2009-10-17 04:33:11 -07:00
maximius
a641b82f03 *Fix several typos.
--HG--
branch : trunk
2009-10-17 03:52:49 -07:00
maximius
46f2faf1f3 *Cleanup, remove all positive auras (ie: buffs from another spec) on spec change.
--HG--
branch : trunk
2009-10-17 02:52:10 -07:00
maximius
6dc187627d *Cleanup.
--HG--
branch : trunk
2009-10-15 14:03:55 -07:00
maximius
47079eb853 *Improved Fire Nova Totem & Earthen Power, patch converted by QuaLiT1
--HG--
branch : trunk
2009-10-15 00:10:54 -07:00
maximius
e490c33725 *Some cleanup, change some illogical conditions (if you can attack your target is no reason to ignore the target, o_O)
--HG--
branch : trunk
2009-10-13 19:48:35 -07:00
maximius
9fdc4e137b *Don't require AI for waypoint creatures. Hopefully this will fix the NPCs outside of Shadow Labyrinth never entering combat unless a player attacks them.
--HG--
branch : trunk
2009-10-13 19:11:34 -07:00
maximius
8a5ac3834d *Wintersgrasp - prevents team from using vehicles to damage their own buildings, by Spp
*Wintersgrasp - restore proper faction of units in Unit::RestoreFaction(), don't just always use faction_A, by Spp

--HG--
branch : trunk
2009-10-13 16:16:45 -07:00
maximius
8d59bf8179 *Bitwise logic does not work on values that are not bitmasks. Thanks Spp for pointing this block of code out :)
--HG--
branch : trunk
2009-10-12 13:50:47 -07:00
biglad
dfc2945961 * add a missed line when backing out ArP changes, (it was commented out anyway)
--HG--
branch : trunk
2009-10-10 17:44:07 +01:00
Machiavelli
fe5a3e3c43 * Backout a part of the latest Mangos merge, armor penetration related. Please first check whether or not we need the code, then test it, then push to repo, one change per commit.
--HG--
branch : trunk
2009-10-10 18:19:34 +02:00
maximius
b4c7a2514d *Blackfathom Deeps - Event: Aku'mai, by Tartalo
*Split Personality Achivement, by Destalker
*Halls of Lightning Fixes, by Destalker
    Volkhan fixes + Achievement
    Ionar Fix - without this he resets each time he is invisible, spamming sparks
    Arcing Burn - should be a debuff (and stackable, stackable part NYI :/)
*Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom
*Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass
*Merges by Stryker, thanks to all authors and testers.
[8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos
[8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos
[8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal
[8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal
[8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy
[8536] Fixed spell 62776. By: Ambal
[8539] Check pet aura range at area aura update. By: Ambal
[8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok
[8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok
[8561] Replace another auras code call by explicit code
[8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok

--HG--
branch : trunk
2009-10-09 20:48:55 -07:00
Chaz Brown
ad9eb5e89d * Some changes to scarlet ghouls script, still needs proper core support to work 100% correctly.
* Add item script for the harvester's gift, to prevent creating more than 5 scarlet ghouls, I know this can be done in a better way, but, I couldn't figure out how.
* Add new function Unit::GetAllMinionsByEntry(std::list<Creature*>& Minions, uint32 entry) used to correctly count how many scarlet ghouls a player has, can probably be handy in other situations.

--HG--
branch : trunk
2009-10-09 13:49:41 -04:00
Machiavelli
89b384618d * Seal of Command should not only proc on melee abilities as 3.1.3 sources show
--HG--
branch : trunk
2009-10-08 19:59:21 +02:00
Machiavelli
8aae7e2d09 * missed changes to last commit (sorry)
--HG--
branch : trunk
2009-10-07 20:39:52 +02:00
maximius
ee3b64aed6 *Some cleanup.. irritating aura system -_-
--HG--
branch : trunk
2009-10-06 19:16:28 -07:00
maximius
040cc4630d *Merge [8525] Implement glyph 45775, Author: Shendor
--HG--
branch : trunk
2009-10-06 18:39:43 -07:00
Machiavelli
3bbc0d3324 Merge
--HG--
branch : trunk
2009-10-06 17:12:06 +02:00
Machiavelli
2cd66e90c2 * Do not let Seal of Command proc on anything other than a melee swing.
* Fix Judgement of Blood/Martyr dummy by nos4r2zod
* Fix Judgement of Command dummy by nos4r2zod

--HG--
branch : trunk
2009-10-06 17:09:11 +02:00
Biglad
5722d5c402 * Update death checks to prevent death in ghost form, this "should" finnaly fix the perma death bug
--HG--
branch : trunk
2009-10-06 15:15:26 +01:00
Machiavelli
ea4bac68f3 * Fix Blood Presence / Improved Blood Presence, recent client version changed the spell so it should also heal from damaging targets that would not give experience or honor.
* Fix typo in 5813_world_command.sql

--HG--
branch : trunk
2009-10-05 23:58:37 +02:00
Biglad
7bbb292352 * Add better check for hitting dead object with spells (ie skinning and players can be skinned), this looks like its fix's dieing as a ghost, more testing needed
--HG--
branch : trunk
2009-10-05 15:23:25 +01:00
maximius
3dc4df381f *Temporary fix to permadeath issue.. still uncertain why this was happening at all...
--HG--
branch : trunk
2009-10-02 05:45:08 -07:00
maximius
2b555a1ab9 *Typo fix.
--HG--
branch : trunk
2009-10-02 01:44:07 -07:00
maximius
3c270f97ee *Fix typo, and try to avoid killing the dead..
--HG--
branch : trunk
2009-10-02 01:06:06 -07:00
maximius
b832355b45 *Always set health to 0 if dead. No exceptions.
--HG--
branch : trunk
2009-10-01 22:51:43 -07:00
maximius
f8060fed5a *Gift of the Naaru healing fix (now healing bonus is 1/5th AP, as it should be), by Destalker
*Proper Svala ID after transformation, by SoulForge

--HG--
branch : trunk
2009-10-01 22:12:42 -07:00
maximius
4b79217bef *Passive targets under attack by players are not ideal targets for hostile creatures, so avoid them.
--HG--
branch : trunk
2009-09-29 15:13:46 -07:00
maximius
21f08bff8e *Fix a crash in boss_svala.cpp + fix build
--HG--
branch : trunk
2009-09-29 01:36:01 -07:00
maximius
aa5e2d3b28 *The enemy of my enemy is my friend.
*Correct some reversed parameter ordering (team and vehId were swapped)

--HG--
branch : trunk
2009-09-29 01:16:08 -07:00
maximius
0a9addd224 *Attempt to fix a crash, and sanitize some input.
--HG--
branch : trunk
2009-09-28 15:48:03 -07:00
maximius
339c2896b2 *Make sure the target actually has a victim, otherwise checking hostility is pointless.
--HG--
branch : trunk
2009-09-27 19:22:42 -07:00
maximius
15dbc456bb *If our target of choice is attacking a player, only attack our target if we are friendly towards that player.
*Only regenerate quickly if polymorphed.

--HG--
branch : trunk
2009-09-27 19:11:52 -07:00
maximius
f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00