Commit Graph

22 Commits

Author SHA1 Message Date
megamage
ad4267ce11 *Fix a typo which makes tenacity is casted on wrong team in wintergrasp. By iadus3
--HG--
branch : trunk
2009-08-13 18:44:22 -05:00
megamage
99eafd6a52 *Allow players to capture siege workshops in wintergrasp.
--HG--
branch : trunk
2009-08-12 08:51:51 -05:00
megamage
c8ed3cf1e9 *Some update of opvp (no real change)
--HG--
branch : trunk
2009-08-10 23:38:51 -05:00
megamage
c6765f9365 *Allow to force to respawn creatures.
*Save creature data for vehicles.
*Change some visibility update sequence of respawned creatures.
*Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase

--HG--
branch : trunk
2009-06-17 01:01:39 -05:00
megamage
3d452042d8 *Do not register zone if opvp setup failed. This fixes related crash.
--HG--
branch : trunk
2009-06-11 23:45:27 -05:00
Machiavelli
7445ddad05 Minor code cleanup:
* Fix possible crash in OPvPCapturePoint::AddCapturePoint due to using null pointer in log output
* Correct damage for Gore (arithmetic operator has precedence over question operator)
* Correct SQL query that WaypointManager uses to count record number
* Declare Aura *aur in OPvPWintergrasp::HandleKill only once and then evaluate value instead of declaring twice and then evaluating

--HG--
branch : trunk
2009-06-10 19:41:53 +02:00
megamage
7329977323 *Remove rank buff when players leave wintergrasp.
--HG--
branch : trunk
2009-06-07 10:32:08 -05:00
megamage
13fd9ea601 *Apply tenacity buff on vehicles of wintergrasp.
*Fix the bug that tenacity is not applied on horde players.

--HG--
branch : trunk
2009-06-05 14:21:25 -05:00
megamage
afd79d7ebf *Give rewards (only to players with rank LIEUTENANT) when battle in wintergrasp ends.
--HG--
branch : trunk
2009-06-05 13:43:36 -05:00
megamage
ed7e8569cc *Add config option for wintergrasp (battle time, interval)
--HG--
branch : trunk
2009-06-03 23:23:23 -05:00
megamage
37f4bf6a04 *Fix the bug that triggers are visible.
--HG--
branch : trunk
2009-06-03 21:47:38 -05:00
megamage
564d2a94e5 *Add timer for wintergrasp. 30 minutes per battle. Can only take over fortress during wartime.
--HG--
branch : trunk
2009-06-02 00:04:32 -05:00
megamage
77889ffa8b *Save/load wintergrasp building health when grid loaded/unloaded.
--HG--
branch : trunk
2009-06-01 23:45:55 -05:00
megamage
b5a098643f *Display correct building damage state/team on map in wintergrasp.
*Rebuild buidlings after fortress is taken over.

--HG--
branch : trunk
2009-06-01 12:48:12 -05:00
megamage
d83658c821 *wintergrasp: allow players to click titan relic to change the attacker/defender teams. Now only some of npc and portal will be changed.
--HG--
branch : trunk
2009-05-31 22:45:32 -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
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
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
8140543de4 *Rewrite some OPvP functions.
*Apply tenacity buff for outnumbered players in wintergrasp.

--HG--
branch : trunk
2009-05-24 17:26:44 -05:00
megamage
27e3352d2b *Fix a bug that vehicle in wintergrasp is dismissed when player log out.
--HG--
branch : trunk
2009-05-23 20:40:44 -05:00
megamage
322769ee55 *Display building location on map for wintergrasp.
--HG--
branch : trunk
2009-05-23 01:44:16 -05:00
megamage
ab5b273d3c *Some work on wintergrasp. Player can get ranks by killing other players and can build vehicles at workshop. Vehicles can be used to destroy buildings. Except these no other thing is done.
--HG--
branch : trunk
2009-05-22 10:29:48 -05:00