Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] ```Converting Ballista.m2

[DiscordArchive] ```Converting Ballista.m2

[DiscordArchive] ```Converting Ballista.m2

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
10-17-2022, 05:46 PM
#21
Archived author: Crow • Posted: 2022-10-17T17:46:12.150000+00:00
Original source

Im increasingly convinced the ONLY solution is to write a script that detects the separate custom "titans grip" aura using an OnEquip function that removes the items when they dont fit the criteria
rektbyfaith
10-17-2022, 05:46 PM #21

Archived author: Crow • Posted: 2022-10-17T17:46:12.150000+00:00
Original source

Im increasingly convinced the ONLY solution is to write a script that detects the separate custom "titans grip" aura using an OnEquip function that removes the items when they dont fit the criteria

rektbyfaith
Administrator
0
10-17-2022, 05:46 PM
#22
Archived author: Crow • Posted: 2022-10-17T17:46:35.244000+00:00
Original source

cant imagine thats actually efficient
rektbyfaith
10-17-2022, 05:46 PM #22

Archived author: Crow • Posted: 2022-10-17T17:46:35.244000+00:00
Original source

cant imagine thats actually efficient

rektbyfaith
Administrator
0
10-17-2022, 05:47 PM
#23
Archived author: robinsch • Posted: 2022-10-17T17:47:15.818000+00:00
Original source

I have no clue what you are searching for
rektbyfaith
10-17-2022, 05:47 PM #23

Archived author: robinsch • Posted: 2022-10-17T17:47:15.818000+00:00
Original source

I have no clue what you are searching for

rektbyfaith
Administrator
0
10-17-2022, 05:47 PM
#24
Archived author: robinsch • Posted: 2022-10-17T17:47:19.584000+00:00
Original source

> CanTitanGrip
rektbyfaith
10-17-2022, 05:47 PM #24

Archived author: robinsch • Posted: 2022-10-17T17:47:19.584000+00:00
Original source

> CanTitanGrip

rektbyfaith
Administrator
0
10-17-2022, 05:47 PM
#25
Archived author: robinsch • Posted: 2022-10-17T17:47:23.485000+00:00
Original source

gives tons of results
rektbyfaith
10-17-2022, 05:47 PM #25

Archived author: robinsch • Posted: 2022-10-17T17:47:23.485000+00:00
Original source

gives tons of results

rektbyfaith
Administrator
0
10-17-2022, 05:47 PM
#26
Archived author: robinsch • Posted: 2022-10-17T17:47:48.202000+00:00
Original source


[Image: unknown.png?ex=690c3684&is=690ae504&hm=9...baa858f35&]
rektbyfaith
10-17-2022, 05:47 PM #26

Archived author: robinsch • Posted: 2022-10-17T17:47:48.202000+00:00
Original source


[Image: unknown.png?ex=690c3684&is=690ae504&hm=9...baa858f35&]

rektbyfaith
Administrator
0
10-17-2022, 06:03 PM
#27
Archived author: Crow • Posted: 2022-10-17T18:03:10.248000+00:00
Original source

Trying to determine how to descriminate specific items to be "titans gripped"
rektbyfaith
10-17-2022, 06:03 PM #27

Archived author: Crow • Posted: 2022-10-17T18:03:10.248000+00:00
Original source

Trying to determine how to descriminate specific items to be "titans gripped"

rektbyfaith
Administrator
0
10-17-2022, 06:03 PM
#28
Archived author: Crow • Posted: 2022-10-17T18:03:27.146000+00:00
Original source

Im now believing i can edit the function entirely
rektbyfaith
10-17-2022, 06:03 PM #28

Archived author: Crow • Posted: 2022-10-17T18:03:27.146000+00:00
Original source

Im now believing i can edit the function entirely

rektbyfaith
Administrator
0
10-17-2022, 06:03 PM
#29
Archived author: Crow • Posted: 2022-10-17T18:03:32.684000+00:00
Original source

```void Spell::EffectTitanGrip()
{
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT)
return;

if (m_caster->ToPlayer()->HasAura(46917))
{
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(true, effectInfo->MiscValue);
}
else if (m_caster->ToPlayer()->HasAura(79802))
{
Item* mainItem = m_caster->ToPlayer()->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND);
if (mainItem && mainItem->GetTemplate()->SubClass == ITEM_SUBCLASS_WEAPON_POLEARM)
{
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(true, effectInfo->MiscValue);
}
else
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(false, effectInfo->MiscValue);
}
}```
rektbyfaith
10-17-2022, 06:03 PM #29

Archived author: Crow • Posted: 2022-10-17T18:03:32.684000+00:00
Original source

```void Spell::EffectTitanGrip()
{
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT)
return;

if (m_caster->ToPlayer()->HasAura(46917))
{
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(true, effectInfo->MiscValue);
}
else if (m_caster->ToPlayer()->HasAura(79802))
{
Item* mainItem = m_caster->ToPlayer()->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND);
if (mainItem && mainItem->GetTemplate()->SubClass == ITEM_SUBCLASS_WEAPON_POLEARM)
{
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(true, effectInfo->MiscValue);
}
else
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->SetCanTitanGrip(false, effectInfo->MiscValue);
}
}```

rektbyfaith
Administrator
0
10-17-2022, 06:03 PM
#30
Archived author: Crow • Posted: 2022-10-17T18:03:50.847000+00:00
Original source

79802 being the custom version that specifically only does polearms
rektbyfaith
10-17-2022, 06:03 PM #30

Archived author: Crow • Posted: 2022-10-17T18:03:50.847000+00:00
Original source

79802 being the custom version that specifically only does polearms

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)