Commit Graph
331 Commits
Author SHA1 Message Date
megamage bc2f2bc56a [7552] Move client version dependend DBC code to src/game. Author: VladimirMangos
--HG--
branch : trunk
2009-03-27 09:58:20 -06:00
megamage 4cee45c09d *Set interrupt aura with remove cancel.
--HG--
branch : trunk
2009-03-24 17:16:28 -06:00
megamage 40598d6647 *Do not proc anything for aura remove type = delete.
*Use delete type for duel complete.

--HG--
branch : trunk
2009-03-24 17:05:05 -06:00
megamage 7d9a71a6cf [7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves. Author: `win
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
    Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
    Fixed: Do not call Battleground::Update for battleground template objects.
    Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).

--HG--
branch : trunk
2009-03-24 09:36:50 -06:00
megamage ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
megamage 2c17957627 *Fix a crash caused by RemoveSpellsCausingAuraWithDispel.
--HG--
branch : trunk
2009-03-23 09:31:54 -06:00
QAston 7303f9db8b *Backport blood frenzy fix from TC2.
--HG--
branch : trunk
2009-03-22 17:10:01 +01:00
QAston a0530658ff *Fix blood frenzy remove (and possibly some other SPELL_AURA_ADD_TARGET_TRIGGER auras too).
*Fix some problems with Cut to the Chase.

--HG--
branch : trunk
2009-03-22 16:24:53 +01:00
megamage a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -06:00
megamage d7e05e8003 *Fix some out-of-range array indices of totem slot and charm spell slot.
--HG--
branch : trunk
2009-03-20 14:23:25 -06:00
megamage 8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
QAston ad06f05ddb *Fix Focused Magic.
*Make Presence of Mind no longer trigger Arcane Power.
*Apply correct calculation for SPELLMOD_PROC_PER_MINUTE.
*Fix divine shield positivity.

--HG--
branch : trunk
2009-03-20 19:53:26 +01:00
megamage 5b73a59f15 *Set totem slot to 4 but total summon slot to 6.
*Fix build.

--HG--
branch : trunk
2009-03-19 15:45:22 -06:00
QAston c6f3532ada *Fix Area auras for target without a party.
*Fix Improved soul leech and correct procflags for soul leech.

--HG--
branch : trunk
2009-03-19 21:47:16 +01:00
megamage a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
XTZGZoReX a075d37fdd * Removed unused/unneeded classes: Base, Mthread
* Fixed a merge issue that broke VC71 files.
* Moved WheatyExceptionReport to shared, where it should be.

--HG--
branch : trunk
2009-03-19 15:32:16 +01:00
QAston 3ff11b64ba *Move Overkill and Master of Subtlety to procflag and fix some issues with them.
*Proc Shattered Barrier only on aura destroy.
*Fix some possible issues with aura stackamount display.

--HG--
branch : trunk
2009-03-19 10:40:02 +01:00
QAston d50316a731 *Merge.
--HG--
branch : trunk
2009-03-18 19:56:48 +01:00
QAston 00c27bcc05 Backed out changeset eb07c8f645e8
--HG--
branch : trunk
2009-03-18 19:55:31 +01:00
QAston 55f2f1db17 * Apply aura SPELL_AURA_ABILITY_IGNORE_AURASTATE for damage bonuses.
--HG--
branch : trunk
2009-03-18 19:53:36 +01:00
QAston 98eb343d10 *Allow triggered spells with spellfamilyflags to trigger other ones if spellprocevent for triggering aura has specified spellfamily.
--HG--
branch : trunk
2009-03-17 19:07:38 +01:00
megamage 0213ad8a1f [7475] Move Player::IsInFeralForm to Unit::IsInFeralForm Author: VladimirMangos
--HG--
branch : trunk
2009-03-16 15:57:34 -06:00
megamage 3eba06e4ad *Use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now). By VladimirMangos.
--HG--
branch : trunk
2009-03-16 12:00:14 -06:00
QAston 7a1e7c4f73 *Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril

--HG--
branch : trunk
2009-03-15 18:02:10 +01:00
megamage 9041286aa2 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid. Author: Triply
Patch is tested, but can cause problems / unexpected behaviour.
    TODO: set raid leader of battleground raid to raid leader who entered BG
    TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

    Signed-off-by: Triply <[email protected]>

--HG--
branch : trunk
2009-03-14 20:00:02 -06:00
megamage a5882ee84a *Merge.
*"Fix Glowing Blood" is not merged. Outdated patch?

--HG--
branch : trunk
2009-03-13 18:48:53 -06:00
megamage c3d14c8241 [7450] Fixes and improvements in TARGET_BEHIND_VICTIM, SPELL_EFFECT_JUMP2, SPELL_EFFECT_TELEPORT_UNITS work. Author: VladimirMangos
* Move near teleport code for player/creature in Unit::NearTeleportTo
    * Allow correctly seelct target and end point orientation for script casted spells with TARGET_BEHIND_VICTIM
    * Replace use BuildTeleportAckMsg by BuildHeartBeatMsg for creature teleports. BuildTeleportAckMsg
      set active mover for targeted player to affected creature and "freeze" player.

--HG--
branch : trunk
2009-03-13 18:28:10 -06:00
megamage ce4c9cb2ae *Allow not to switch to charmed AI for some scripts.
--HG--
branch : trunk
2009-03-13 17:48:57 -06:00
megamage 7dd699c076 *Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
2009-03-13 17:25:46 -06:00
QAston 8963006729 *More strict for auras to put in visible slots.
*Do linked auras triggers only on first/last aura change.
*Fixed issues with auras applied for slots which did not fit to visible aura slots.
*Fix guardian spirit buff remove.

--HG--
branch : trunk
2009-03-13 20:24:40 +01:00
QAston 23010a854b *Fix Dispersion.
*Fix Living bomb damage trigger.

--HG--
branch : trunk
2009-03-12 23:20:51 +01:00
megamage 16ee4a46c2 *Merge.
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
megamage 1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
QAston c3026bc755 *Fix divine hymn.
*Prevent unexpected behaviour of dummy proc auras combined with ObsModEnergy auras.

--HG--
branch : trunk
2009-03-11 21:36:02 +01:00
megamage 167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -06:00
megamage 7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
megamage 8787c00ca3 *Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states.

--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
QAston 1ebade03d5 *Fix crash.
*Prevent applying cast time mod for spell twice.

--HG--
branch : trunk
2009-03-02 23:37:24 +01:00
QAston 281f4ce49a *Fix dispel chance mod calculation.
*Fix Escape artist-by Lightguard.

--HG--
branch : trunk
2009-03-01 18:50:33 +01:00
megamage d3a6900667 *Merge.
--HG--
branch : trunk
2009-02-26 20:43:35 -06:00
megamage 39c513776c *Merge.
--HG--
branch : trunk
2009-02-26 20:36:28 -06:00
megamage 85d5d94e71 [7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos
* Move common code in appropriate functions.
    * Correct select speed and 2D/3D distance for creature/player walk/fly

--HG--
branch : trunk
2009-02-26 20:35:40 -06:00
QAston aa39b07c5e *Fix auras display when unit dies.
*Fix Freezing trap diminishing return.

--HG--
branch : trunk
2009-02-26 17:09:12 +01:00
megamage ccde296fd3 *Fix some crash bugs.
--HG--
branch : trunk
2009-02-25 17:53:05 -06:00
megamage 699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage 5fe7b48037 *Merge.
--HG--
branch : trunk
2009-02-23 17:04:15 -06:00
megamage 34517a860f *More fix about move flag.
--HG--
branch : trunk
2009-02-23 13:14:04 -06:00
megamage e425ba5837 *Send correct move flag to client.
--HG--
branch : trunk
2009-02-23 11:11:50 -06:00
QAston 70b767be75 *Fix Prayer of mending jump on pet when caster is not in a party.
--HG--
branch : trunk
2009-02-22 13:41:09 +01:00
QAston a0c920265d *Handle aura SPELL_AURA_RAID_PROC_FROM_CHARGE_WITH_VALUE.
*Fix Prayer of Mending tier 7 bonus, Prayer of Mending cast on pet, Prayer of Mending healing bonus from caster.

--HG--
branch : trunk
2009-02-21 19:58:04 +01:00