Commit Graph
100 Commits
Author SHA1 Message Date
megamage 11b6ae7924 *Correct reputation rounding. By Necroo
--HG--
branch : trunk
2009-08-05 22:24:47 -05:00
megamage bcbfbd6826 *Some clean up of scripts.
--HG--
branch : trunk
2009-08-05 22:24:30 -05:00
megamage 054974596e *Teleport player to start pos instead of home pos when using stuck spell.
--HG--
branch : trunk
2009-08-05 19:45:10 -05:00
megamage 9a8c60dbc7 *Do not allow dk to teleport out of start map without completing required quests.
*Remove some useless quest status enum.

--HG--
branch : trunk
2009-08-05 19:43:55 -05:00
megamage f03cd942cd *Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS
--HG--
branch : trunk
2009-08-05 17:26:15 -05:00
megamage e3e09cc86a *Fix a typo.
--HG--
branch : trunk
2009-08-05 16:42:12 -05:00
megamage ec56fd77bf *Merge
--HG--
branch : trunk
2009-08-05 16:40:41 -05:00
megamage 5b1e8ef6ff [8309] Fixed paladin judgement selection code in some places. Author: KAPATEJIb
--HG--
branch : trunk
2009-08-05 16:39:09 -05:00
megamage 907342d5b0 [8308] More generic code for new continent spell casting including fly form/mounts. Author: VladimirMangos
* Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in
      SpellMgr::GetSpellAllowedInLocationError.
    * Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item)
    * For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state.
    * Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality.
    * Allow in `spell_area` have data deepndent from ghost auras

    This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area`

--HG--
branch : trunk
2009-08-05 16:33:34 -05:00
megamage 31f989fab9 For check allowed in dead state auras apply use IsDeathPersistentSpell instead hack code. Author: VladimirMangos
--HG--
branch : trunk
2009-08-05 16:14:54 -05:00
megamage df017667a5 [8307] Fix skinning for creatures without loot.
Signed-off-by: hunuza <[email protected]>

--HG--
branch : trunk
2009-08-05 16:11:43 -05:00
megamage e7ebddfc9a [8306] Implement single-per-caster limitation for paladin "hand of" spells. Author: VladimirMangos
--HG--
branch : trunk
2009-08-05 16:11:12 -05:00
megamage 49e127727b [8305] Fixed item loading from pdumps. Author: hunuza
This resolve problems with marking all items as readble.

--HG--
branch : trunk
2009-08-05 16:04:08 -05:00
megamage 47e36000cb [8304] Move standup code to login, remove other not needed data change at save. Author: VladimirMangos
Now players saved as-is without any modifications.

--HG--
branch : trunk
2009-08-05 16:03:33 -05:00
Rat 18e36134ad *fix typo in achievement, thanks to Thyros
--HG--
branch : trunk
2009-08-05 23:03:27 +02:00
megamage 743233a057 [8303] Allow save and restore at login forms/stances. Author: VladimirMangos
Small changes also to prevent visual "fall" flight form for viewer at login,
    and another changes to prevent recasting default warrior stance.
    This also resolve bug with not removing some form bonuses at lost form at re-login.

--HG--
branch : trunk
2009-08-05 16:00:07 -05:00
megamage 9bc5334c00 [8297] Partly revert "[8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups." Author: VladimirMangos
Use less stricted limitations for pet out-of-combat autoucasts.

--HG--
branch : trunk
2009-08-05 15:48:04 -05:00
megamage 11488f2063 [8295] Remove single target auras at caster/target shift to not accessable phase. Author: VladimirMangos
This must fix another source of "Couldn't find the caster of the single target aura" errors.

--HG--
branch : trunk
2009-08-05 15:35:43 -05:00
megamage 62055d85a9 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code. Author: Necro
--HG--
branch : trunk
2009-08-05 15:26:13 -05:00
QAston d7df4cfa09 *Fix Coyote Spirit Despawn Aura (52172) and Blood Parrot Despawn Aura (60244) - inspired by Disassembler's patch.
--HG--
branch : trunk
2009-08-05 17:00:01 +02:00
QAston 037fa6eae1 *Script effect for Big Blizzard Bear - by simon.
--HG--
branch : trunk
2009-08-05 16:00:36 +02:00
QAston 26d10f0fb6 *Update Damage Shield procflags for 3.1.3 - by tlexii.
--HG--
branch : trunk
2009-08-05 15:52:08 +02:00
QAston d883bf5b44 *Fix target selection for Ancestral Awakening and Replenishment - by Them
--HG--
branch : trunk
2009-08-05 04:37:19 +02:00
QAston afd9eb77aa *Make cleansing totem remove poisons - by Them
--HG--
branch : trunk
2009-08-05 02:45:35 +02:00
QAston 50ce9f8cfa *Correct implementation and use of dbc data for aura SPELL_AURA_CONVERT_RUNE(249)
*Fix Blood of the North, Reaping - original patch by thenecromancer
*Fix Death Rune Mastery.

--HG--
branch : trunk
2009-08-05 02:36:26 +02:00
Drahy 172a6f1279 * Added missing script name go_shrine_of_the_birds
* Trinity sql coding style

--HG--
branch : trunk
2009-08-05 01:21:09 +02:00
Rat dfe158074d *fixed Alterac Valley
--HG--
branch : trunk
2009-08-04 23:16:44 +02:00
QAston d95e9c1027 *Fix Gargoyle feeding behaviour - original patch by thenecromancer.
*Add SPELL_TARGET_TYPE_CONTROLLED for spell_script_target table for fast search of units(grid search skipped) and to prevent applying effects to not owned summons

--HG--
branch : trunk
2009-08-04 19:28:31 +02:00
QAston 1d7375c545 *Use uint64 instead of uint32 in AHbot prizes calculation to prevent overflow - by MaXIMUS.
--HG--
branch : trunk
2009-08-04 15:15:02 +02:00
Rat 35cf6778de *added script for training dummies
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill

--HG--
branch : trunk
2009-08-04 12:38:35 +02:00
Rat 73ce3bd366 *no need to log chat channel saves
--HG--
branch : trunk
2009-08-04 12:22:16 +02:00
Drahy ebad12818b * Some cleanup in full sqls
--HG--
branch : trunk
2009-08-04 05:31:00 +02:00
QAston 2e34af64cf *Allow ItemExpire events to be scripted.
*Add .debug itemexpire command
*Add script for Disgusting Jar and Mysterious Egg - original patch by Elron.

--HG--
branch : trunk
2009-08-04 01:44:14 +02:00
Anubisss 29c9d709b9 *Merge last two revs. :(
--HG--
branch : trunk
2009-08-04 01:29:21 +02:00
Anubisss 834c10a0df *Use heroic_level_min value (if not 0) from table access_requirement for instances with heroic mode.
*Use level_min value if heroic_level_min == 0 for instances with heroic mode.
*Correct heroic_level_min value for all instances.

--HG--
branch : trunk
2009-08-04 01:26:49 +02:00
Drahy ad5cf0a0ba * Fixed typo in spell_full
* Moved part from converter to spell_full

--HG--
branch : trunk
2009-08-04 01:23:56 +02:00
Nevan cd1be01444 *Update formula on last fix
--HG--
branch : trunk
2009-08-03 23:22:42 +02:00
Nevan 2c33800661 *Fix Shaman T8 Bonus
*Added Polymorph Glyph to world_spell_full.sql

--HG--
branch : trunk
2009-08-03 23:16:56 +02:00
Drahy e51a4a8196 * Added AP bonus for Hunter - Volley
* Some cleanup in spell_full

--HG--
branch : trunk
2009-08-03 22:14:38 +02:00
QAston 0115d648c0 *Cleanups in BattlegroundAV::Update.
--HG--
branch : trunk
2009-08-03 21:48:22 +02:00
QAston 08cd876f36 *Update zone for players after adding to map. - by VladimirMangos
*Skip instance loading for player with flypath/on transport.

--HG--
branch : trunk
2009-08-03 19:48:28 +02:00
Nevan 044b8b44a3 *Moved Glyph of Polymorph in Unit::HandleDummyAuraProc
--HG--
branch : trunk
2009-08-03 19:19:58 +02:00
QAston 7569bb343a *Add Rate.RepairCost config option - by MaXiMiUS
*Apply tc sql coding style to 4737_world_TDB.sql - by Drahy
*Fix build with MAP_BASED_RAND_GEN option.

--HG--
branch : trunk
2009-08-03 16:35:33 +02:00
QAston b4a2ece56c *Alterac Valley sql data update - by Boogie.
--HG--
branch : trunk
2009-08-03 15:41:02 +02:00
QAston b5d0945573 Added tag stable for changeset fa27379094e7
--HG--
branch : trunk
2009-08-03 15:12:03 +02:00
QAston e0abc071b2 Removed tag Stable
--HG--
branch : trunk
2009-08-03 15:09:45 +02:00
QAston 009bc1200d Removed tag stable
--HG--
branch : trunk
2009-08-03 15:09:21 +02:00
QAston f93830e0ae *Add DeleteObjectWith owner function for gameobject deletion with updating owner object list
*Cleanups in Aura 1852 and recenlty added glyph code.

--HG--
branch : trunk
2009-08-03 14:52:30 +02:00
QAston 8777efd03c *Add some crash prevention checks.
--HG--
branch : trunk
2009-08-03 12:52:31 +02:00
Nevan 1b6057ec51 *Fix Glyph of Fireball
*Fix Glyph of Frostbolt

--HG--
branch : trunk
2009-08-03 08:56:18 +02:00
Nevan 5461999e65 *Typo
--HG--
branch : trunk
2009-08-03 03:41:15 +02:00
Nevan 6f43e7184b *Fix Polymorph Sheep Sound
*Fix Glyph of the Penguin
*Clean Up Glyph of Polymorph

--HG--
branch : trunk
2009-08-03 03:22:08 +02:00
Anubisss d8462e5350 *Add a missing update to scripts' full sql.
--HG--
branch : trunk
2009-08-03 03:04:23 +02:00
Rat b752631040 merge
--HG--
branch : trunk
2009-08-03 01:17:03 +02:00
Rat f166fa145f *fix Lady Vashj
*fix Toxic Sporebat's Toxic Pool spell

--HG--
branch : trunk
2009-08-03 01:12:05 +02:00
Nevan f0857afa46 *Fix Glyph of Polymorph
--HG--
branch : trunk
2009-08-03 00:46:16 +02:00
Nevan 249b2e4381 *Fix Aura Mastery "Immunity"
--HG--
branch : trunk
2009-08-02 04:29:40 +02:00
megamage c68a496a19 [8292] Fixed healing part of spell 19505 and ranks (in fact from rank 2) Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:19:40 +08:00
megamage 84694a1f92 [8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:17:07 +08:00
megamage 41ba5c232a [8288] Add table base addition reqs for achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL Author: VladimirMangos
This prevent not proper finish some achievments added in 3.1.x

--HG--
branch : trunk
2009-08-02 10:12:40 +08:00
megamage 793ec8c97d [8286] Correctly show talent points after talents reset at login by "at login" flag. Author: redcore
--HG--
branch : trunk
2009-08-02 10:11:48 +08:00
megamage d3646db916 [8285] Don't show creatures as lootable that have no loot. Author: Prince
--HG--
branch : trunk
2009-08-02 10:11:27 +08:00
megamage c9010dffc7 [8284] Use BuyCound instead Stackable for seelction original items amount for new character. Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:10:53 +08:00
megamage 1c10f20e38 [8283] Implement 3.x way work for double damage from 35290 and ranks Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:10:13 +08:00
megamage a1d5f174be Avoid target requirement checks for spells with caster base target selection (self,pet,around). Author: VladimirMangos
This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster.

--HG--
branch : trunk
2009-08-02 10:03:38 +08:00
megamage c1d94ad607 [8279] Fixed paladin auras for SpellSpecific. Author: nos4r2zod
--HG--
branch : trunk
2009-08-02 09:51:11 +08:00
QAston fbcf409796 *Fix ppm handling for victim auras - by pasdVn.
--HG--
branch : trunk
2009-08-02 02:18:14 +02:00
QAston f0258275e6 *One more map correction - reset map pointer if still avalible in constructor.
--HG--
branch : trunk
2009-08-01 22:00:06 +02:00
QAston e10a8c88b6 *Fix a typo.
--HG--
branch : trunk
2009-08-01 21:41:15 +02:00
QAston 3e5205cda7 *Do not remove player reference to map on player remove from map.
--HG--
branch : trunk
2009-08-01 21:39:33 +02:00
Nevan 604ad4eba3 *Fix Glyph of Guardian Spirit
--HG--
branch : trunk
2009-08-01 21:15:56 +02:00
QAston aa60def6ac *Teleport player to homebind if instance can't be created in WorldSession::HandleMoveWorldportAckOpcode.
--HG--
branch : trunk
2009-08-01 20:23:23 +02:00
QAston d577d00313 *Store mapId in Corpse class for access to corpse when grid containing them is unloaded and map pointer is unloaded leading to crash.
--HG--
branch : trunk
2009-08-01 19:50:42 +02:00
Nevan 32a7e355a0 *Added DELETE statement forget in last sql. (Sorry about that)
--HG--
branch : trunk
2009-08-01 12:14:29 +02:00
Nevan 03604a2567 *Fix Spell 1852 (This is a GM tool for silencing players.)
--HG--
branch : trunk
2009-08-01 12:06:06 +02:00
QAston 452eb46398 *Prevent possible creation of instance from bg map.
--HG--
branch : trunk
2009-08-01 04:13:28 +02:00
QAston 0241653d42 *Fix a problem with instantioned bgs introduced in 4697.
--HG--
branch : trunk
2009-08-01 03:37:40 +02:00
QAston 00724b0b4f *Check in spell block chance calc to prevent return unexpected value - by thenecromancer.
--HG--
branch : trunk
2009-08-01 02:47:58 +02:00
QAston bf326cd3a3 *Update world_spell_full with missing data.
--HG--
branch : trunk
2009-08-01 02:15:04 +02:00
QAston 129f6ce6f0 *Remove unneeded assert.
--HG--
branch : trunk
2009-08-01 02:08:59 +02:00
Nevan 6343c2a00f *Update Bloodworms Healing formula
*Removed unnecessary db proc data.

--HG--
branch : trunk
2009-08-01 01:47:47 +02:00
QAston 1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
Rat 0db1fd6c26 *add 6 secs cooldown for warrior talent 56636 (Taste for Blood) and ranks, sql by HP1
--HG--
branch : trunk
2009-08-01 00:12:04 +02:00
QAston 91d7f59cf7 *Tempfix for a crash caused by trying to access db script while out of world. This will probably not fix all related issues - it's safer to use rev 4666 or older. Sorry for this problem, 1:1 merge from MaNGOS will never happen again. Issue is going to be solved with map handling change upcoming soon.
--HG--
branch : trunk
2009-07-31 17:24:11 +02:00
QAston 0fdd7cd5de *Remove data from world.sql - it exists now only for structure documentation.
*Remove debug spell_check command - such things shouldn't belong to core.

--HG--
branch : trunk
2009-07-31 15:35:31 +02:00
QAston 9b56360b4c *Remove world_tmp_full - templates made by core devs are going to be included in update sqls with _TDB suffix and after thatadded to db converters.
*Remove some useless mangos sqls.

--HG--
branch : trunk
2009-07-31 14:58:25 +02:00
QAston 38026a2576 *Fix build on platforms using CMake - by Biglad
--HG--
branch : trunk
2009-07-31 14:30:17 +02:00
QAston b212461f95 *Merge after backout.
--HG--
branch : trunk
2009-07-31 13:21:32 +02:00
QAston 1f53433c6c Backed out changeset "[8251] Store in some DB tables only data for first rank. Author: VladimirMangos" until support for different values for ranks and for custom ranks is added.
--HG--
branch : trunk
2009-07-31 13:21:01 +02:00
megamage 40f7c7243c *Fix build.
--HG--
branch : trunk
2009-07-31 11:40:32 +08:00
megamage ccd6764409 [8278] Update packet size checks in WorldSocket::HandleAuthSession to 3.x state. Author: VladimirMangos
--HG--
branch : trunk
2009-07-31 11:37:31 +08:00
megamage bf989ce073 [8277] Add new line at the end of some .cpp to make gcc happy Author: Gendalph
--HG--
branch : trunk
2009-07-31 11:37:03 +08:00
megamage 70e31cce3f [8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG Author: VladimirMangos
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE

    Note: Some achivement creteria for success need data in `achievement_criteria_data`

--HG--
branch : trunk
2009-07-31 11:36:02 +08:00
megamage d96642c92f [8274] use virtual m_TeamScore for battlegrounds
score is used in every battleground (not arena)
    so we can use it as a virtual variable to access
    it also from BattleGround-class

    Signed-off-by: balrok <[email protected]>

--HG--
branch : trunk
2009-07-31 11:34:38 +08:00
megamage ed995581af *Fixed /played chat command. Author: tomrus88
--HG--
branch : trunk
2009-07-31 11:33:48 +08:00
megamage 0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage ca271eb5dc [8272] Fixed typos in world 'height' by code. Author: Sorya
--HG--
branch : trunk
2009-07-31 11:25:28 +08:00
megamage 123ea8543a [8271] Fix: SQL typo in [8269] Author: Ebrithil
--HG--
branch : trunk
2009-07-31 11:25:00 +08:00
megamage 60c3d7db71 [8269] added "m_" prefix to ArenaTeam classmember-variables Author: balrok
--HG--
branch : trunk
2009-07-31 11:22:27 +08:00
megamage b7a425918f [8266] Move percent spells with flat energize effect spells to effect code. Author: VladimirMangos
* This is fix talent 51521 and ranks.
    * And replace hardcoded percent for talent 31876 and ranks.

--HG--
branch : trunk
2009-07-31 11:16:38 +08:00