Commit graph

5130 commits

Author SHA1 Message Date
NoFantasy
331a7e7f5b [10654] Allow creature to offer same quest for more than one game event
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-28 13:26:39 +02:00
SilverIce
1871cf977f [10653] Implemented MSG_MOVE_KNOCK_BACK opcode
* Player's knockback movement now smooth and doesn't looks like teleporting
 * Cleanup WorldSession::HandleMovementOpcodes, separated opcode specific and generic movement handlers code
 * Handle Feign Death aura interrupting into more appropriate place
2010-10-28 05:48:43 +03:00
NoFantasy
81d3368e29 [10652] Allow set pvp flags from creatures *_addon data
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-27 09:49:55 +02:00
nos4r2zod
f483b41242 [10651] Fixed combat log being bugged by pets without name
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2010-10-26 20:35:25 +03:00
Jethrogibbs
38e4a4936d [10650] One more typo in mangosd.conf.dist.in
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 20:55:32 +04:00
eggxp
e87008b339 [10649] Enchanted spell 8017 and ranks should apply to weapon by client auto selection
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 20:52:29 +04:00
Veretos
09d468e7ab [10648] Typos in mangosd.conf.dist.in
Also thanks to Marik for additional typo fix and diff preparing

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 17:03:23 +04:00
VladimirMangos
fd7e86c79b [10647] Show die animation at totem destroy.
Or any creature type die with linked unsummon.

Original patch provided by Eggxp.
2010-10-26 16:49:29 +04:00
Schmoozerd
edbb840103 [10646] Preserve creature dynamic flags at UpdateEntry
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-26 13:23:46 +02:00
Shauren
f50dc536ec [10645] Use more make sense corpse expire check timer period.
Use 3 hours timer when bones really expired by Corpse::IsExpired code each 1 hr
just lol ;) So restore old 20 min time used long time ago.

Thanks to TGM for pointing to patch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 13:58:55 +04:00
VladimirMangos
b09838fe3b [10644] Remove wrong check preventing lootable itesm have at-use spell casts.
But note: like at use spells cast at loot open not implemnted yet.

Also fixed typo in ITEM_DYNFLAG_READABLE.
2010-10-26 10:43:38 +04:00
Neo2003
23c920ca4b [10643] Update the ACE part we use to 5.8.2
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-10-25 20:36:51 +02:00
Laise
8f71d95c0d [10642] Implement spell 56826 2010-10-25 15:20:28 +02:00
VladimirMangos
46d740bbf4 [10641] Fixed use item dynamic/item proto flags.
* List its independelty. Each from this 2 fields have own flags. Cleanup lists.
* Not copy proto flags to item flags update field. This fix heroic item versions
  show in client in result mixed use ITEM_DYNFLAG_WRAPPED (0x8) with ITEM_FLAG_HEROIC (0x8)
* Update uses to proto case use for some cases where before wrongly has been used item dyn.flags
* For ITEM_DYNFLAG_UNLOCKED (0x4) set for item at unlock and check for prevent re-unlocking.
  This mostly for future case when will be implemented partly loting items support.
* For ITEM_FLAG_LOOTABLE (0x4) check loot absent or conflicting setting with containers/casted at use items.
  Report wrong cases art loading.
* Better check related loot tables content using ITEM_FLAG_PROSPECTABLE and ITEM_FLAG_MILLABLE
2010-10-25 16:27:14 +04:00
Tasssadar
d53fe93e9d [10640] Implement instance guids with proper HIGHGUID_INSTANCE use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-24 14:54:11 +04:00
NoFantasy
365c4a19e0 [10639] Making dummy effect of spell 54530 be positive effect.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-24 11:18:46 +02:00
VladimirMangos
a79f9b1fe4 [10638] More appropriate for warrior spell fail result for combo point check fail. 2010-10-24 09:28:13 +04:00
VladimirMangos
666ecfee99 [10637] Better totem summon cases selection.
But added check still not allways work. Unclear better way selections for summon prop id 61
2010-10-22 11:41:26 +04:00
VladimirMangos
691412d05c [10636] Implement server side check combo points req. for spell cast.
Thanks to nos4r2zod for problem research.
2010-10-21 15:00:56 +04:00
VladimirMangos
7a26fdd45d [10636] Ignore another map target for text emote. 2010-10-21 11:01:42 +04:00
VladimirMangos
851e15c70a [10635] Convert many opcode handlers to ObjectGuid use.
Also re-enabled anticheating check for bank window open
base at .bank command access rights.
2010-10-21 10:43:14 +04:00
VladimirMangos
0901a4c2ac [10634] Include non-percent mana cost in EffectDestroyAllTotems mana return.
Also small speedup for no-return spells.
2010-10-21 01:57:45 +04:00
NoFantasy
bf2b256720 [10633] Correct behavior for completion of quest objectives.
Rename related function to SendQuestCompleteEvent for clarification of when it's expected to be used.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-20 12:57:47 +02:00
Salja
8886b86a2b [10632] Small comment style fix in mangosd.conf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-20 12:54:31 +04:00
NoFantasy
2fe87fc3c7 [10631] Small code style cleanup in quest related functions
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-20 09:34:06 +02:00
VladimirMangos
da07caba28 [10630] Convert Set(Get)ChannelObjectGuid to ObjectGuid way.
Also fix typo in debug output for prev. commit.
2010-10-20 11:19:47 +04:00
VladimirMangos
31c9efd219 [10629] Drop function GuidHigh2TypeId
Added ObjectGuid version Aura::GetCasterGuid()

