Commit Graph
29 Commits
Author SHA1 Message Date
Chaplain fb1ac16b0c Core/Misc: Some fixes here and there
Closes #7277
2012-08-20 11:05:50 +02:00
Chaplain 716e2db0e1 Core/Misc: Code-style + some const methods. 2012-06-21 21:05:45 +03:00
Chaplain 4e9de61e97 Core/MapManager: Fix logic in SetMapUpdateInterval() 2012-05-21 13:28:37 +03:00
Chaplain 469ba0b0e7 Clean up for 58f63509cd
*restore const methods in spellauraeffects
*fix typo in Unit::CalculateMeleeDamage thx bytewarrior
*minor speed up in SpellInfo::GetMaxTicks() thx Warpten
*deleted duble ';;' thx bytewarrior
*speed up in SpellInfo::GetMaxTicks() thx goes to Vincent-Michael
2012-05-10 20:42:07 +03:00
Chaplain d94a89c465 Clean misused m_canBeRecalculated.
*When we solve problem with m_amount we could make right solution for caster/victim damage calculation.
2012-05-04 18:35:11 +03:00
Chaplain 879070bc80 Core/Spells: Separation caster/target part damage/heal bonus calculations.
*Implement HoT/DoT save caster side bonuses and apply target mods on each tick
2012-04-28 23:32:25 +03:00
Chaplain af90546835 Core/Movement: Fix MoveJump handling.
*Closes #5238 issue
*Fix possible crash in MotionMaster
2012-02-17 00:19:14 +03:00
Chaplain accea2b44e Core/Movegen: Added missing part in ChaseMovementgenerator and minor logic fix in MotionMaster::MoveJump() 2012-01-18 18:42:25 +03:00
Chaplain 86104943cb Core/MotionMaster: Fix logic in MoveLand() and MoveTakeoff() 2012-01-18 16:26:45 +03:00
Chaplain 47b6862302 Merge branch 'master' of [email protected]:TrinityCore/TrinityCore.git 2012-01-16 14:03:07 +03:00
Chaplain 6bb48a2a87 Core/Movegen: Fix logic in WaypointMovementGenerator<Creature>::StartMove 2012-01-15 21:25:03 +03:00
Chaplain 99c8399772 Dependencies/G3D: Fix typo in isNaN(float x).
*In original G3D svn it was fixed long time ago.
2012-01-14 13:40:29 +03:00
Chaplain a535e451a8 Core/Spells: Fix issue in CAST_FLAG_ADJUST_MISSILE handling. Thx rsa (R2) for pointing. 2012-01-13 19:18:13 +03:00
Chaplain 67808ba453 Core/Spells: Fix CAST_FLAG_UNKNOWN_18.
*rename CAST_FLAG_UNKNOWN_18 -> CAST_FLAG_ADJUST_MISSILE
*implement handling in Spell::SendSpellGo()
2012-01-08 18:50:25 +03:00
Chaplain 29c2dfb1da [Core/Utilities] Implement random generator for float values.
*for mt and sfmt
 *some codestyle
2012-01-02 12:38:55 +03:00
Chaplain 3e9611578c Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement
*Now it'll correctly increase\decrease % of power
*Added helper function for modify power with percent ammount
2011-10-12 01:11:52 +03:00
Chaplain 5bbd8dcf33 Core/Spell: Hymn of Hope fix.
*fixed mess with temporary increase max/current power (percent).
*thx Shocker for advice
2011-09-26 20:12:25 +03:00
Chaplain 224bb96deb Core/Spells: Fix talent Sword Specialization. 2011-09-25 16:42:12 +03:00
Chaplain 877579d386 Revert "Core/Spells: Fix talent Sword Specialization for melee abilities"
This reverts commit cdd4160157.
2011-09-25 14:20:41 +03:00
Chaplain cd06a696cf Core/Auras: Improvements in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE handling:
*prevent apply mods from weapon specific case to non weapon specific spells
2011-09-11 00:27:40 +03:00
Chaplain dcc3b2e341 Core/Mechanic: Remove unneeded(now) argument. 2011-09-07 11:04:20 +03:00
Chaplain c190326de4 Core/Mechanic: Implement Diminishing Returns for miss\parry\dodge. Original author for parry\dodge case Lynx3d.
fixes: #2339, #2536, #887, #687 etc.
2011-09-06 18:43:55 +03:00
Chaplain 207f598a20 Core/Auras: Fixed applying SPELL_AURA_MOD_DAMAGE_PERCENT_DONE for spellBonusData
fixed #2834
2011-09-06 12:05:36 +03:00
Chaplain abf9ac3159 Core/Auras: Weapon specific case for MOD_DAMAGE_DONE_PCT shouldn't change PLAYER_FIELD_MOD_DAMAGE_DONE_PCT, because PLAYER_FIELD_MOD_DAMAGE_DONE_PCT applyed for _all_ damage that deal target.
*fixed #2842
*updated comment
2011-09-05 19:43:24 +03:00
Chaplain 79fb3d487e Core/Spells: Core/Spells: Fix manual cancel of mind control. closes #2676 2011-09-03 17:29:56 +02:00
Chaplain bea649d045 Core: cleanup.
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
2011-09-01 22:38:32 +03:00
Chaplain f5a668ae8d Core: Cleanup. 2011-08-30 23:09:39 +03:00
Chaplain fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Chaplain 4b56226619 Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
Also get ride of hack in Player::HandleBaseModValue now it's unnecessary.
Fixes: #855, multiplicative % count for normal school for aura 79 and may be others.
2011-08-20 13:38:20 +03:00