Commit Graph
100 Commits
Author SHA1 Message Date
megamage 903b30b38e *Fix the bug of doomwalker.
--HG--
branch : trunk
2008-11-28 22:29:27 -06:00
megamage c1b6565e53 *Fix the bug that mapref.end() does not point to the end. Thank BroodWyrm for pointing out the mistake.
(PS: I have tried all three kinds of EOL, and HG always modifies the whole file. I really do not know what I can do with it.)

--HG--
branch : trunk
2008-11-28 17:53:56 -06:00
megamage dd77520fd8 *Do not let food/drink auras stack.
--HG--
branch : trunk
2008-11-28 16:16:52 -06:00
megamage 615e0f7773 *Do not let mark of the wild stack (different ranks, different effects).
--HG--
branch : trunk
2008-11-28 15:47:18 -06:00
megamage 6107faa894 *Some update of aura stacking check.
--HG--
branch : trunk
2008-11-28 15:12:23 -06:00
QAston ed60b4da96 *Update aura check to make drink/food not stackable. Also fixes Mark of the Wild stacking.
--HG--
branch : trunk
2008-11-28 20:19:37 +01:00
megamage 93ba82e8ca *Merge with 342.
--HG--
branch : trunk
2008-11-28 13:10:16 -06:00
megamage fb2c984b03 *Update _saveaura for pet and player. Need more work on this.
--HG--
branch : trunk
2008-11-28 13:04:58 -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 e26beb36c2 *Update to Mangos 6856. Source: Mangos.
--HG--
branch : trunk
2008-11-28 11:38:28 -06:00
megamage 1d6e33add4 *Do not let Cthun crash the server.
--HG--
branch : trunk
2008-11-28 09:58:47 -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 813b750b01 *Set player combat reach from 1.5 to 0.4.
--HG--
branch : trunk
2008-11-27 12:00:46 -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 4b4956f238 *Fix the bug that stealth spells crash the server. (Finally we know what is wrong.)
--HG--
branch : trunk
2008-11-27 11:28:40 -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 1d4da0c217 *Fix some conflicted strings.
--HG--
branch : trunk
2008-11-26 22:38:25 -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 cee531501b *Script target for spell 30659.
--HG--
branch : trunk
2008-11-26 15:56:24 -06:00
megamage 9366ec3308 *Try to fix the bug that creatures cast buff on players.
--HG--
branch : trunk
2008-11-26 15:23:26 -06:00
megamage da6c516fdf *Procflag patch by DiSlord.
--HG--
branch : trunk
2008-11-26 15:14:03 -06:00
megamage 0521e2d017 *Update to Mangos 6849. Source: Mangos.
--HG--
branch : trunk
2008-11-26 14:23:50 -06:00
megamage 925a013483 *Fix a typo. Now -AP spells (roar/shout/screech) should work correctly.
--HG--
branch : trunk
2008-11-26 13:03:47 -06:00
megamage 504a5a69db *Fix the bug that gobject in AV bg do not spawn. Thank balrok.
--HG--
branch : trunk
2008-11-26 12:49:08 -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 b591c21659 *Hope this can fix instance respawn bug.
--HG--
branch : trunk
2008-11-26 12:28:36 -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 9e3c9124f2 *Fix the bug that low level gm cannot see high level gm even when they are visible.
--HG--
branch : trunk
2008-11-25 21:32:20 -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 31fe63f644 *Fix typo.
--HG--
branch : trunk
2008-11-25 20:36:36 -06:00
megamage 9772661e8d *Temp fix for linux build.
--HG--
branch : trunk
2008-11-25 19:38:09 -06:00
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
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
megamage 1e997b95cc Re-commit 262 due to EOL issues. (no difference from 262)
--HG--
branch : trunk
2008-11-20 16:16:57 -06:00
w12x 0b61584e1b Finally properly fix phased game event saving.
--HG--
branch : trunk
2008-11-19 10:50:34 +01:00
megamage 8d09c298fd *Merge with 258. Warning: this rev may be unstable!
--HG--
branch : trunk
2008-11-18 19:43:03 -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
w12x 9c980db394 Reverted rev. 250 changes, it caused problems on several distributions. Still need to figure out proper format specifier for all platforms.
--HG--
branch : trunk
2008-11-18 23:29:56 +01:00
w12x db6328e719 Backed out changeset 34515ac455ef
--HG--
branch : trunk
2008-11-18 23:27:26 +01:00
gvcoman df6a8e5f8e Unsummon summon as possessed creatures on spell channeling interrupt.
--HG--
branch : trunk
2008-11-18 15:52:52 -05:00
[email protected] 78f343397c * Brought the default characters file up to the current rev.
--HG--
branch : trunk
2008-11-18 11:28:22 +00:00
megamage 18dff69c55 *Merge from Mangos
*[6833] More correct aura cancel for channeled spells. By VladimirMangos.
*[6820] Cleanup spell proc event code. Avoid send same information by 2 ways to function. By VladimirMangos.

--HG--
branch : trunk
2008-11-17 19:39:24 -06:00
gvcoman 53de62cee0 Fix typo.
--HG--
branch : trunk
2008-11-17 19:36:38 -05:00
megamage 474dc08c46 *Update aura stacking check. By QAston.
*Update pet autocast check. By qubix.

--HG--
branch : trunk
2008-11-17 17:59:33 -06: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
w12x 363e526baa Fixed I64FMTD define for non-microsoft compilers. This should fix phased events state not being saved on some systems.
--HG--
branch : trunk
2008-11-17 23:39:24 +01:00
megamage c95cb1003a *Do not let CC spells interrupt themselves.
--HG--
branch : trunk
2008-11-16 17:42:29 -06:00
megamage 2351a737b5 Merge 246 and 247.
--HG--
branch : trunk
2008-11-16 17:22:48 -06:00
megamage 9bcb0119e9 *Fix Gruul's shatter effect damage. Patch provided by _krz.
--HG--
branch : trunk
2008-11-16 16:56:35 -06:00
gvcoman 478ca47083 Delete possessed AI only on creature delete.
--HG--
branch : trunk
2008-11-16 14:38:02 -05:00
w12x 4b6072f9c3 Fixed entering arena teams. Hopefully.
--HG--
branch : trunk
2008-11-16 18:44:17 +01:00