Commit Graph

39720 Commits

Author SHA1 Message Date
megamage
b10b161bb9 *Update weapon damage spell calculations.
*Fix devastate.

--HG--
branch : trunk
2008-11-25 19:14:55 -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
52f2e35d65 *Fix a bug that GetScriptId returns incorrect id when the scriptname does not exist in db. Thank peldor for pointing out the mistake.
--HG--
branch : trunk
2008-11-24 19:41:39 -06:00
megamage
f7e5b2ba69 *Implement simple charmed AI for players charmed by creatures.
--HG--
branch : trunk
2008-11-24 17:15:41 -06:00
megamage
7312c5034e *Seperate owner speed and pet speed.
--HG--
branch : trunk
2008-11-24 15:59:02 -06:00
megamage
46dec5a819 *Fix arcane charge.
*SetInCombatWith in dozoneincombat.

--HG--
branch : trunk
2008-11-24 15:15:09 -06:00
KingPin
7076f12b67 merged from raczman fix for compile without scripts.
--HG--
branch : trunk
2008-11-24 11:31:16 -06:00
megamage
1d172c2a1c *Fix a bug that logging out while casting far sight causes crash.
--HG--
branch : trunk
2008-11-23 15:06:01 -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
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
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
970f2cf8d3 *Do not let totems immune to DOT.
--HG--
branch : trunk
2008-11-23 11:46:36 -06:00
megamage
8972e7ef06 *Fix a bug that Map::Update crash the server.
--HG--
branch : trunk
2008-11-23 11:01:26 -06:00
w12x
9a1b33dc4d Set opvp trigger creatures to aggressive. Because they are.
--HG--
branch : trunk
2008-11-23 01:48:56 +01:00
gvcoman
a28bea67da Fix typo
--HG--
branch : trunk
2008-11-22 17:10:49 -05:00
gvcoman
915bc1acda Make summoned creatures go back to summoner on evade if summoner is alive. This should take care of most (all?) errors about controlled creatures trying to target home.
--HG--
branch : trunk
2008-11-22 16:55:17 -05:00
megamage
bd5ee9e49e Revert 293 since it still does not work in x64.
--HG--
branch : trunk
2008-11-22 15:15:59 -06:00
megamage
1553dc0edb *Fix Prayer of Mending. Use original caster's healing bonus.
--HG--
branch : trunk
2008-11-22 14:42:53 -06:00
megamage
d720a80e5c *Let Mass Dispel dispel immune auras. By QAston.
--HG--
branch : trunk
2008-11-22 14:33:32 -06:00
megamage
e2b90f8dc0 *Make disarm also works on creatures. (Please check if visual effect is correct, i.e., equipments are removed, if not, please report)
--HG--
branch : trunk
2008-11-22 14:28:11 -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
d6066ce585 *Update creature damage calculation. Make -ap spells have effect on them.
--HG--
branch : trunk
2008-11-22 13:55:11 -06:00
megamage
57f3931556 *Fix a typo.
--HG--
branch : trunk
2008-11-22 11:05:07 -06:00
megamage
a0ef1aa89b *Fix shadow cloak, also remove spells such as hunter's mark.
--HG--
branch : trunk
2008-11-22 10:32:29 -06:00
megamage
5b59337597 *Update sln file. Do not know if this can fix x64 build bug.
--HG--
branch : trunk
2008-11-22 10:04:25 -06:00
megamage
f29f2e6333 *Update to Mangos 6842. Source: Mangos.
--HG--
branch : trunk
2008-11-22 09:51:35 -06:00
raczman
aee379e3f2 Fix interface building.
--HG--
branch : trunk
2008-11-22 13:22:39 +01:00
gvcoman
e5239d0170 Implemented mana cost for tonk spell 27746. (Note: speed increase still needs to be fixed)
--HG--
branch : trunk
2008-11-22 02:10:13 -05: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
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
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
a2c168155d Fix line endings in npcs_special.cpp to LF.
--HG--
branch : trunk
2008-11-21 19:27:24 -05:00
gvcoman
9ceb36a527 Merge with 273 (aab191f73e46).
--HG--
branch : trunk
2008-11-21 19:16:19 -05:00
gvcoman
1bd37790b5 Added SetAggressive calls to steam tonk and tonk mine scripts.
--HG--
branch : trunk
2008-11-21 19:12:44 -05:00
megamage
b2ba78e57a *script for quest Recharging the Batteries. By Anubisss.
*script for quest The Road to Falcon Watch. By neo0608.

--HG--
branch : trunk
2008-11-21 17:29:05 -06:00
megamage
11c55ba0a1 *Do not convert Map* to InstanceMap* when calling Map::SendToPlayers() to see if it can fix the bug that the function does not work. (If it can, it will be really wierd)
--HG--
branch : trunk
2008-11-21 16:36:29 -06:00
megamage
b063480b3f *EventAI update:
ACTION_T_SET_ACTIVE             = 101,  //Apply
    ACTION_T_SET_AGGRESSIVE         = 102,  //Apply
    ACTION_T_ATTACK_START_PULSE     = 103,  //Distance

--HG--
branch : trunk
2008-11-21 16:17:51 -06:00
megamage
e9d6f1b23a *Move object update from objectaccessor to map
*Move activeobject list from objectaccessor to map
*Open grid for all active creatures (previously only for possessed ones)

--HG--
branch : trunk
2008-11-21 15:41:18 -06:00
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
gvcoman
837ce55de8 Added tonk mine and steam tonk scripts.
--HG--
branch : trunk
2008-11-21 13:57:54 -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
e5e6ff9f1b Some missing changes. This should fix the bug that loading char causes crash.
Please do not commit to the other tip (I do not know how to delete it).

--HG--
branch : trunk
2008-11-20 17:40:13 -06:00