Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] are you sure of that?

[DiscordArchive] are you sure of that?

[DiscordArchive] are you sure of that?

rektbyfaith
Administrator
0
04-06-2024, 10:16 AM
#1
Archived author: Telegrill • Posted: 2024-04-06T10:16:15.678000+00:00
Original source

are you sure of that?
rektbyfaith
04-06-2024, 10:16 AM #1

Archived author: Telegrill • Posted: 2024-04-06T10:16:15.678000+00:00
Original source

are you sure of that?

rektbyfaith
Administrator
0
04-06-2024, 10:16 AM
#2
Archived author: Telegrill • Posted: 2024-04-06T10:16:19.353000+00:00
Original source

<:fry:770403425107443722>
rektbyfaith
04-06-2024, 10:16 AM #2

Archived author: Telegrill • Posted: 2024-04-06T10:16:19.353000+00:00
Original source

<:fry:770403425107443722>

rektbyfaith
Administrator
0
04-06-2024, 10:16 AM
#3
Archived author: Telegrill • Posted: 2024-04-06T10:16:45.076000+00:00
Original source

cause I remember validating both the spell and effects and Shauren didn't remove my spell validation
rektbyfaith
04-06-2024, 10:16 AM #3

Archived author: Telegrill • Posted: 2024-04-06T10:16:45.076000+00:00
Original source

cause I remember validating both the spell and effects and Shauren didn't remove my spell validation

rektbyfaith
Administrator
0
04-06-2024, 10:17 AM
#4
Archived author: ModoX • Posted: 2024-04-06T10:17:35.588000+00:00
Original source

```c
bool SpellScriptBase::ValidateSpellEffectImpl(uint32 spellId, SpellEffIndex effectIndex)
{
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE);
if (!spellInfo)
{
TC_LOG_ERROR("scripts.spells", "SpellScriptBase::ValidateSpellEffect: Spell {} does not exist.", spellId);
return false;
}

if (spellInfo->GetEffects().size() <= effectIndex)
{
TC_LOG_ERROR("scripts.spells", "SpellScriptBase::ValidateSpellEffect: Spell {} does not have EFFECT_{}.", spellId, uint32(effectIndex));
return false;
}

return true;
}
```
rektbyfaith
04-06-2024, 10:17 AM #4

Archived author: ModoX • Posted: 2024-04-06T10:17:35.588000+00:00
Original source

```c
bool SpellScriptBase::ValidateSpellEffectImpl(uint32 spellId, SpellEffIndex effectIndex)
{
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE);
if (!spellInfo)
{
TC_LOG_ERROR("scripts.spells", "SpellScriptBase::ValidateSpellEffect: Spell {} does not exist.", spellId);
return false;
}

if (spellInfo->GetEffects().size() <= effectIndex)
{
TC_LOG_ERROR("scripts.spells", "SpellScriptBase::ValidateSpellEffect: Spell {} does not have EFFECT_{}.", spellId, uint32(effectIndex));
return false;
}

return true;
}
```

rektbyfaith
Administrator
0
04-06-2024, 10:17 AM
#5
Archived author: Telegrill • Posted: 2024-04-06T10:17:42.162000+00:00
Original source

ah well
rektbyfaith
04-06-2024, 10:17 AM #5

Archived author: Telegrill • Posted: 2024-04-06T10:17:42.162000+00:00
Original source

ah well

rektbyfaith
Administrator
0
04-06-2024, 10:17 AM
#6
Archived author: Mematoru • Posted: 2024-04-06T10:17:50.711000+00:00
Original source

i mean it makes sense
rektbyfaith
04-06-2024, 10:17 AM #6

Archived author: Mematoru • Posted: 2024-04-06T10:17:50.711000+00:00
Original source

i mean it makes sense

rektbyfaith
Administrator
0
04-06-2024, 10:17 AM
#7
Archived author: Telegrill • Posted: 2024-04-06T10:17:53.626000+00:00
Original source

in that case I might need to revisit some of my additions
rektbyfaith
04-06-2024, 10:17 AM #7

Archived author: Telegrill • Posted: 2024-04-06T10:17:53.626000+00:00
Original source

in that case I might need to revisit some of my additions

rektbyfaith
Administrator
0
04-06-2024, 10:18 AM
#8
Archived author: Mematoru • Posted: 2024-04-06T10:18:00.205000+00:00
Original source

else would be just weird
rektbyfaith
04-06-2024, 10:18 AM #8

Archived author: Mematoru • Posted: 2024-04-06T10:18:00.205000+00:00
Original source

else would be just weird

rektbyfaith
Administrator
0
04-06-2024, 10:18 AM
#9
Archived author: Telegrill • Posted: 2024-04-06T10:18:27.982000+00:00
Original source

ah well no
rektbyfaith
04-06-2024, 10:18 AM #9

Archived author: Telegrill • Posted: 2024-04-06T10:18:27.982000+00:00
Original source

ah well no

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)