Commit Graph
100 Commits
Author SHA1 Message Date
megamage c5c6b4ff1b *Use function RandomResizeList to resize spell target list.
--HG--
branch : trunk
2009-04-13 18:03:58 -05:00
megamage 25f71813c5 *Update moveinLOS assistance code.
--HG--
branch : trunk
2009-04-13 18:03:28 -05:00
megamage 6b11f9a511 *Call new function InitializeAI() instead of Reset() to do one-time work.
--HG--
branch : trunk
2009-04-13 17:53:09 -05:00
megamage ce9f023a96 *Only let creatures in combat enterevademode when stopping grid.
--HG--
branch : trunk
2009-04-13 17:11:23 -05:00
Rat 30efb6ff7f *fix Shade of Akama event reset bugs
*code cleanup/update

--HG--
branch : trunk
2009-04-13 22:21:53 +02:00
Anubisss e15ae448c3 Better way for allow GMs(in gm mode on) to see invisible or stealthed players by Machiavelli. Thank you.
--HG--
branch : trunk
2009-04-13 18:07:26 +02:00
Rat dd93679f5f *fixed essence of suffering (reliquary of souls)
--HG--
branch : trunk
2009-04-13 17:08:24 +02:00
Rat 6b7d0c7cfe *hyjal update
-reset boss damage at boss reset
-minimal player dmg for bosses changed to min 25% (until someone confirms a better value)
-count pet dmg as player dmg into boss min dmg

--HG--
branch : trunk
2009-04-13 16:13:22 +02:00
megamage 5032bd159c *Add better debug log for grid state.
--HG--
branch : trunk
2009-04-12 16:44:44 -05:00
megamage 74977d73f3 *Do not allow chase/follow self.
--HG--
branch : trunk
2009-04-12 16:32:03 -05:00
Rat a8a0a03b1b *hyjal update
-lowered raid damage to 700k
-added horde base cleaning wave (watch out for infernal rain)

--HG--
branch : trunk
2009-04-12 19:49:23 +02:00
raczman 250bae10d8 Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.
--HG--
branch : trunk
2009-04-12 13:11:07 +02:00
raczman d0f964ea9f Merge.
--HG--
branch : trunk
2009-04-12 13:02:44 +02:00
raczman 1e77ccd935 Change container type for guilds to Map.
Use const_iterator in case nothing is modified in loop.
author: bladex.

--HG--
branch : trunk
2009-04-12 12:57:06 +02:00
Rat c82cd936c5 *finished allliance cleaning wave in hyjal
--HG--
branch : trunk
2009-04-12 12:46:21 +02:00
raczman 8d3b562102 Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.
--HG--
branch : trunk
2009-04-12 12:45:17 +02:00
raczman 2ba0af3d8f Correct spell_affect mask for spell 12472 - by _krz/Asael
--HG--
branch : trunk
2009-04-12 11:05:19 +02:00
biglad c693e97a21 * Fix BG start teams, make them even, send only corrent amount of invites. thanks Machiavelli for help
--HG--
branch : trunk
2009-04-10 10:33:54 +01:00
raczman 49ee13d556 Removed unneeded function from Chat.h.
--HG--
branch : trunk
2009-04-12 10:53:44 +02:00
Anubisss 66f60f4c6e *Fix a typo in Gruul's door handling. Thanks Kudlaty.
--HG--
branch : trunk
2009-04-12 01:09:25 +02:00
megamage 9378a9cf21 *Add function GetPlayer and GetCreature for scripts. Please try to not use GetUnit in the future.
--HG--
branch : trunk
2009-04-11 13:42:34 -05:00
Rat 80e1a5faac *fix melee hit crit and add it to debuglog if disabled
--HG--
branch : trunk
2009-04-11 19:31:20 +02:00
Anubisss d0a7dc9ca6 *Fix compile sorry.
--HG--
branch : trunk
2009-04-11 17:12:51 +02:00
Anubisss 8907565eb5 *Little changes in instance Gruul's Lair.
--HG--
branch : trunk
2009-04-11 16:47:25 +02:00
Anubisss 171866e388 *Fix some typos in ScriptedInstances.
--HG--
branch : trunk
2009-04-11 16:15:19 +02:00
Anubisss 73c11195c7 *Fix 3 typo in SSC's bosses.
--HG--
branch : trunk
2009-04-11 16:07:49 +02:00
megamage 2a75430028 *Fix a script bug that causes memory corruption.
--HG--
branch : trunk
2009-04-10 17:52:42 -05:00
Rat e830ca7206 *fix auras (buff/debuff) original patch by Iskander
--HG--
branch : trunk
2009-04-10 23:48:44 +02:00
Rat ce0d9fbe8e *hyjal update
-small cleanup
-disable loot and reputation gain from trash mobs if players didn't do enough dmg
-added raid damage to instance save
-disable loot for bosses if players do less then 50% damage based on boss' max health
-removed min players workaroud to start the events

