zergtmn
Members-
Posts
230 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by zergtmn
-
Ninja Meat (Spell for Gruesome, But Necessary takes wrong target)
zergtmn replied to a topic in OldBug reports
.un 43059 ? -
[patch] Apply haste rating to channeled spells
zergtmn replied to Auntie Mangos's topic in ... under reviewOld
Don't work for me =\\ -
Updated for r. 9798. Also fixed timer displaying http://paste2.org/p/796684
-
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 29592ad..32eb6d4 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2654,6 +2654,13 @@ void Spell::cast(bool skipCheck) AddTriggeredSpell(52874); // Fan of Knives (offhand) } break; + case SPELLFAMILY_HUNTER: + { + // Lock and Load + if (m_spellInfo->Id == 56453) + AddPrecastSpell(67544); // Lock and Load Marker + break; + } case SPELLFAMILY_PALADIN: { // Hand of Reckoning diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c29ce02..0bab448 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7515,6 +7515,13 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB if (!(procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000020))) return false; } + // Lock and Load + else if (auraSpellInfo->SpellIconID == 3579) + { + // Check for Lock and Load Marker + if (HasAura(67544)) + return false; + } break; case SPELLFAMILY_PALADIN: {
-
I think it's better check distance to circle/LoS in Spell::CheckCast and not in Aura::HandleModMechanicImmunity. Something like: // Demonic Circle: Teleport if (m_spellInfo->Id == 48020) { if (GameObject* obj = m_caster->GetGameObject(48018)) { if (!m_caster->IsWithinDistInMap(obj, GetSpellMaxRange(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)))) return SPELL_FAILED_OUT_OF_RANGE; if (!m_caster->IsWithinLOS(obj->GetPositionX(), obj->GetPositionY(), obj->GetPositionZ())) return SPELL_FAILED_LINE_OF_SIGHT; } }
-
On offy these debuffs simply replace each other. http://forums.wow-europe.com/thread.html?topicId=9017951964&sid=1 http://forums.worldofwarcraft.com/thread.html?topicId=21626543634&sid=1
-
http://paste2.org/p/708764
-
I compared your source with source from http://code.google.com/p/mangos-luascript/source/list. Seems you replaced only Derex name with yours. Lol
-
Improved Stormstrike Rank 1 has 50% chance to restore mana, but with mask 0x0000001000000000 it always procs.
-
[patch] Invisibility remove at spell cast
zergtmn replied to Auntie Mangos's topic in ... under reviewOld
In 3.2.2: ID - 32727 () -------------------------- Category = 0, SpellIconID = 122, activeIconID = 0, SpellVisual_0 = 0, SpellVisual_1 = 0 Family SPELLFAMILY_GENERIC, flag 0x00000000 00000000 00000000 School = SPELL_SCHOOL_NORMAL, DamageClass = SPELL_DAMAGE_CLASS_NONE, PreventionType = NONE Attributes 0xA9000000, Ex 0x00000420, Ex2 0x10084004, Ex3 0x00130000, Ex4 0x00800000, Ex5 0x00060008, Ex6 0x00001404 Duration = -1, 0, -1 Interrupt Flags: 0x00000000, AuraIF 0x00080000, ChannelIF 0x00000000 Chance = 101, charges - 0 It is 0x00080000 and not 0x00000800, but I don't know if flag was changed since 3.2.2. -
Old code can be fully removed, but sql is needed.
-
[patch] Invisibility remove at spell cast
zergtmn replied to Auntie Mangos's topic in ... under reviewOld
Try this patch: diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 699e6ce..c71c48d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2462,6 +2462,8 @@ void Spell::Prepare(SpellCastTargets const* targets, Aura* triggeredByAura) // add non-triggered (with cast time and without) if (!m_IsTriggeredSpell) { + m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CAST); + // add to cast type slot m_caster->SetCurrentCastedSpell( this ); diff --git a/src/game/Unit.h b/src/game/Unit.h index 00ccca9..baac428 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -66,7 +66,7 @@ enum SpellAuraInterruptFlags AURA_INTERRUPT_FLAG_NOT_UNDERWATER = 0x00000100, // 8 removed by leaving water AURA_INTERRUPT_FLAG_NOT_SHEATHED = 0x00000200, // 9 removed by unsheathing AURA_INTERRUPT_FLAG_UNK10 = 0x00000400, // 10 - AURA_INTERRUPT_FLAG_UNK11 = 0x00000800, // 11 + AURA_INTERRUPT_FLAG_CAST = 0x00000800, // 11 removed by casting a spell AURA_INTERRUPT_FLAG_UNK12 = 0x00001000, // 12 removed by attack? AURA_INTERRUPT_FLAG_UNK13 = 0x00002000, // 13 AURA_INTERRUPT_FLAG_UNK14 = 0x00004000, // 14 -
Try this fix http://paste2.org/p/686586
-
[patch] Invisibility remove at spell cast
zergtmn replied to Auntie Mangos's topic in ... under reviewOld
Maybe right flag is AURA_INTERRUPT_FLAG_CAST = 0x00000800, // 11 removed by casting spells Look at these spells: http://www.wowhead.com/?spell=38157 (Overseer Disguise) has AuraInterruptFlags = 0x9801 http://www.wowhead.com/?spell=3680 (Lesser Invisibility Potion) has AuraInterruptFlags = 0x13C03 http://www.wowhead.com/?spell=32612 (Mage Invisibility) has AuraInterruptFlags = 0x3C07 All are removable by casting any spells on offy. By AND-ing flags we get 0x1801. http://www.wowhead.com/?spell=52842 also has flags 0x1001, but not removable by spell casting. So we get 0x800 Something like http://paste2.org/p/690500 -
Thank you, seems to work fine.
-
Second fix is wrong, you can swap bags and place another item in same slot.
-
and http://www.wowhead.com/?npc=36886
-
[fix] Not allow chain-casting Bloodlust and Heroism
zergtmn replied to a topic in ... under reviewOld
Bump, works fine. -
It works. Thanks.
-
Maybe this can help: http://eu.wowarmory.com/arena-calculator.xml
-
Great work Now waiting for your AV implementation
-
[patch][8944] Use SummonProperties.dbc and related
zergtmn replied to Auntie Mangos's topic in ... acceptedOld
Very important patch, imho. Plz review it -
bump, it works
-
try git clone git://github.com/rastikzzz/mangos.git
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®