kich0
Members-
Posts
144 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by kich0
-
just make a horse in creature_template with entry 38545
-
just check my previous post
-
I believe 49 people is client limitation in who list.
-
I'm using this patch by przemratajczak -> http://github.com/kicho/test/commit/84e70d795f6dc80e0fff6abe843c89cd249f03cd
-
its easy, just add lines with + and remove lines with -
-
I am using this fix Player.cpp @@ -8379,7 +8385,7 @@ uint8 Player::FindEquipSlot( ItemPrototype const* proto, uint32 slot, bool swap break; case INVTYPE_2HWEAPON: slots[0] = EQUIPMENT_SLOT_MAINHAND; - if (CanDualWield() && CanTitanGrip()) + if (CanDualWield() && CanTitanGrip() && proto && proto->SubClass != ITEM_SUBCLASS_WEAPON_POLEARM && proto->SubClass != ITEM_SUBCLASS_WEAPON_STAFF) slots[1] = EQUIPMENT_SLOT_OFFHAND; break; case INVTYPE_TABARD: Player.h @@ -1933,7 +1933,15 @@ class MANGOS_DLL_SPEC Player : public Unit void SetCanBlock(bool value); bool CanDualWield() const { return m_canDualWield; } void SetCanDualWield(bool value) { m_canDualWield = value; } - bool CanTitanGrip() const { return m_canTitanGrip; } + bool CanTitanGrip() const + { + Item *mainItem = GetItemByPos( INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND ); + + if (mainItem && ( mainItem->GetProto()->SubClass == ITEM_SUBCLASS_WEAPON_POLEARM || mainItem->GetProto()->SubClass == ITEM_SUBCLASS_WEAPON_STAFF )) + return false; + + return m_canTitanGrip ; + } void SetCanTitanGrip(bool value) { m_canTitanGrip = value; }
-
and this is related to mangos... how?
-
maybe something like this would do the thing? diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 4aa95a5..11a8cac 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6532,8 +6532,8 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) } // check if "Glyph of Raise Dead" ,corpse- or "Corpse Dust" is available - bool canCast = p_caster->CanNoReagentCast(m_spellInfo) || FindCorpseUsing<MaNGOS::RaiseDeadObjectCheck>(); + bool canCast = p_caster->CanNoReagentCast(m_spellInfo) || unitTarget->isDead() && unitTarget->GetCreatureType()==CREATURE_TYPE_HUMANOID; if (!canCast && p_caster->HasItemCount(37201,1)) { p_caster->DestroyItemCount(37201, 1, true); canCast = true; diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b04cf54..46ea551 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -463,9 +463,6 @@ WorldObject* Spell::FindCorpseUsing() return result; } -// explicitly instantiate for use in SpellEffects.cpp -template WorldObject* Spell::FindCorpseUsing<MaNGOS::RaiseDeadObjectCheck>(); - void Spell::FillTargetMap() { // TODO: ADD the correct target FILLS!!!!!!
-
i see some errors due to template WorldObject* Spell::FindCorpseUsing<MaNGOS::RaiseDeadObjectCheck>(); (spell.cpp) after http://github.com/mangos/mangos/commit/c365a17a8f66a4a83b429ef6cb746d6f43afa9d6
-
it's now in [9503].
-
sap removes stealth if i remember right?
-
[PATCH] Ally&Horde in the same group (Updated)
kich0 replied to Auntie Mangos's topic in OldCore modifications
don't really like the idea of patched cpp file why don't you instead make a github repo? -
you mean specific case like if (m_spellInfo->Id == 60192) { if (m_caster->GetTypeId() == TYPEID_PLAYER) ((Player*)m_caster)->RemoveSpellCooldown(60202, true); } ?
-
spelleffects.cpp @@ -2499,6 +2500,10 @@ void Spell::EffectTriggerSpell(SpellEffectIndex effIndex) caster = IsSpellWithCasterSourceTargetsOnly(spellInfo) ? unitTarget : m_caster; caster = IsSpellWithCasterSourceTargetsOnly(spellInfo) ? unitTarget : m_caster; } + if (m_caster->GetTypeId() == TYPEID_PLAYER && m_spellInfo->CategoryRecoveryTime && spellInfo->CategoryRecoveryTime + && m_spellInfo->Category == spellInfo->Category) + ((Player*)m_caster)->RemoveSpellCooldown(spellInfo->Id); + caster->CastSpell(unitTarget,spellInfo,true,NULL,NULL,m_originalCasterGUID); }
-
congratz & welcome
-
yeah its mind control , there are some basic support patches but don't expect much, aynway wrong topic for this..
-
maybe an option in config would be the best... SHA_PASS 0/1 aldo it would be messy
-
or if you use mysql just use REPLACE instead of INSERT
-
If you see other topic from him he asks for "Race War" mod for his server so its probably that
-
probably for balancing
-
that means that your DB is for revision 8734 and you are using core revision 8866 - you have to apply all sql updates between 8734 and 8866 (take a look at you SQL folder)
-
yep in my opinion it's not ready for GIT yet...
-
also mentioning revision of MaNGOS wouldn't hurt..
-
[PATCH] Ally&Horde in the same group (Updated)
kich0 replied to Auntie Mangos's topic in OldCore modifications
lol definatly not blizzlike
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®