--HG--
branch : trunk
2009-04-10 22:02:52 +02:00
Rat 1e61dffc89 *added creature extra flag No Crit (CREATURE_FLAG_EXTRA_NO_CRIT)
*added function to disable reputation gained from monsters
*tabs2spaces in affected files

--HG--
branch : trunk
2009-04-10 18:11:09 +02:00
megamage c88b194e0a *Do not allow boss to be dazed by other creatures.
--HG--
branch : trunk
2009-04-09 18:48:57 -05:00
megamage add9a820d2 *Fix a typo that causes crash.
--HG--
branch : trunk
2009-04-08 18:56:03 -05:00
megamage a7e04a252f *Add unit to notify when unit is add to world (including load grid case).
*Add some check in remove object function.

--HG--
branch : trunk
2009-04-08 17:23:57 -05:00
Rat 0c2dd85c2c *fix Jaina stucking bug after evade
*small fixes to retreat events (spell visuals)

--HG--
branch : trunk
2009-04-08 19:55:47 +02:00
megamage 73ec2d50fa *Only clear spellcontainer when current spell is cancelled spell.
--HG--
branch : trunk
2009-04-08 12:36:01 -05:00
megamage 2ebeb198ad *Check if grid is loaded before switch container.
--HG--
branch : trunk
2009-04-08 12:20:39 -05:00
Rat bd7955c5a9 'small' update to Hyjal instance
*all bosses, trashes rescripted
*almost all 'events' done
*all mobs now use waypoints
*added instance gate scripts (horde gate entry: 182060, elf: 182061)
and lots of other fixes

todo:
-finish the 'cleaning waves'
-code cleanup
-fix small bugs

(istance is fully playable at corrent dev point)

