ProjectSkyfire / SkyFire_548

SkyFireEMU is a full featured World of Warcraft: Mists of Pandaria emulator written in C++. || Compatible with World of Warcraft client 5.4.8 (Build: 18414) Project Established in 2011 || Support on Discord https://discord.gg/DnKZycD
http://www.projectskyfire.org
GNU General Public License v3.0
498 stars 422 forks source link

Dire Beast #905

Open erenbo opened 4 years ago

erenbo commented 4 years ago

Description:

The spell doesnt work, simply not spawning a companion at all.

Current behaviour:

Nothing at all is happening

Expected behaviour:

There should be a pet getting summoned that gains you focus.

Summons a powerful wild beast to attack your target for 15 sec.  Each time the beast deals damage, you will gain 5 Focus.

AriDEV commented 4 years ago

Dire Beast aura.

ID - 120679 Dire Beast
=================================================
Description: Summons a powerful wild beast to attack your target for $d.  Each time the beast deals damage, you will gain $120694s1 Focus.

Category = 1378, SpellIconID = 5092, activeIconID = 0, SpellVisual = (3401,0)
Family SPELLFAMILY_HUNTER, flag [0] 0x00000000 [1] 0x00000000 [2] 0x00000000

SpellSchoolMask = 8 (SPELL_SCHOOL_MASK_NATURE)
DamageClass = 0 (SPELL_DAMAGE_CLASS_NONE)
PreventionType = 2 (SPELL_PREVENTION_TYPE_PACIFY)
=================================================
AttributesEx1: 0x10000000 (SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR)
AttributesEx7: 0x80000000 (SPELL_ATTR7_CLIENT_INDICATOR)
=================================================
Spell Level = 1, base 1, max 0

Category = 1378
DispelType = 0 (DISPEL_NONE)
Mechanic = 0 (MECHANIC_NONE)
SpellRange: (Id 5) "Long Range":
    MinRangeNegative = 0, MinRangePositive = 0
    MaxRangeNegative = 40, MaxRangePositive = 40

Cast time (Id 1) = 0,00
RecoveryTime: 0 ms, CategoryRecoveryTime: 30000 ms
StartRecoveryCategory = 133, StartRecoveryTime = 1000,00 ms
Duration: ID (8)  15000, 0, 15000
Interrupt Flags: 0x00000000, AuraIF 0x00000000, ChannelIF 0x00000000
  Ex Caster Aura Spell (19263) Deterrence
Chance = 0, charges - 0
=================================================
Effect 0: Id 6 (SPELL_EFFECT_APPLY_AURA) RegularDifficulty
BasePoints = 0
Targets (6, 0) (TARGET_UNIT_TARGET_ENEMY, NO_TARGET)
Aura Id 4 (SPELL_AURA_DUMMY), value = 0, misc = 0 (0), miscB = 0, periodic = 0

in this aura we need to rand and trigger the summon effect direbeast spells. to summon a random beast.

the focus is done by.

ID - 120694 Dire Beast Focus Driver
=================================================

Category = 0, SpellIconID = 28, activeIconID = 0, SpellVisual = (0,0)
Family SPELLFAMILY_GENERIC, flag [0] 0x00000000 [1] 0x00000000 [2] 0x00000000

SpellSchoolMask = 1 (SPELL_SCHOOL_MASK_NORMAL)
DamageClass = 0 (SPELL_DAMAGE_CLASS_NONE)
PreventionType = 0 (SPELL_PREVENTION_TYPE_NONE)
=================================================
Attributes: 0x000001D0 (SPELL_ATTR0_ABILITY, SPELL_ATTR0_PASSIVE, SPELL_ATTR0_HIDDEN_CLIENTSIDE, SPELL_ATTR0_HIDE_IN_COMBAT_LOG)
AttributesEx3: 0x04000000 (SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED)
AttributesEx4: 0x00008000 (SPELL_ATTR4_UNK15)
=================================================
Spell Level = 0, base 0, max 0

Category = 0
DispelType = 0 (DISPEL_NONE)
Mechanic = 0 (MECHANIC_NONE)
SpellRange: (Id 1) "Self Only":
    MinRangeNegative = 0, MinRangePositive = 0
    MaxRangeNegative = 0, MaxRangePositive = 0

Cast time (Id 1) = 0,00

Interrupt Flags: 0x00000000, AuraIF 0x00000000, ChannelIF 0x00000000
Proc flag 0x00000004, chance = 100, charges - 0
=================================================
  02 Successful melee attack
=================================================
Effect 0: Id 6 (SPELL_EFFECT_APPLY_AURA) RegularDifficulty
BasePoints = 5
Targets (1, 0) (TARGET_UNIT_CASTER, NO_TARGET)
Aura Id 4 (SPELL_AURA_DUMMY), value = 5, misc = 0 (0), miscB = 0, periodic = 0