Commit Graph

3647 Commits

Author SHA1 Message Date
megamage
da871e2fc0 *Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go.

--HG--
branch : trunk
2009-05-31 14:26:57 -05:00
megamage
8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
megamage
b5778357d9 *Fix a crash. Thanks to Amok
--HG--
branch : trunk
2009-05-30 17:17:05 -05:00
megamage
76d0498aae *Allow to spawn correct npc for defender/attacker in wintergrasp based on game event. Now only xxx Champion is spawned based on faction for test. Other npc and gameobjects requires DB support (now in db the defender is always horde and attacker always alliance, and the data of counterpart is missing)
*Fix defenders' portal (now only useable for horde)
*Display random model if the model id in creature table is one of those in creature_template table (in this case they should be 0 actually).

--HG--
branch : trunk
2009-05-30 15:05:54 -05:00
megamage
790181add0 *Add game event type GAMEEVENT_INTERNAL which can only be started by scripts.
--HG--
branch : trunk
2009-05-30 14:50:18 -05:00
megamage
2a6d93ef5c *Fix the bug that opvp creatures and gobjects are not displayed.
--HG--
branch : trunk
2009-05-30 14:48:58 -05:00
megamage
1a857d382a *Start game event system before init bg and opvp in case that bg and opvp needs to start some game events.
--HG--
branch : trunk
2009-05-30 14:48:13 -05:00
BroodWyrm
b3efef3cfe *Fix bug that unworthy initiate don't find the soulprison gameobject
--HG--
branch : trunk
2009-05-30 14:29:31 +02:00
BroodWyrm
cbe51194e7 *Fix some Script Bugs ... in TC2 virtual Aggo is EnterCombat now ... this fix Kiljaden, Muru, Moroes Script
--HG--
branch : trunk
2009-05-30 11:35:54 +02:00
megamage
15633ec97e *Fix spell Rune Strike.
--HG--
branch : trunk
2009-05-30 00:09:50 -05:00
megamage
d3e1e1eae6 *Fix a bug that pet does not autocast after summoned or log in.
--HG--
branch : trunk
2009-05-30 00:05:44 -05:00
megamage
4d27b26638 *Update targeted motion code.
--HG--
branch : trunk
2009-05-30 00:05:20 -05:00
megamage
83d468c7ee *Always use idle motion as default for triggers.
--HG--
branch : trunk
2009-05-29 21:30:08 -05:00
megamage
38c22f4190 *make the Rate.Reputation.Gain config option apply to reputation gains inside battlegrounds as well By BudIcePenguin
--HG--
branch : trunk
2009-05-29 21:27:28 -05:00
megamage
cc022341ac [7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template. Author: NoFantasy
--HG--
branch : trunk
2009-05-29 21:24:23 -05:00
megamage
ff4241e5eb *Fix a crash caused by removing areaaura. Thanks to arthurcik
--HG--
branch : trunk
2009-05-29 16:52:35 -05:00
megamage
89f4c1c444 *Add function FindNearestCreature and FindNearestGameObject to replace old FindCreature and FindGameObject
--HG--
branch : trunk
2009-05-29 16:49:28 -05:00
megamage
3faa712d42 *Allow some warrior shouts and druid roars to interrupt stealth. thanks to thenecromancer
--HG--
branch : trunk
2009-05-29 16:09:55 -05:00
BroodWyrm
bd35c961ad *Merge.
--HG--
branch : trunk
2009-05-29 23:01:37 +02:00
BroodWyrm
0a9d956ca2 *Fix some resetbugs in script for quest 12848
--HG--
branch : trunk
2009-05-29 23:00:37 +02:00
megamage
94ca55af86 *Fix a crash. Thanks to DaGNU.
--HG--
branch : trunk
2009-05-29 14:16:30 -05:00
BroodWyrm
66faf147f9 *Try to fix some bugs on script for quest 12848
--HG--
branch : trunk
2009-05-29 21:15:53 +02:00
Them
b453bca2b4 *Fix compile under *nix.
--HG--
branch : trunk
2009-05-29 19:26:56 +02:00
megamage
106766e4ac *Add an assert to find a bug.
--HG--
branch : trunk
2009-05-29 12:08:06 -05:00
megamage
21462d4895 *Fix build in *nix.
--HG--
branch : trunk
2009-05-29 10:54:04 -05:00
megamage
bc32144310 *Update OutdoorPvP functions. No longer need creature triggers for capture points.
--HG--
branch : trunk
2009-05-29 00:18:41 -05:00
megamage
1288761fb7 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state. Author: VladimirMangos
Also related cleanup code in field cases and player Player::SetSheath.

--HG--
branch : trunk
2009-05-28 18:43:57 -05:00
megamage
451471d438 [7904] Change creature damage calculation formula. Author: Seizerkiller
* Add new creature_template field `dmg_multiplier`
    * Make attackpower include in creature damage not dependent from attack speed.

    NOTE: included in sql update recalculation for creature damage related fields only make
    temporary possible usable values. Real values need revisited by DB devs for correctness.

--HG--
branch : trunk
2009-05-28 18:29:59 -05:00
megamage
cfa2e223c0 [7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount. Author: VladimirMangos
* Other pet spell types auto-learned at level setup/load.
    * Code will cleanup pet_spell table from non-talents spell if detect any at load.
    * Free talents points recalculated at loading and levelup so store its in DB useless.

    Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.

--HG--
branch : trunk
2009-05-28 18:22:54 -05:00
megamage
4a7a63e438 *Add an errorlog in HasInArc function to find a bug.
--HG--
branch : trunk
2009-05-28 15:49:23 -05:00
Drahy
05011544df * Used trinity sql coding style
--HG--
branch : trunk
2009-05-28 21:29:53 +02:00
megamage
aaac715b07 *Fix broken outdoor pvp capture points.
--HG--
branch : trunk
2009-05-28 12:35:41 -05:00
megamage
9be8d8ee88 *Fix build for VC90 x64.
--HG--
branch : trunk
2009-05-28 11:28:47 -05:00
Paradox
79d8a77846 Fix wrong data type for core_revision in DB, again
--HG--
branch : trunk
2009-05-28 10:15:08 -04:00
megamage
d2fe68bfef *Some improvement of DK start zone quests (no new quest fixed)
--HG--
branch : trunk
2009-05-27 23:33:21 -05:00
megamage
e81d3acda7 *Use correct type name for opvp object. (no real change)
--HG--
branch : trunk
2009-05-27 23:27:04 -05:00
megamage
773f9d072c *Set boss active=false after they arrive home. This fix the bug that boss is stuck at some far away grid and there spawns another boss.
--HG--
branch : trunk
2009-05-27 23:26:08 -05:00
megamage
c61ef6c73c [7902] Speed up Creature and GO loads. Author: AlexDereka
--HG--
branch : trunk
2009-05-27 23:24:22 -05:00
megamage
626630a1b0 *Some update of pet bar code.
--HG--
branch : trunk
2009-05-27 22:17:10 -05:00
megamage
514fc49c3c [7901] Refactoting pet action bar related code. Fixed some related bugs. Author: VladimirMangos
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
    * Avoid send data by PetSpellInitialize() many times while pet loading

--HG--
branch : trunk
2009-05-27 17:02:39 -05:00
megamage
7ccd99ecab [7900] Now really allow recieve account bounded items by mail reciver. Author: VladimirMangos
--HG--
branch : trunk
2009-05-27 16:39:49 -05:00
megamage
73d31e2552 [7898] Improve client error output at different mail send errors, cleanup code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-27 16:38:50 -05:00
megamage
35ba3ca653 [7897] Include function name in assertion fail output. Author: Ambal
--HG--
branch : trunk
2009-05-27 16:37:03 -05:00
megamage
5101c7c4c5 [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use. Author: NoFantasy
--HG--
branch : trunk
2009-05-27 16:36:09 -05:00
megamage
75cf5b781c *Do not trigger living bomb when target is dead. By Them
--HG--
branch : trunk
2009-05-27 16:11:40 -05:00
Kudlaty
dc1c900048 Add fix for quest 12680
--HG--
branch : trunk
2009-05-27 22:14:58 +02:00
Anubisss
4ce92ed6fa *Merge SD2.
*r983: Add additional checks for zoneInCombat-function.
*r984: Remove two useless functions, cleanup some code. - The most part of the patch skipped.
*r985: Clean up some code and prevent Spark from doing certain actions if in certain areas
*r986: Remove most EventAI code - Skip this patch
*r987: Correct and remove now obsolete documentation. - Skip: delete EventAI.txt

--HG--
branch : trunk
2009-05-27 21:30:03 +02:00
megamage
ba934b35d6 *Try to fix a freeze bug. (atan2(0,0) returns invalid value)
--HG--
branch : trunk
2009-05-27 13:22:21 -05:00
Drahy
199cac6dda * Used trinity sql coding style
--HG--
branch : trunk
2009-05-27 20:19:23 +02:00
megamage
ffca6ec384 *Change vehicle faction the same as the driver's when driver enters it.
*Fix 3593 sql.

--HG--
branch : trunk
2009-05-27 12:42:38 -05:00