--HG--
branch : trunk
2009-04-08 15:06:06 +02:00
mknjc d89e8346f1 Added a workaround for Black Hole Effect
--HG--
branch : trunk
2009-04-07 21:14:09 +02:00
mknjc 3157aa4013 Used constant SEC_PLAYER in World::SendGMText(int32 string_id, ...)
--HG--
branch : trunk
2009-04-07 16:24:49 +02:00
Rat 27082d1a2d *correct Leotheras the Blind add positions
--HG--
branch : trunk
2009-04-07 14:33:41 +02:00
Rat 89d7644822 *fix Al'ar stuck bug
--HG--
branch : trunk
2009-04-07 13:08:27 +02:00
Rat d4f763f2f6 *fix Lady Vashj unattackable bug
--HG--
branch : trunk
2009-04-07 12:47:34 +02:00
mknjc 600fe8b9ac Fixed SQL file
--HG--
branch : trunk
2009-04-07 00:01:28 +02:00
megamage e00106db55 *Always delink spell and container when spell is cancelled.
--HG--
branch : trunk
2009-04-05 17:31:12 -05:00
raczman@debian fef43ddbe7 Fix interface building.
--HG--
branch : trunk
2009-04-05 22:08:24 +02:00
mknjc 813a832b11 Added reload command for spell_linked_spell DB table
--HG--
branch : trunk
2009-04-05 12:46:52 +02:00
raczman 5fb720d117 Crashfix. <3 QAston, you damn beast.
--HG--
branch : trunk
2009-04-05 12:11:28 +02:00
raczman 607741569c Fix build.
--HG--
branch : trunk
2009-04-05 10:31:28 +02:00
megamage f692364e8e *Fix a crash caused by scriptprocess
--HG--
branch : trunk
2009-04-04 20:31:43 -06:00
megamage 9a03bb1e5f *Backport some contents from TC2.
--HG--
branch : trunk
2009-04-04 20:31:29 -06:00
raczman 574a9bb88e Fixed typo.
--HG--
branch : trunk
2009-04-04 23:35:03 +02:00
raczman c4821eef7a Merge.
--HG--
branch : trunk
2009-04-04 23:33:16 +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 96f2363b04 *Add a missing part of visibility patch.
--HG--
branch : trunk
2009-04-04 15:14:19 -06:00
megamage 86bd3bfb42 *Do not check formation for pet and summoned creatures.
--HG--
branch : trunk
2009-04-04 15:04:24 -06:00
raczman eede65e115 Not displaying "Command not found" error for player security level. Thx Machiavelli <3
--HG--
branch : trunk
2009-04-04 23:02:24 +02:00
megamage f599b603f3 *Add a missing part of the visibility patch.
--HG--
branch : trunk
2009-04-04 13:08:14 -06:00
megamage caca633c8e *Fix the bug that creatures do not return to spawn point when players leave instance.
--HG--
branch : trunk
2009-04-04 13:04:11 -06:00
megamage c0a131a63d *Fix visibility update bug.
--HG--
branch : trunk
2009-04-04 13:02:57 -06:00
Rat 98f3d4d8b3 *remade Black Temple doors with new HandleGameObject
--HG--
branch : trunk
2009-04-04 18:18:08 +02:00
Rat 3fd4f3d4b3 *added HandleGameObject function to instance, use this to simply open/close doors from scripts
--HG--
branch : trunk
2009-04-04 18:07:05 +02:00
raczman 1f9efc82ca Merge.
--HG--
branch : trunk
2009-04-04 15:27:32 +02:00
raczman 8557d20e6e Added some extra debug log when finishing rated arena match.
--HG--
branch : trunk
2009-04-04 15:27:12 +02:00
raczman ca916cebbe merge with megamage's
<3

--HG--
branch : trunk
2009-04-04 00:30:45 +02:00
raczman 38d634a163 Fixed BG mark rewarding in case of prematurely finished BG:
-team with most points will get 3 marks, the other one 1 mark
-in case of a draw, each team gets 1 mark (not sure if blizzlike)
TODO:
-remove per BG score variables and substitute them further with general m_score[] array to avoid data duplication.
Please report any bugs, and TC2 devs - dont pull this change into TC2, its not 309-like.

--HG--
branch : trunk
2009-04-04 00:29:43 +02:00
megamage 19f725cd51 *Try to fix the bug of visibility update.
--HG--
branch : trunk
2009-04-03 14:44:34 -06:00
Rat 893eb77a07 *hopefuly fix Thrall reset bug
--HG--
branch : trunk
2009-04-03 22:20:19 +02:00
megamage b449693f17 *Fix a crash of warbringer_omrogg script.
--HG--
branch : trunk
2009-04-03 12:01:50 -06:00
Rat 335c04b791 *added new escortAI functions (does not effect already coded escort scripts)
--HG--
branch : trunk
2009-04-03 17:57:57 +02:00
megamage dd2a8443d5 *Also call combatstart when applying areaaura/persistant aura
--HG--
branch : trunk
2009-04-02 22:23:51 -06:00
megamage f2e88cae51 *Fix some visibility bug.
--HG--
branch : trunk
2009-04-02 20:27:10 -06:00
Rat 43b9dbe31e *fixed Black Temple doors
--HG--
branch : trunk
2009-04-02 23:22:20 +02:00
Rat be4cdba28b *fix teron gorefiend's doom blossom
--HG--
branch : trunk
2009-04-02 20:17:45 +02:00
megamage 7f209249a2 *Do not call reset in construct funciton of script.
*Add function doaction to safely pass parameters between scripts.

