Commit Graph

103 Commits

Author SHA1 Message Date
megamage
bcb39b263d *Allow pets to cast devour magic on both friends and enemies.
--HG--
branch : trunk
2008-12-10 15:14:49 -06:00
megamage
b5d1418b0c *Allow unit has multiple controlling auras. (Fix the bug that unit cannot be feared if stunned. Hope this will not break all controlling spells)
--HG--
branch : trunk
2008-12-09 20:28:59 -06:00
megamage
d3c2c31e2e *Fix the bug that some creature spells are broken.
--HG--
branch : trunk
2008-12-09 10:20:02 -06:00
megamage
bb8c7486fb *Try to fix the bug that players cannot move after releasing.
--HG--
branch : trunk
2008-12-08 20:23:38 -06:00
megamage
069ca8746e *Add spell target type check in Unit::CastSpell. Allow CastSpell(Gameobject*) and CastSpell(NULL).
--HG--
branch : trunk
2008-12-08 18:56:01 -06:00
megamage
26259a5fa4 *Try to fix the bug that players "do not die" when killed.
--HG--
branch : trunk
2008-12-08 17:53:18 -06:00
megamage
087f735251 *Use react state instead of isaggressive. Allow civilian to fight back.
--HG--
branch : trunk
2008-12-07 09:21:12 -06:00
megamage
c5593ef779 *Update to Mangos 6880. Source: Mangos.
*Skip 6878, 6871.
*Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect.

--HG--
branch : trunk
2008-12-06 14:01:44 -06:00
megamage
8ffc1a6e4c *Apply range mod also for melee spells.
--HG--
branch : trunk
2008-12-06 10:44:53 -06:00
megamage
e8f1bbc999 *Move kill-target part from DealDamage to a new function Kill.
--HG--
branch : trunk
2008-12-05 23:31:45 -06:00
megamage
63bbecb8a2 *Fix the infamous "walk" bug. By thenecromancer.
--HG--
branch : trunk
2008-12-05 18:43:57 -06:00
megamage
3a1293ef18 *Update melee range calculation. By QAston.
--HG--
branch : trunk
2008-12-05 18:39:31 -06:00
megamage
d36672cd7e *Update spell range calculation. Original patch by QAston.
--HG--
branch : trunk
2008-12-04 23:00:35 -06:00
megamage
afc6dc7c48 *Fix a bug that mobs do not stop chasing players.
--HG--
branch : trunk
2008-12-04 16:17:13 -06:00
megamage
2d1905c887 *Add new immune type: IMMUNITY_ID. This is usually done using dummy auras.
*Let cloak of shadows immunes to flare.

--HG--
branch : trunk
2008-12-03 19:42:06 -06:00
megamage
08d259e0cc *Let owner enter pvp when pet attacks pvp target.
--HG--
branch : trunk
2008-12-03 13:35:47 -06:00
megamage
1fd4c1dee2 *Try to fix the bug about contested pvp.
--HG--
branch : trunk
2008-12-02 16:34:00 -06:00
megamage
ab179d76fe *Fix a bug that player stuck with 1 hp when killed with IncreaseMaxHealth aura.
--HG--
branch : trunk
2008-12-01 18:44:27 -06:00
megamage
28e1aec6df *Fix a typo. Set owner in pvp when pet attacks other players.
--HG--
branch : trunk
2008-12-01 16:44:04 -06:00
megamage
b5af2546b5 *Remove AURA_INTERRUPT_FLAG_ATTACK auras only when melee attack but not combat start.
--HG--
branch : trunk
2008-12-01 16:33:50 -06:00
megamage
52e3010b49 *Fix a bug that rogue dodges self's spells and retains combo points.
--HG--
branch : trunk
2008-12-01 10:37:51 -06:00
megamage
6ab74d1ba4 *Fix the bug that server crashes when loading.
*Fix the bug that rogue does not remove stealth aura when do melee attack.

--HG--
branch : trunk
2008-11-30 17:48:10 -06:00
megamage
7af8633331 *Fix the bug that improved drain soul talent make caster cannot get soul shard.
--HG--
branch : trunk
2008-11-29 14:04:20 -06:00
megamage
3d8d45c57a *Do unit relocation notification only once per update. Hope this can solve the stealth crash problem once for all.
--HG--
branch : trunk
2008-11-29 13:08:23 -06:00
megamage
93ba82e8ca *Merge with 342.
--HG--
branch : trunk
2008-11-28 13:10:16 -06:00
megamage
beddd27430 *Aura Consolidation + MaxModifier. By Authorius, modified by Deafboy and thenecromancer, adapted by Muhaha.
--HG--
branch : trunk
2008-11-28 12:58:12 -06:00
megamage
b37d7ae042 *Fix Maim.
--HG--
branch : trunk
2008-11-28 11:53:10 -06:00
megamage
c72bf6e8c4 *Fix the bug that gouge/scatter shot interrupt self.
*Fix the bug that spams setspeed errors.
*Clean up scripts to delete all lines which may cause crash by removing stealth aura.

