Commit Graph

80 Commits

Author SHA1 Message Date
megamage
415cccfed9 *First step of dynamic cell visit. Hope nothing is broken.
--HG--
branch : trunk
2008-12-11 11:37:58 -06:00
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
ac822bb616 *Use another way to kill magnet totem.
--HG--
branch : trunk
2008-12-10 11:19:50 -06:00
megamage
a1eaec791e *Break stealth when applying all stun/root/confuse/fear/charm/possess auras.
--HG--
branch : trunk
2008-12-09 17:40:33 -06:00
megamage
9632543dab *Remove pouce facing limitation. By Muhaha.
*Fix a typo in 427 sql.

--HG--
branch : trunk
2008-12-08 19:37:23 -06:00
megamage
ce643187f0 *Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member.
*Skip 6885 because of performance concern.

--HG--
branch : trunk
2008-12-08 16:34:03 -06:00
megamage
34a13dce42 *Fix melee spell range issue.
*Revert the change of lifebloom final heal.

--HG--
branch : trunk
2008-12-08 10:30:21 -06:00
megamage
6d93941685 *Fix Improved Blizzard. By Larva.
--HG--
branch : trunk
2008-12-08 09:56:32 -06:00
megamage
f593c806cb *Skip second cancast check for instant spells.
--HG--
branch : trunk
2008-12-07 08:55:11 -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
fa7648ff41 *Only let grounding totem absorb magic spells.
--HG--
branch : trunk
2008-12-06 11:35:50 -06:00
megamage
8ffc1a6e4c *Apply range mod also for melee spells.
--HG--
branch : trunk
2008-12-06 10:44:53 -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
cd4e545155 *Use dest to calculate time delay for missile spells. (Only SPELL_EFFECT_TRIGGER_MISSILE for now, need to fix all "dest required spells")
--HG--
branch : trunk
2008-12-03 17:30:14 -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
904eff7f02 *Log error for script target spells without target entry in db.
--HG--
branch : trunk
2008-12-02 22:46:49 -06:00
megamage
8327e08395 *Fix SPELL_EFFECT_TRIGGER_MISSILE.
--HG--
branch : trunk
2008-12-02 18:13:23 -06:00
megamage
b192fb879c *Fix the bug that channeled spells interrupt self.
--HG--
branch : trunk
2008-12-01 13:03:28 -06:00
megamage
bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*Big changes:
*[6858] Prevent cheating with ignore waiting in login queue.
*[6863] Arena team related clean ups and adding parts of w12x's arena patch.
*Some Config changes and guild changes.

--HG--
branch : trunk
2008-11-30 12:47:26 -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
1c5fc7f5d6 *Fix the bug that devastate requires double rage.
*Fix the bug that cloak of shadows removes postive buffs.

--HG--
branch : trunk
2008-11-27 11:54:27 -06:00
megamage
da6c516fdf *Procflag patch by DiSlord.
--HG--
branch : trunk
2008-11-26 15:14:03 -06:00
megamage
6101b5d4b5 *Fix the bug that pets cast damage spells on self. However, this may not be the correct way to fix it. Thank TheGriffon for pointing out the mistake.
--HG--
branch : trunk
2008-11-26 12:45:13 -06:00
megamage
99cf79bdf7 *Do not let Steady shot pause autoshot timer.
--HG--
branch : trunk
2008-11-25 17:58:06 -06:00
megamage
32b78f767c *Fix a bug in 307. Only the trigger effect should be applied but not the whole spell.
*Restore build in Linux.
*Change "Added aura" log to level: detail.

--HG--
branch : trunk
2008-11-23 14:42:32 -06:00
megamage
fb64da2182 *SPELL_MISS_NONE when effect is dummy. This fix the bug that some dummy spells are checked for miss condition twice (still do not correct, should show combat log for triggered spell).
*SPELL_MISS_EVADE when original caster does not exist.

