Commit Graph

66 Commits

Author SHA1 Message Date
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
Machiavelli
b059ff3839 * Do not make nonphysical damage spells that use EffectWeaponDmg (like Seal of Command) receive total damage mod % auras twice - based on nos4r2zod's patch for MaNGOS
--HG--
branch : trunk
2009-10-07 19:34:20 +02:00
maximius
8ccf471bcb *Force creatures to choose a new, random model on spawn/respawn
*Change the damage formula to include weapon min/max damage.. previous method did not work properly at all.

--HG--
branch : trunk
2009-09-23 22:09:20 -07:00
maximius
3fce346a52 *New damage formula, Hogger will no longer dominate your level 20 characters!
--HG--
branch : trunk
2009-09-23 19:10:46 -07:00
maximius
333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
maximius
140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
megamage
9d161ff757 [8449] Deprecate healing/damage item mods and merge internal data in to spell power. Author: VladimirMangos
* Report at loading about deprecated ITEM_MOD_SPELL_HEALING_DONE and ITEM_MOD_SPELL_DAMAGE_DONE
      and drop support code.
    * Merge healing/damage base spell bonus fields and function to spell power field/function.

--HG--
branch : trunk
2009-09-02 18:11:11 -05:00
QAston
b8993423b5 *Implement aura type SPELL_AURA_MOD_CRIT_PCT(290).
--HG--
branch : trunk
2009-08-17 16:30:14 +02:00
megamage
feba13e650 *change SPELL_AURA_MOD_ARMOR_PENETRATION_PCT to reduce armor on target and add cap amount of armor reduced by armor penetration rating By thenecromancer
--HG--
branch : trunk
2009-08-10 15:32:08 -05:00
megamage
e657f65f2b merge
--HG--
branch : trunk
2009-08-09 15:13:21 -05:00
megamage
c033cfc39a Backed out changeset: 43d0f185abe2
--HG--
branch : trunk
2009-08-09 15:11:04 -05:00
megamage
a94cccbf4d [8237] Apply attack power multiplier to creature bonus attackpower. Author: Lynx3d
Note: mindmg/maxdmg in creature_template expected including attackpower part in its.
    attackpower field only show part of attackpower not affected by AP multiplier.

    Thanks also to Seizer for take part in reseach and patch review.

--HG--
branch : trunk
2009-07-30 11:02:07 +08:00
Machiavelli
2ce88f44aa * Update creature damage calculation by synchronising Creature::UpdateAttackPowerAndDamage and Creature::UpdateDamagePhysical with MaNGOS.
--HG--
branch : trunk
2009-06-22 23:53:37 +02:00
Machiavelli
2c7799bfef Backed out changeset 8569b2063da0
--HG--
branch : trunk
2009-06-22 22:44:07 +02:00
Machiavelli
9aa33f7a7b [7904] Change creature damage calculation formula. Author: Seizerkiller.
--HG--
branch : trunk
2009-06-22 22:04:24 +02:00
megamage
39d3b492fe *Update creature damage calculation.
--HG--
branch : trunk
2009-06-19 17:13:36 -05:00
QAston
30d0b2ed5f *Fix raise dead spell - original patch by Astellar, thanks for some help in conversion for Azrael
*Correctly apply spell cooldown for spells with cooldown starting after pet unsummon.

--HG--
branch : trunk
2009-06-18 14:17:11 +02:00
megamage
d805e89091 *Update creature melee damage calculation.
--HG--
branch : trunk
2009-06-17 13:34:49 -05:00
QAston
ab06dcc442 "*Fix Kindred Spirits.
*Fix typo causing auras SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR to modify ap with too big amount.

--HG--
branch : trunk
2009-06-16 22:46:17 +02:00
megamage
aaec3c8191 [8024] Implement SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR(285). Author: Beaste
Also drop outdated support code for 61216 and ranks.
    This implement work talents 61216 and 48978 with ranks.