--HG--
branch : trunk
2008-11-27 15:19:06 -06:00
megamage
184c75247b *Try to fix the bug that stealth spells cause crash.
--HG--
branch : trunk
2008-11-26 23:10:02 -06:00
megamage
28355d886d *Fix the bug that taunted creatures stop updateAI.
*Do not let invisible creatures enterevademode if invisible aura is not permanent.
*Update procflag sql. By DiSlord.

--HG--
branch : trunk
2008-11-26 22:17:27 -06:00
megamage
da6c516fdf *Procflag patch by DiSlord.
--HG--
branch : trunk
2008-11-26 15:14:03 -06:00
megamage
77b753b452 *Fix the bug that neutral creatures do not fight back.
--HG--
branch : trunk
2008-11-26 11:41:03 -06:00
megamage
9bbf3e9493 *Fix build.
*Fix the bug that janalai summons too many adds.

--HG--
branch : trunk
2008-11-25 21:25:52 -06:00
megamage
99cf79bdf7 *Do not let Steady shot pause autoshot timer.
--HG--
branch : trunk
2008-11-25 17:58:06 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -06:00
megamage
7312c5034e *Seperate owner speed and pet speed.
--HG--
branch : trunk
2008-11-24 15:59:02 -06:00
megamage
8d687761bc *Creatures with the same faction should always be friendly to each other. This fix the bug that creatures with the same faction fight earch other.
*Allow "chain effect" when creatures call assistance.

--HG--
branch : trunk
2008-11-23 13:58:06 -06:00
megamage
f064caa5cb *Send correct spell damage log to client (damage should include resist, do not know if should include absorb).
--HG--
branch : trunk
2008-11-22 13:59:45 -06:00
megamage
f29f2e6333 *Update to Mangos 6842. Source: Mangos.
--HG--
branch : trunk
2008-11-22 09:51:35 -06:00
megamage
6a0ad5da50 *Add UNIT_FLAG_NOT_ATTACKABLE_2. Not attackable, but can be hit by entry-target spells (I guess).
--HG--
branch : trunk
2008-11-22 00:31:24 -06:00
gvcoman
0632084857 * Added missing part of mangos merge on interrupt channeling on aura cancel
* Removed hacks attempting to do the above only for possessing or farsight spells
* Moved summon as possessed unsummoning into more general area in Spell::cancel
* Added SQL updates for steam tonk and tonk mine scripts

--HG--
branch : trunk
2008-11-21 21:00:45 -05:00
megamage
32485bc5d1 Merge with 284 (54b0e67d97fe).
--HG--
branch : trunk
2008-11-21 19:49:54 -06:00
megamage
fa667cf450 *Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.
--HG--
branch : trunk
2008-11-21 19:45:49 -06:00
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
megamage
71707df1de *Let creature search nearby target before enter evade mode
*Add function canStartAttack to reduce code in MoveInLineOfSight
*Fix a bug that cancelling bind sight auras may crash the server

--HG--
branch : trunk
2008-11-21 10:07:11 -06:00
megamage
5528b7c512 *Fix the bug that updatepacket is not sent to players.
*TODO: move creature::update to map::update. This requires that move activeobjectlist to map.

--HG--
branch : trunk
2008-11-20 20:28:17 -06:00
gvcoman
4495efa1ae * Don't allow pets to attack in melee if owner is pacified. This applies for possessed "pets" as well.
* Use proper spell ID in unsummoning possessed units on channeling interrupt.
* Allow only once to init pet bar for CharmInfo
* Export CharmInfo to be available to scripts
* Allow to disable the melee attack command when initializing the pet action bar

--HG--
branch : trunk
2008-11-20 20:27:04 -05:00
megamage
2c95ee4b31 *Add m_isAggressive. Only aggressive creatures will call AttackStart and MoveInLineOfSight.
*Set melee dmg school for summoned creatures.
*Fix some compiling errors.

--HG--
branch : trunk
2008-11-20 18:54:50 -06:00
megamage
182c997573 *Re-commit some reverted patch: aura stacking check. By QAston.
--HG--
branch : trunk
2008-11-20 18:13:10 -06:00
megamage
ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00