--HG--
branch : trunk
2008-11-23 12:30:34 -06:00
megamage
d720a80e5c *Let Mass Dispel dispel immune auras. By QAston.
--HG--
branch : trunk
2008-11-22 14:33:32 -06:00
gvcoman
c96f5f9a8f Added more calls for searching the world object containers for spell scripted targets.
--HG--
branch : trunk
2008-11-22 00:49:45 -05:00
megamage
f905c21dd2 *Also search worldobjectlist for active creature when spell target is target_entry.
--HG--
branch : trunk
2008-11-21 23:26:16 -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
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
gvcoman
868c2ef175 * Implemented new summon possessed summon type for spell 49352.
* Unsummon all summon possessed units on summoning aura cancel.

--HG--
branch : trunk
2008-11-17 18:57:16 -05:00
gvcoman
4cd86b2ed5 Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.
--HG--
branch : trunk
2008-11-17 18:47:24 -05:00
megamage
c95cb1003a *Do not let CC spells interrupt themselves.
--HG--
branch : trunk
2008-11-16 17:42:29 -06:00
megamage
7d3997f7d6 [svn] *Update Kalecgos script.
*Correctly select aura triggered spell target.
*Fix some scripts, should be pGOHello = &
*Fix a bug that some channel spells cannot be interrupted.
*Fix a bug that not-selectable creature cannot be hit by target_entry spells.
*If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it.

--HG--
branch : trunk
2008-11-15 15:09:22 -06:00
megamage
9ff33852b7 [svn] Fix the bug that next melee spells and auto shoot do not work.
--HG--
branch : trunk
2008-11-15 10:21:37 -06:00
megamage
053b671cb5 [svn] Add UNIT_STAT_CASTING, and use it to update attack timer as test.
--HG--
branch : trunk
2008-11-14 17:42:00 -06:00
visagalis
d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
megamage
eefcc9026b [svn] Remove a hack to try to fix "pet attack self" bug. Warning: this change may bring some unexpected bug.
--HG--
branch : trunk
2008-11-14 14:43:54 -06:00
megamage
f6c1a7a93d [svn] Some update on channeled spells.
--HG--
branch : trunk
2008-11-14 14:19:23 -06:00
megamage
e3a9de2d84 [svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL.
--HG--
branch : trunk
2008-11-12 10:36:13 -06:00
megamage
d06130f88c [svn] Fix some aura_interrupt_flag to correctly remove auras.
Add interrupt_flag_unattackable. Source: mangos forum. Adapted by F636y623.
Add function CombatStart().

--HG--
branch : trunk
2008-11-11 17:49:51 -06:00
megamage
ee02a2fc84 [svn] Send AttackStart package when update visibility.
Update DoMeleeAttackIfReady to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage
e94ec9fa71 [svn] Merge from mangos:
Do not check LOS for triggered spells. Fri Nov 07 16:08:30 apoc
Fix reset combopoints on miss/parry/immune and etc. Sat Nov 08 14:53:03 DiSlord

--HG--
branch : trunk
2008-11-08 17:43:22 -06:00
megamage
bc0164355f [svn] Fix: DOT and HOT only proc effects when hit, but not on every tick (I know there is a proc flag patch, but this is a very quick fix).
Change the structure of customattrmap. Use bit flag instead of uint32 for every attribute.

--HG--
branch : trunk
2008-11-08 11:26:44 -06:00
megamage
1c1517030b [svn] Do not break stealth when spell is not successfully casted (e.g. out of range).
--HG--
branch : trunk
2008-11-08 09:11:18 -06:00
megamage
fd3fcb4612 [svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

--HG--
branch : trunk
2008-11-07 09:36:46 -06:00
megamage
fdff7330d2 [svn] Fix ritual of summoning.
--HG--
branch : trunk
2008-11-06 17:16:33 -06:00
megamage
0aada07187 [svn] Fix hunter's trap (let original caster summon dynamic object).
Fix black temple boss 1's hurl spine.

--HG--
branch : trunk
2008-11-06 12:24:56 -06:00