--HG--
branch : trunk
2009-06-16 11:02:37 -05:00
QAston
2e6db5421e *Fix aura type 280.
--HG--
branch : trunk
2009-06-16 15:29:07 +02:00
megamage
724e5fe5ce [7970] Update test for spell 16972 and ranks (now if have 2 dummy effect but need effect 0 in check place) Author: VladimirMangos
--HG--
branch : trunk
2009-06-06 20:25:30 -05:00
megamage
d0878ec414 *Fix the bug that shaman/druid/mage pets do not have scaled stats
--HG--
branch : trunk
2009-06-01 23:45:00 -05:00
megamage
670a901fe1 Warlock pet scaling off Lock stats. By arcx and nesocip
--HG--
branch : trunk
2009-06-01 21:59:55 -05:00
megamage
451471d438 [7904] Change creature damage calculation formula. Author: Seizerkiller
* Add new creature_template field `dmg_multiplier`
    * Make attackpower include in creature damage not dependent from attack speed.

    NOTE: included in sql update recalculation for creature damage related fields only make
    temporary possible usable values. Real values need revisited by DB devs for correctness.

--HG--
branch : trunk
2009-05-28 18:29:59 -05:00
megamage
de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
QAston
49b5e021ca *Correct formula for mana regen from items during 5SR.
--HG--
branch : trunk
2009-04-15 21:06:22 +02:00
QAston
829b7a4536 *Fix power update after spellcast - by w12x
*Some cleanups in Player::UpdateManaRegen.

--HG--
branch : trunk
2009-04-14 17:22:35 +02:00
QAston
20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
QAston
e376e2c940 *Fix possible bug with sending healing and damage bonuses to client.
--HG--
branch : trunk
2009-03-10 19:41:58 +01:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
6e84a2f3a5 [7264] Use AP fields as signed integer
Signed-off-by: DiSlord <dislord@nomail.com>

--HG--
branch : trunk
2009-02-11 11:53:35 -06:00
megamage
848af42918 [7263] Fixed AP calculation in some cases
Fixed use AP dynamic mods (bonuses from stats)
    Apply ITEM_MOD_ATTACK_POWER for ranged AP
    Implement feral AP from weapon dps for druids

    Signed-off-by: DiSlord <dislord@nomail.com>

--HG--
branch : trunk
2009-02-11 11:51:17 -06:00
QAston
a38297f28f *Handle aura SPELL_AURA_MECHANIC_IMMUNITY_MASK.
*Fix a typo in ap bonus from stat calculation-thanks to megamage for pointing this.

--HG--
branch : trunk
2009-02-06 23:01:07 +01:00
QAston
e920c9d1ab *Handle aura SPELL_AURA_MOD_HOT_PCT.
--HG--
branch : trunk
2009-02-06 22:08:03 +01:00
QAston
ecfe941941 *Some code optimize.
--HG--
branch : trunk
2009-02-06 21:53:04 +01:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
QAston
9c560802cd *Handle disarm offhand and ranged weapon, since now disarm affects all bonuses given by item.
--HG--
branch : trunk
2009-02-03 15:56:07 +01:00
megamage
02c060be05 *Update to Mangos 7100.
--HG--
branch : trunk
2009-01-17 17:54:11 -06:00
megamage
1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
megamage
5c8f52d134 *Update to Mangos 7059.
--HG--
branch : trunk
2009-01-09 16:06:17 -06:00
megamage
037fe52845 *Apply owner damage bonus to melee damage rather than spell damage for druid's and shaman's pets.
--HG--
branch : trunk
2009-01-09 09:39:59 -06:00
megamage
3797d15426 *Mangos [7019] Fix AP/RAP bonus from stat at aura apply/remove. Not use CLASSMASK_WAND_USERS mask for AP bonus. By DiSlord.
*Mangos [7020] Initilize glyph order at loading/reset. This must fix problems with glyph use for old(converted) characters. By VladimirMangos.

--HG--
branch : trunk
2009-01-04 09:54:21 -06:00
megamage
f1d6134320 *Mangos [7018] Update melee AP dependence for shaman class. By 123qwe.
Add transaction guards for account data save DELETE/INSERT pair. By VladimirMangos.

--HG--
branch : trunk
2009-01-03 20:20:45 -06:00
megamage
7346ed5951 *Merge to Trinity 673.
--HG--
branch : trunk
2008-12-26 16:27:41 -06:00
megamage
7438fc6dd7 *Make the pets of shaman and druid stronger and gain bonus damage from owners' spell damage.
--HG--
branch : trunk
2008-12-25 10:35:24 -06:00