But for prevent big problen with backporting AuraHolder
to mangos-0.12 in most cases still used old uint64 version
Aura::GetCasterGUID.

Recommended use new version where possible in clean way
as done for some cases in commit already.
2010-10-20 09:12:43 +04:00
VladimirMangos
fdc5a1dd67 [10628] SQL update for prev. commit 2010-10-20 08:23:18 +04:00
VladimirMangos
c955941b55 [10627] Use ObjectGuid for player's selection and unit's target 2010-10-20 08:19:48 +04:00
zerg
e74d56f9d2 [10626] Fix logic in FillRaidOrPartyManaPriorityTargets and FillRaidOrPartyHealthPriorityTargets
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-20 03:08:59 +04:00
fgenesis
c46d3bf9b0 [10465] Fix bad bandate check. 2010-10-19 22:27:00 +02:00
NoFantasy
36a6e829b3 [10625] Implement SPELL_EFFECT_CLEAR_QUEST (139)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-19 12:56:24 +02:00
NoFantasy
4b83c5c88e [10624] Fix quests w/QuestFlags QUEST_FLAGS_AUTO_REWARDED
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-19 11:58:23 +02:00
VladimirMangos
22bc9c80a1 [10623] Make .respawn work correctly with BG event spawns 2010-10-19 11:03:01 +04:00
VladimirMangos
2101b1ba0e [10622] Set respawn delay for BG creatures before set dead state.
This prevent save to DB wrong respawn time and unexpected in wrong event state spawn BG creatures.
2010-10-19 09:36:59 +04:00
NoFantasy
77b064e19a [10621] Add new field RequiredClasses for quest_template
* SkillOrClass is converted to RequiredSkill (and then field can contain skill id only)
* Field ZoneOrSort has no longer a function in quest requirement, and RequiredClasses must be used instead where class limits are expected.

To restrict a quest to one class or more, use bitmask of class in RequiredClasses. RequiredSkill works like before.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-19 00:33:16 +02:00
zerg
3c6d5e985f [10620] Fixed MSG_MOVE_HEARTBEAT structure.
Thx Wojta for pointing.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-19 00:55:26 +04:00
VladimirMangos
811a86baf5 [10619] Clarify premade groups mode config option.
Also prevent mark group as premade with 0 time wait.
It's any way useless becase at next tick group moved to normal team mode.
2010-10-18 09:13:07 +04:00
VladimirMangos
099f375961 [10618] Properly update objects usable state at GM-mode on/off. 2010-10-18 05:59:47 +04:00
VladimirMangos
d3c1780f55 [10617] Fixed array access in SCRIPT_COMMAND_TALK loading check. 2010-10-18 04:56:27 +04:00
SilverIce
c4ddbead04 [10616] Simplified trade distance checks, GROUP_UPDATE_FLAG_POSITION flag handling moved out of Map
note: need avoid Map::PlayerRelocation calls now and use Player::SetPosition instead
2010-10-17 19:19:47 +03:00
NoFantasy
608815855f [10615] Add script effect of spell 66741
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-17 12:37:19 +02:00
DasBlub
a3c03eb919 [10614] Replace ACE_ASSERT with MANGOS_ASSERT 2010-10-17 00:08:41 +02:00
DasBlub
57a88d2e3f [10613] A bit of cleanup in ByteBuffer::hexlike 2010-10-16 16:00:10 +02:00
DasBlub
fc5dd54f37 [10612] Revert "[10611] Made some values const"
Reason: It makes no sense to make a local variable const.

This reverts commit 49e3184d69056738701bc15d9b7f982bf11d7bbc.
2010-10-15 22:29:10 +02:00
Reve
47d971c7f9 [10611] Made some values const
Signed-off-by: DasBlub <dasblub@gmail.com>
2010-10-15 22:14:42 +02:00
DasBlub
61102e3b16 [10610] Renamed some functions from the Creature class
Also other classes have been affected, due to the use of search&replace.
This will probably break some patches and 3rd party libraries, so make sure to update them if required.
Thanks to Phille for the original idea and patch!
2010-10-14 22:07:04 +02:00
Lynx3d
d090bce461 [10609] I consider it proven that all classes shall benefit from intellect for weapon skill increase.
But better formula for chance would still welcome...
2010-10-14 15:50:05 +02:00
MrLama
699a22b2de [10608] Update melee miss chance calculations...finally.
Also thanks to Revils for correcting effective skill for spells that don't use weapon despite being melee/ranged ability.

Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-10-14 15:10:32 +02:00
Schmoozerd
c44438a517 [10607] Handle GAMEOBJECT_TYPE_GENERIC at Use() to trigger despawn of GO
In addition, a check is added to prevent unexpected call to Use() at received opcode. Despawn of this type GO can then only be used with explicit call to Use()

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-14 14:44:57 +02:00