Commit Graph

39720 Commits

Author SHA1 Message Date
megamage
507ae0a89d *Fix a typo that makes target stop automatically when it is hit by attacker.
--HG--
branch : trunk
2009-05-31 14:34:05 -05:00
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
raczman
76d10d9477 Merge
--HG--
branch : trunk
2009-05-31 16:18:27 +02:00
raczman
700e062886 Check for proper movementflags in player move packet, and kick in case of wrong flags.
--HG--
branch : trunk
2009-05-31 16:16:21 +02: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
krz
ae5f9ac227 Missing part from thenecromancer's weapon proc patch.
Some changes in ProcDamageAndSpellFor to allow triggered spells to trigger other for victim.

--HG--
branch : trunk
2009-05-31 01:43:36 +02: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
krz
78228818b7 Calculate mechanic resist chance for melee abilities.
--HG--
branch : trunk
2009-05-30 20:40:05 +02:00
tvaroh
a3a7996fd1 Do not remove poison enchantment auras when entering arena battle.
--HG--
branch : trunk
2009-05-30 18:27:08 +02: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
Paradox
3a223e0e80 Fix CRLF... please be sure to check your win32text settings, including cleverencode/cleverdecode settings before pushing to the repo
--HG--
branch : trunk
2009-05-29 08:32:59 -04: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
krz
861aad532b Don't unsummon pet while mounting in arena.
Disable pet's interface instead.

--HG--
branch : trunk
2009-05-29 04:52:03 +02: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
krz
2d69889a68 Do not allow Seed of Corruption to damage affected target and trigger from other SoC proc.
Original patch by freeganja

--HG--
branch : trunk
2009-05-29 00:07:38 +02:00
thenecromancer
bc55209b3e Restore used spell mods if spell cast fails.
--HG--
branch : trunk
2009-05-28 23:05:52 +02:00
megamage
4a7a63e438 *Add an errorlog in HasInArc function to find a bug.
--HG--
branch : trunk
2009-05-28 15:49:23 -05:00
lukaasm
39dd09532b Calculate armor reduction only for attacks with SPELL_SCHOOL_MASK_NORMAL
--HG--
branch : trunk
2009-05-28 22:10:20 +02: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
Paradox
56a005703b Fix wrong data type for core_revision in DB, again
--HG--
branch : trunk
2009-05-28 10:14:46 -04:00
freeganja
f61911b5f5 *Fix a typo in scriptname.
--HG--
branch : trunk
2009-05-28 13:16:17 +02: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