Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Are you talkable for a bit?

[DiscordArchive] Are you talkable for a bit?

[DiscordArchive] Are you talkable for a bit?

Pages (6): Previous 1 2 3 4 5 6
rektbyfaith
Administrator
0
03-28-2025, 02:25 PM
#51
Archived author: syntaxhell • Posted: 2025-03-28T14:25:08.398000+00:00
Original source

Cause this isn't valid
rektbyfaith
03-28-2025, 02:25 PM #51

Archived author: syntaxhell • Posted: 2025-03-28T14:25:08.398000+00:00
Original source

Cause this isn't valid

rektbyfaith
Administrator
0
03-28-2025, 02:25 PM
#52
Archived author: Tea • Posted: 2025-03-28T14:25:26.208000+00:00
Original source

why does your CalculateExecuteDamage have no arguments? you cant just remove them
rektbyfaith
03-28-2025, 02:25 PM #52

Archived author: Tea • Posted: 2025-03-28T14:25:26.208000+00:00
Original source

why does your CalculateExecuteDamage have no arguments? you cant just remove them

rektbyfaith
Administrator
0
03-28-2025, 02:25 PM
#53
Archived author: syntaxhell • Posted: 2025-03-28T14:25:47.973000+00:00
Original source

Cause I have no idea on what I am doing
rektbyfaith
03-28-2025, 02:25 PM #53

Archived author: syntaxhell • Posted: 2025-03-28T14:25:47.973000+00:00
Original source

Cause I have no idea on what I am doing

rektbyfaith
Administrator
0
03-28-2025, 02:25 PM
#54
Archived author: Tea • Posted: 2025-03-28T14:25:53.087000+00:00
Original source

i can see that
rektbyfaith
03-28-2025, 02:25 PM #54

Archived author: Tea • Posted: 2025-03-28T14:25:53.087000+00:00
Original source

i can see that

rektbyfaith
Administrator
0
03-28-2025, 02:26 PM
#55
Archived author: Alistar • Posted: 2025-03-28T14:26:09.333000+00:00
Original source

Best thing to do is to start with C++ basics
rektbyfaith
03-28-2025, 02:26 PM #55

Archived author: Alistar • Posted: 2025-03-28T14:26:09.333000+00:00
Original source

Best thing to do is to start with C++ basics

rektbyfaith
Administrator
0
03-28-2025, 02:26 PM
#56
Archived author: syntaxhell • Posted: 2025-03-28T14:26:19.989000+00:00
Original source

Ah
rektbyfaith
03-28-2025, 02:26 PM #56

Archived author: syntaxhell • Posted: 2025-03-28T14:26:19.989000+00:00
Original source

Ah

rektbyfaith
Administrator
0
03-28-2025, 02:26 PM
#57
Archived author: syntaxhell • Posted: 2025-03-28T14:26:42.710000+00:00
Original source

This solved it, looking at arguments:
```// Warrior: Arms, Protection
// Execute damage (SpellID: 260798)
class spell_warr_execute_damage : public SpellScript
{
void CalculateExecuteDamage(SpellEffectInfo const& /*effectInfo*/, Unit const* victim, int32& /*damage*/, int32& /*flatMod*/, float& pctMod) const
{
pctMod *= 2.0f;
}

void Register() override
{
CalcDamage += SpellCalcDamageFn(spell_warr_execute_damage::CalculateExecuteDamage);
}
};```
rektbyfaith
03-28-2025, 02:26 PM #57

Archived author: syntaxhell • Posted: 2025-03-28T14:26:42.710000+00:00
Original source

This solved it, looking at arguments:
```// Warrior: Arms, Protection
// Execute damage (SpellID: 260798)
class spell_warr_execute_damage : public SpellScript
{
void CalculateExecuteDamage(SpellEffectInfo const& /*effectInfo*/, Unit const* victim, int32& /*damage*/, int32& /*flatMod*/, float& pctMod) const
{
pctMod *= 2.0f;
}

void Register() override
{
CalcDamage += SpellCalcDamageFn(spell_warr_execute_damage::CalculateExecuteDamage);
}
};```

rektbyfaith
Administrator
0
03-28-2025, 02:26 PM
#58
Archived author: syntaxhell • Posted: 2025-03-28T14:26:56.434000+00:00
Original source

I guess I only need the part for float& pctMod
rektbyfaith
03-28-2025, 02:26 PM #58

Archived author: syntaxhell • Posted: 2025-03-28T14:26:56.434000+00:00
Original source

I guess I only need the part for float& pctMod

rektbyfaith
Administrator
0
03-28-2025, 02:28 PM
#59
Archived author: syntaxhell • Posted: 2025-03-28T14:28:22.572000+00:00
Original source

Interesting
rektbyfaith
03-28-2025, 02:28 PM #59

Archived author: syntaxhell • Posted: 2025-03-28T14:28:22.572000+00:00
Original source

Interesting

rektbyfaith
Administrator
0
03-28-2025, 02:28 PM
#60
Archived author: syntaxhell • Posted: 2025-03-28T14:28:35.075000+00:00
Original source

Thanks for the pointers, compiling now and we'll see
rektbyfaith
03-28-2025, 02:28 PM #60

Archived author: syntaxhell • Posted: 2025-03-28T14:28:35.075000+00:00
Original source

Thanks for the pointers, compiling now and we'll see

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