--HG--
branch : trunk
2009-03-31 18:12:49 -06:00
megamage bd1a630463 *Fix build.
--HG--
branch : trunk
2009-03-31 17:10:23 -06:00
megamage b91529fd8e *Backport some code from TC2.
--HG--
branch : trunk
2009-03-31 14:40:54 -06:00
raczman f2df7bbdcc Probably fix a crash in SocialMgr.cpp
--HG--
branch : trunk
2009-03-31 08:36:54 +02:00
raczman 075d8a44a5 Optimize storage for eventAI. Store as Map of creature id's linked to vectors of events used by that creature id
Author of both commits: NoFantasy.

--HG--
branch : trunk
2009-03-31 00:15:17 +02:00
raczman 8e308da259 Allow eventAI creature have events both inside instance and outside, without producing error message.
Note that EFLAG_NORMAL/EFLAG_HEROIC must still be defined if this event should trigger in this mode. Creature outside instance will always use all events regardless.

--HG--
branch : trunk
2009-03-30 23:45:17 +02:00
raczman e097f358a1 Fix build after importing Kudlaty's script.
--HG--
branch : trunk
2009-03-30 17:40:47 +02:00
raczman e0637c6c20 Added script for GO 185913 by Kudlaty.
--HG--
branch : trunk
2009-03-30 17:24:13 +02:00
raczman 3f985645db Added GO gossip menu support. Kudos and cookies to arrai.
--HG--
branch : trunk
2009-03-30 16:57:17 +02:00
raczman 9d02feed4f Removed obsolete file
--HG--
branch : trunk
2009-03-29 23:15:10 +02:00
raczman d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
raczman 3a13ab502f Added script for GO 175944 by Sorken.
--HG--
branch : trunk
2009-03-27 20:28:17 +01:00
megamage 6a0677fd03 *Fix the bug of visibility.
--HG--
branch : trunk
2009-03-27 09:06:26 -06:00
raczman 45350f5f52 Fixed exploit with summoning Epoch Hunter more than once.
--HG--
branch : trunk
2009-03-27 10:59:53 +01:00
megamage 52a5c5e8e3 *Some improvement of update visibility when players leave map.
--HG--
branch : trunk
2009-03-26 20:33:01 -06:00
megamage dd5faef024 *Do not interrupt channel when persistent aura is removed.
--HG--
branch : trunk
2009-03-26 20:32:28 -06:00
megamage b95f1a2ff4 *Fix broken single spell immune.
--HG--
branch : trunk
2009-03-26 11:18:43 -06:00
megamage 1c2e62d2f4 *Backport a missing function from TC2.
--HG--
branch : trunk
2009-03-26 08:50:51 -06:00
megamage 9f27e0be86 *Fix a crash caused by active object.
--HG--
branch : trunk
2009-03-25 18:14:18 -06:00
megamage 581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -06:00
megamage 435570903a *Fix dynamic object radius. Backported from TC2.
--HG--
branch : trunk
2009-03-25 15:48:54 -06:00
megamage fe08615d17 *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-24 22:25:22 -06:00
raczman 8413356d0e Backported part of CMake update from TC2.
--HG--
branch : trunk
2009-03-24 00:23:10 +01:00
raczman 76f466cb3d Added script for GO 184421 by Lukaasm.
--HG--
branch : trunk
2009-03-24 00:06:47 +01:00
megamage 71bcdec848 *Fix a typo in knockback effect.
--HG--
branch : trunk
2009-03-23 15:25:20 -06:00
raczman 380cffe5bf Added script for GO 183146. By McBitter.
--HG--
branch : trunk
2009-03-23 18:07:58 +01:00
megamage f703449242 *Backport a crash fix of petai.
--HG--
branch : trunk
2009-03-22 11:44:07 -06:00