Commit Graph

4793 Commits

Author SHA1 Message Date
megamage
e1cfdaedcf *Remove the assert(false) in StopCastingCharm() because i am not able to fix it for now.
--HG--
branch : trunk
2009-08-06 11:32:56 -05:00
megamage
7dd131a293 *Use flags for positive spell check to reduce calculation.
--HG--
branch : trunk
2009-08-06 11:24:14 -05:00
Kudlaty
6bbea44dbb Fix typo in 4787_script_texts.sql. Thx Aokromes
--HG--
branch : trunk
2009-08-06 18:05:17 +02:00
megamage
05940192f4 *Fix a dead loop in 4786. By QAston.
--HG--
branch : trunk
2009-08-06 11:01:22 -05:00
megamage
e8330e4162 *Update creature damamge formula. Use damage mod in config as total_pct modifier.
--HG--
branch : trunk
2009-08-06 10:38:46 -05:00
Kudlaty
e645927759 Merge [SD2]
r1114 Added two new struct ObjectDistanceOrder/ObjectDistanceOrderReversed for generic use sorting objects by GetDistanceOrder()
r1115 Remove obsolete code in misc scripts and use struct ObjectDistanceOrder/Reversed instead
r1116 Added script for mob 24079 + related instance script - skip (already have it better)
r1117 Update DoPlaySoundToSet function and allow WorldObject as source for sound.
r1118 Correcting end bosses scripts in SM cathedral
r1119 Added basic scripts w/texts for bosses in utgarde keep

--HG--
branch : trunk
2009-08-06 17:36:32 +02:00
megamage
048665a37a *Try to fix the crash caused by invalid map pointer of player.
--HG--
branch : trunk
2009-08-06 10:21:10 -05:00
megamage
d4dca0c8cd *Mirror Image By thenecromancer
*Fixes a bug when images loose name after they reset
*Fixes a bug when images consistently interrupt owner's cast
*Fixed a bug when images have very laggy follow movement
*Removed a line that made no sense

--HG--
branch : trunk
2009-08-06 08:53:29 -05:00
megamage
8c875f2323 *Patch Reliquary of Souls. By Farah
--HG--
branch : trunk
2009-08-06 08:50:44 -05:00
megamage
87c8df8f3a *Add script of General Bjarngrim, Halls of Lightning. Source: SD2. Thanks to manuel.
--HG--
branch : trunk
2009-08-06 08:49:41 -05:00
Rat
6941264b3d *fix typo in 4759_world.sql
--HG--
branch : trunk
2009-08-06 10:21:48 +02:00
Chaz Brown
b9eb4ddf2e AHBot rewrite, pulled from TC2-3.0.9 repo, in no particular order.
*Any file named README.Something (including the original README) will be copied to the build directory when compiled with VS
*Converted AuctionHouseBot to class structure, implemented Singleton for class
*Moved global variables inside of AuctionHouseBot class,
*Minor code cleanups, reformated headers, fixed switch logic errors
*Parts of this code are from Naicisum's Mangos version.
*Prevent endless looping condition where Item Quality has no percentage
*Fix situation where items in the AH would be less than the maxitems setting
*Move AHBot item filters to initialization so the items that are not allowed only get evaluated once.
*Change the way Bid prices are calculated, along with Maximius' uint64 fix, prices should look a lot better now.
*Includes a fix for grey items from MrSmite

--HG--
branch : trunk
2009-08-06 03:00:45 -04:00
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 <hunuza@gmail.com>

--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