bulek
-
Posts
194 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by bulek
-
-
bump? any news or updates:confused:
-
work at rev 8850
confirm great patch mangos dev pls review it:)
-
works as should on 3.2, without any bugs
confirmed WORKS! last with last rev^_^
-
still not working:o
-
bump, patch works, mangos dev pls review it;)
-
confirmed still buged, mutilate give low dmg
-
aaa nice post gj works niceli done pls aplly for rev:)
-
news : patch is working but will never get accepted because of hack implemendation
hmmm warlocks has been owned^_^
-
bump pls:)
-
could you tell me how to configure AHBOT We do not auction items from the quest? mam set AuctionHouseBot.Bind_Quest_Item = 0 but still appear at auction items from quests
and please could you explain to me ake items is this setting? AuctionHouseBot.Bind_When_Use and AuctionHouseBot.No_Bind
-
updated version:
mangos part:
diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h index 7f58b26..e9c0369 100644 --- a/src/game/SharedDefines.h +++ b/src/game/SharedDefines.h @@ -2457,6 +2457,7 @@ enum SummonType SUMMON_TYPE_TOTEM = 121, SUMMON_TYPE_UNKNOWN3 = 181, SUMMON_TYPE_UNKNOWN4 = 187, + SUMMON_TYPE_RUNE_BLADE = 208, SUMMON_TYPE_UNKNOWN1 = 247, SUMMON_TYPE_CRITTER2 = 407, SUMMON_TYPE_CRITTER3 = 307, diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 74dd44f..c2102ec 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3379,6 +3379,7 @@ void Spell::EffectSummonType(uint32 i) case SUMMON_TYPE_POSESSED2: case SUMMON_TYPE_FORCE_OF_NATURE: case SUMMON_TYPE_GUARDIAN2: + case SUMMON_TYPE_RUNE_BLADE: case SUMMON_TYPE_GUARDIAN3: // Jewelery statue case (totem like) if(m_spellInfo->SpellIconID == 2056) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 36f0cc6..a1b92f8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6487,7 +6487,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu return false; // TODO: wite script for this "fights on its own, doing the same attacks" // NOTE: Trigger here on every attack and spell cast - return false; + Pet* runeBlade = FindGuardianWithEntry(27893); + if (!runeBlade) + return false; + else + { + // only melee based spells? + if(procSpell) + runeBlade->CastSpell(pVictim,procSpell,true,castItem,triggeredByAura); + return true; + } } // Mark of Blood if (dummySpell->Id == 49005)
mangos sql:
DELETE FROM `spell_proc_event` WHERE `entry` IN (49028); INSERT INTO `spell_proc_event` VALUES (49028, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00010010, 0x00010000, 0.000000, 0.000000, 0);
SD2 part:
Index: scripts/world/npcs_special.cpp =================================================================== --- scripts/world/npcs_special.cpp (revision 1493) +++ scripts/world/npcs_special.cpp (working copy) @@ -1451,6 +1451,43 @@ return true; } +struct MANGOS_DLL_DECL npc_rune_blade : public ScriptedAI +{ + npc_rune_blade(Creature* pCreature) : ScriptedAI(pCreature) {Reset();} + void Reset() + { + Unit * owner = m_creature->GetOwner(); + if (!owner || owner->GetTypeId() != TYPEID_PLAYER) + return; + + // Cannot be Selected or Attacked + m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); + m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); + + // Add visible weapon + if (Item const * item = ((Player *)owner)->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND)) + m_creature->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, item->GetProto()->ItemId); + + // Add stats scaling + int32 damageDone=owner->CalculateDamage(BASE_ATTACK, true); // might be average damage instead ? + int32 meleeSpeed=owner->m_modAttackSpeedPct[bASE_ATTACK]; + m_creature->CastCustomSpell(m_creature, 51906, &damageDone, &meleeSpeed, NULL, true); + + // Visual Glow + m_creature->CastSpell(m_creature, 53160, true); + + // Start Chasing victim + if (uint64 guid = ((Player*)owner)->GetSelection()) + if (Unit *target = m_creature->GetUnit(*owner,guid)) + if (!target->IsFriendlyTo(owner)) + m_creature->Attack(target,true); + + } +}; +CreatureAI* GetAI_npc_rune_blade(Creature* pCreature) +{ + return new npc_rune_blade(pCreature); +} void AddSC_npcs_special() { Script *newscript; @@ -1528,4 +1565,9 @@ newscript->pGossipHello = &GossipHello_npc_sayge; newscript->pGossipSelect = &GossipSelect_npc_sayge; newscript->RegisterSelf(); + + newscript = new Script; + newscript->Name = "npc_runeblade"; + newscript->GetAI = &GetAI_npc_rune_blade; + newscript->RegisterSelf(); }
SD2 sql:
update creature_template set ScriptName='npc_runeblade' where entry=27893;
yeay gj patch working with latest rev
-
latest revision still buged
-
bumps, last rev and still bugged
-
spell_bonus_data table help?
-
BUMP! any news/updates?
-
What version you are installed, Lynx3d's or Darkstalker's?
lynx version;)
-
bump any updates or news? hex is horrible bug:(
-
works fine 8810
-
hello any updates or news?
-
need more tester on this patch
result?
my result works
-
-
any news:confused:
-
bump pls add to rev ,this patch working correctly:)
-
nice one :-)
mango dev pls review this
[10248][patch][dev]Titan's grip
in ... acceptedOld
Posted
bump works fine