Jump to content

Grandres

Members
  • Posts

    11
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Grandres

  1. MaNGOS rev. 11258

    TARGET_RANDOM_NEARBY_DEST had stopped working since this commit https://github.com/mangos/mangos/commit/3008d0f92906aae05482041711f71f0592ca886c

    For example function GetClosestCreatureWithEntry and spells like:

    http://wowhead.com/spell=51441

    http://wowhead.com/spell=51397l

    http://wowhead.com/spell=51398

    http://wowhead.com/spell=51400

    http://wowhead.com/spell=51401

    http://wowhead.com/spell=51402

    http://wowhead.com/spell=51443

    Dunno, that it is proper way.

    diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
    index c3f9389..bfb9de1 100644
    --- a/src/game/Spell.cpp
    +++ b/src/game/Spell.cpp
    @@ -518,7 +518,6 @@ void Spell::FillTargetMap()
                        case TARGET_ALL_ENEMY_IN_AREA_CHANNELED:
                        case TARGET_ALL_FRIENDLY_UNITS_IN_AREA:
                        case TARGET_AREAEFFECT_GO_AROUND_DEST:
    -                    case TARGET_RANDOM_NEARBY_DEST:
                            // triggered spells get dest point from default target set, ignore it
                            if (!(m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION) || m_IsTriggeredSpell)
                                if (WorldObject* castObject = GetAffectiveCasterObject())
    @@ -541,6 +540,7 @@ void Spell::FillTargetMap()
                        case TARGET_POINT_AT_NW:
                        case TARGET_POINT_AT_SE:
                        case TARGET_POINT_AT_SW:
    +                    case TARGET_RANDOM_NEARBY_DEST:
                            // need some target for processing
                            SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetA[i], tmpUnitMap);
                            SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetB[i], tmpUnitMap);

  2. You have problem with SQLStorages.cpp. In my case it looks like:

    const char CreatureInfosrcfmt[]="iiiiiiiiiisssiiiiiiiiiiifffiffiifiiiiiiiiiiffiiiiiiiiiiiiiiiiiiiisiiffliiiiiiiliiiiis";
    const char CreatureInfodstfmt[]="iiiiiiiiiisssiiiiiiiiiiifffiffiifiiiiiiiiiiffiiiiiiiiiiiiiiiiiiiisiiffliiiiiiiliiiiii";
    const char CreatureDataAddonInfofmt[]="iiibbiiiss";
    const char CreatureModelfmt[]="iffbii";
    const char CreatureInfoAddonInfofmt[]="iiibbiiiss";

  3. UDB 0.12.0 (390) for MaNGOS 9763 with SD2 SQL for rev. 1677.

    I couldn't apply this patch:

    $ git apply npc_transport.diff

    error: patch failed: src/game/Level12.cpp:42

    error: src/game/Level12.cpp: patch does not apply

    error: patch failed: src/game/ObjectAccessor.h:94

    error: src/game/ObjectAccessor.h: patch does not apply

    error: patch failed: src/game/Transports.cpp:559

    error: src/game/Transports.cpp: patch does not apply

    error: patch failed src/game/Unit.cpp:48

    error: src/game/Unit.cpp: patch does not apply

  4. -- Heroic Training Dummy (31146)
    
    UPDATE creature_template SET
    AIName='EventAI'
    WHERE entry=31146;
    
    -- No movement and attack
    DELETE FROM creature_ai_scripts WHERE id=3114601;
    INSERT INTO creature_ai_scripts VALUES
    (3114601,31146,4,0,100,0,0,0,0,0,21,0,0,0,20,0,0,0,0,0,0,0,'Heroic Training Dummy - No movement and attack');

    Makes training dummy no attack, no movement.

  5. UDB 0.11.6 (387) for MaNGOS 9310 with SD2 SQL for rev. 1566.

    Mind Sear has too low bonus from spellpower

    Source:

    http://wowhead.com/?spell=53023

    http://www.wowwiki.com/Spell_power_coefficient

    My results with spell power =1488

    Before fix dmg:

    400-624 (crit)

    After fix dmg:

    625-960 (crit)

     -- Mind Sear improve bonus from spellpower
    UPDATE spell_bonus_data SET direct_bonus= 0.285678 WHERE entry =49821;

  6. UDB 0.11.6 (387) for MaNGOS 9310 with SD2 SQL for rev. 1566.

    http://www.wowhead.com/?item=23836

    Goblin Rocket Launcher has bonus from spell power.

    For example: (spellpower/dmg)

    86 / ~1.3k

    1235/ ~2.1k

    1488/ ~2.5k

    -- Goblin Rocket Launcher add missing record in spell bonus data
    DELETE FROM spell_bonus_data WHERE entry=46567;
    INSERT INTO spell_bonus_data VALUES
    (46567,0,0,0,'Item - Goblin Rocket Launcher');

  7. UDB 0.11.6 (387) for MaNGOS 9310 with SD2 SQL for rev. 1566.

    Nitro Boosts doesn't work correct.

    How it's working: We can use Nitro Boosts when we hold wsg's flag and we don't drop it.

    How it should work: We drop wsg's flag when we use Nitro Boosts.

    Nitro Boosts now make you drop PVP flags when used, as well as preventing you from picking them up while the effect is active.

    source: http://www.worldofwarcraft.com/patchnotes/patch3p10.html

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use