Commit Graph

290 Commits

Author SHA1 Message Date
QAston
0d9cd407b9 *Fix build with vcpp80.
*Set aura charges for Sudden Death.

--HG--
branch : trunk
2009-04-09 11:13:45 +02:00
QAston
bf7499d1ce *Fix Sudden Death.
--HG--
branch : trunk
2009-04-08 23:20:06 +02:00
megamage
74d553bc4c *Merge.
--HG--
branch : trunk
2009-04-08 12:28:41 -05:00
QAston
fc7d2a5393 *Save only auras which need to be saved-this also removes error spam for duplicate entries.
--HG--
branch : trunk
2009-04-08 18:32:48 +02:00
QAston
26b856a513 *Change way of aura removing-make it safer.
--HG--
branch : trunk
2009-04-07 20:27:34 +02:00
QAston
9b908e4014 *Make amount of auras be more correct.
--HG--
branch : trunk
2009-04-08 00:55:43 +02:00
QAston
ebc7176678 *Fix auras amount after relog
--HG--
branch : trunk
2009-04-08 00:07:32 +02:00
QAston
017c838fd4 *More crashfixes
--HG--
branch : trunk
2009-04-07 22:00:32 +02:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
QAston
5e565cd777 * Fix some freezes.
* Fix freeze in HandleModMechanicImmunity- thanks for megamage for pointing this.

--HG--
branch : trunk
2009-04-07 20:09:15 +02:00
QAston
3ef20629df *Some crashfixes.
--HG--
branch : trunk
2009-04-07 18:05:56 +02:00
megamage
e00106db55 *Always delink spell and container when spell is cancelled.
--HG--
branch : trunk
2009-04-05 17:31:12 -05:00
QAston
6375f8fc8c *Set aura remove by expire only for expired auras
--HG--
branch : trunk
2009-04-06 23:27:13 +02:00
QAston
bf8877342d *Allow auras to be removed during other auras update.
--HG--
branch : trunk
2009-04-06 22:03:05 +02:00
QAston
e5bbb4d20b *Fix compile.
--HG--
branch : trunk
2009-04-06 18:27:30 +02:00
QAston
fa1df5bac3 *Fix crash and area aura remove.
--HG--
branch : trunk
2009-04-06 18:19:05 +02:00
QAston
c6c084cc45 *Fix area auras
--HG--
branch : trunk
2009-04-06 17:07:58 +02:00
QAston
9f9b4ce876 *SQL and testing for last commit is by Drahy-sorry for forgotting to mention it.
--HG--
branch : trunk
2009-04-06 13:46:52 +02:00
QAston
20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
raczman
574a9bb88e Fixed typo.
--HG--
branch : trunk
2009-04-04 23:35:03 +02:00
raczman
85df8e0582 Fixed work of warrior talent 12296.
- Proper tick in 3 sec
- Replace amount calculation hack by more proved formula.
- Ignore in combat state.
Author: domingo

--HG--
branch : trunk
2009-04-04 23:32:03 +02:00
megamage
e53521d228 *Merge.
--HG--
branch : trunk
2009-04-04 13:11:03 -06:00
megamage
b922da4db1 [7611] Prevent casting owner spell/use item or gameobject by mind controlled player or creature. Author: VladimirMangos
This also prevent some crashes in like wrong case.
[7610] skipped.

--HG--
branch : trunk
2009-04-03 16:42:19 -06:00
megamage
dd2a8443d5 *Also call combatstart when applying areaaura/persistant aura
--HG--
branch : trunk
2009-04-02 22:23:51 -06:00
megamage
943d0c6e2d [7597] Fixed crash at stealing single target auras (54648 for example) Author: arrai
--HG--
branch : trunk
2009-04-02 16:44:18 -06:00
megamage
6d138d2e5e [7567] Fix charges count for 51124 Author: miebaik
--HG--
branch : trunk
2009-03-28 17:35:41 -06:00
megamage
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
e9bdfa4d02 *Merge.
--HG--
branch : trunk
2009-03-26 21:54:14 -06:00
megamage
68c3039715 *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage
bdafaf4113 *Remove viewpoint when dynamicobject is removed from world.
--HG--
branch : trunk
2009-03-26 10:53:19 -06:00
megamage
02440eaa10 [7538] Hide some implementation details for reputation/forced faction reaction. Author: VladimirMangos
--HG--
branch : trunk
2009-03-25 16:04:08 -06:00
megamage
941e5b9dbd [7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:38:14 -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
4d982bfca4 *Allow to proc when aura is cancelled.
--HG--
branch : trunk
2009-03-24 16:46:54 -06:00
megamage
c5969d6d03 *Make sure the a player can only have one viewpoint.
--HG--
branch : trunk
2009-03-24 13:13:00 -06:00
megamage
ba1fd0db90 [7527] Remove redundent arg from Player::EnvironmentalDamage Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:44:08 -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
dcb08352e7 *Do not set applyaura to be "real" when set stack amount.
--HG--
branch : trunk
2009-03-23 20:11:45 -06:00
megamage
a8105dcff6 *Do not proc anything when aura is removed by cancel.
*Remove aura by cancel when duel complete. This fix a crash.

--HG--
branch : trunk
2009-03-23 16:34:30 -06:00
megamage
ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
megamage
a47d2e1c22 *Note some script id are changed. DB change may be needed.
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos

    * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
      Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
      and for not depednet (PlayDirectSound)
    * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
      Note: function called for _source_ of sound in different from old function.
    * chat command .debug ps removed and .debug playsound can used for bother packects test:
      if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.

--HG--
branch : trunk
2009-03-22 19:20:03 -06:00
QAston
ce71c0e798 *Update dispel code and fix crash related to it. Thanks to megamage.
--HG--
branch : trunk
2009-03-23 01:54:50 +01:00
QAston
36ccfd4168 *Fix kill command-by pasdVn.
*Fix tidal force.

--HG--
branch : trunk
2009-03-22 22:21:25 +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
QAston
b5390f84b9 *Make auras with periodic power take cancel when there is no more power avalible.
--HG--
branch : trunk
2009-03-22 11:34:34 +01:00
QAston
f487cec645 *Fix aurastate bug.
--HG--
branch : trunk
2009-03-22 10:53:23 +01:00
megamage
b1e23bb904 *Auto enter vehicle for summon vehicle spells.
--HG--
branch : trunk
2009-03-21 17:59:05 -06:00
megamage
de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
QAston
afd3f03835 *Fix area auras cast in party.
*Fix damage amount of stacked auras.

--HG--
branch : trunk
2009-03-21 17:25:04 +01:00
megamage
8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00