Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Are you still up?

[DiscordArchive] Are you still up?

[DiscordArchive] Are you still up?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
05-23-2022, 06:54 PM
#11
Archived author: NotepadGuy • Posted: 2022-05-23T18:54:55.963000+00:00
Original source

Said that there should a pvp flag somewhere
rektbyfaith
05-23-2022, 06:54 PM #11

Archived author: NotepadGuy • Posted: 2022-05-23T18:54:55.963000+00:00
Original source

Said that there should a pvp flag somewhere

rektbyfaith
Administrator
0
05-23-2022, 06:55 PM
#12
Archived author: NotepadGuy • Posted: 2022-05-23T18:55:37.733000+00:00
Original source

Possible way is to try azeroth core and see theirs
rektbyfaith
05-23-2022, 06:55 PM #12

Archived author: NotepadGuy • Posted: 2022-05-23T18:55:37.733000+00:00
Original source

Possible way is to try azeroth core and see theirs

rektbyfaith
Administrator
0
05-23-2022, 06:56 PM
#13
Archived author: Bench • Posted: 2022-05-23T18:56:59.815000+00:00
Original source

```INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (12427, 0, 0, 0, 0, 0, 12474, 0, 0, 0, 'Mountaineer Dolf', NULL, NULL, 0, 7, 7, 0, 55, 0, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 4104, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 2, 'npc_garments_of_quests', 12340);
```
There's the creature_template for the NPC in AzerothCore
rektbyfaith
05-23-2022, 06:56 PM #13

Archived author: Bench • Posted: 2022-05-23T18:56:59.815000+00:00
Original source

```INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (12427, 0, 0, 0, 0, 0, 12474, 0, 0, 0, 'Mountaineer Dolf', NULL, NULL, 0, 7, 7, 0, 55, 0, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 4104, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 2, 'npc_garments_of_quests', 12340);
```
There's the creature_template for the NPC in AzerothCore

rektbyfaith
Administrator
0
05-23-2022, 06:57 PM
#14
Archived author: Fake´z • Posted: 2022-05-23T18:57:30.467000+00:00
Original source

saw that one and the commit from Shauren about pvp , i changed unit_flags in creature to 8 and it worked but its not the "right way"
rektbyfaith
05-23-2022, 06:57 PM #14

Archived author: Fake´z • Posted: 2022-05-23T18:57:30.467000+00:00
Original source

saw that one and the commit from Shauren about pvp , i changed unit_flags in creature to 8 and it worked but its not the "right way"

rektbyfaith
Administrator
0
05-23-2022, 06:57 PM
#15
Archived author: Bench • Posted: 2022-05-23T18:57:43.758000+00:00
Original source

```INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES (224, 12427, 0, 0, 0, 0, 0, 1, 1, 1, -5668.69, -454.09, 394.467, 1.79769, 180, 0, 0, 330, 0, 0, 0, 0, 0, '', 0);
```
There's the creature
rektbyfaith
05-23-2022, 06:57 PM #15

Archived author: Bench • Posted: 2022-05-23T18:57:43.758000+00:00
Original source

```INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES (224, 12427, 0, 0, 0, 0, 0, 1, 1, 1, -5668.69, -454.09, 394.467, 1.79769, 180, 0, 0, 330, 0, 0, 0, 0, 0, '', 0);
```
There's the creature

rektbyfaith
Administrator
0
05-23-2022, 06:59 PM
#16
Archived author: NotepadGuy • Posted: 2022-05-23T18:59:25.645000+00:00
Original source

Different Tc and Ac
rektbyfaith
05-23-2022, 06:59 PM #16

Archived author: NotepadGuy • Posted: 2022-05-23T18:59:25.645000+00:00
Original source

Different Tc and Ac

rektbyfaith
Administrator
0
05-23-2022, 07:00 PM
#17
Archived author: Bench • Posted: 2022-05-23T19:00:04.976000+00:00
Original source

I know, but figured I might as well throw the queries in here rather than one o' y'all spending an hour compiling it
rektbyfaith
05-23-2022, 07:00 PM #17

Archived author: Bench • Posted: 2022-05-23T19:00:04.976000+00:00
Original source

I know, but figured I might as well throw the queries in here rather than one o' y'all spending an hour compiling it

rektbyfaith
Administrator
0
05-23-2022, 07:11 PM
#18
Archived author: Jepse • Posted: 2022-05-23T19:11:36.251000+00:00
Original source

thanks! i do appreciate your query work
rektbyfaith
05-23-2022, 07:11 PM #18

Archived author: Jepse • Posted: 2022-05-23T19:11:36.251000+00:00
Original source

thanks! i do appreciate your query work

rektbyfaith
Administrator
0
05-23-2022, 07:11 PM
#19
Archived author: NotepadGuy • Posted: 2022-05-23T19:11:49.574000+00:00
Original source

```c++
class TC_GAME_API HealInfo
{
private:
Unit* const _healer;
Unit* const _target;
uint32 _heal;
uint32 _effectiveHeal;
uint32 _absorb;
SpellInfo const* const _spellInfo;
SpellSchoolMask const _schoolMask;
uint32 _hitMask;

public:
HealInfo(Unit* healer, Unit* target, uint32 heal, SpellInfo const* spellInfo, SpellSchoolMask schoolMask);

void AbsorbHeal(uint32 amount);
void SetEffectiveHeal(uint32 amount) { _effectiveHeal = amount; }

Unit* GetHealer() const { return _healer; }
Unit* GetTarget() const { return _target; }
uint32 GetHeal() const { return _heal; }
uint32 GetEffectiveHeal() const { return _effectiveHeal; }
uint32 GetAbsorb() const { return _absorb; }
SpellInfo const* GetSpellInfo() const { return _spellInfo; };
SpellSchoolMask GetSchoolMask() const { return _schoolMask; };

uint32 GetHitMask() const;
};
```
rektbyfaith
05-23-2022, 07:11 PM #19

Archived author: NotepadGuy • Posted: 2022-05-23T19:11:49.574000+00:00
Original source

```c++
class TC_GAME_API HealInfo
{
private:
Unit* const _healer;
Unit* const _target;
uint32 _heal;
uint32 _effectiveHeal;
uint32 _absorb;
SpellInfo const* const _spellInfo;
SpellSchoolMask const _schoolMask;
uint32 _hitMask;

public:
HealInfo(Unit* healer, Unit* target, uint32 heal, SpellInfo const* spellInfo, SpellSchoolMask schoolMask);

void AbsorbHeal(uint32 amount);
void SetEffectiveHeal(uint32 amount) { _effectiveHeal = amount; }

Unit* GetHealer() const { return _healer; }
Unit* GetTarget() const { return _target; }
uint32 GetHeal() const { return _heal; }
uint32 GetEffectiveHeal() const { return _effectiveHeal; }
uint32 GetAbsorb() const { return _absorb; }
SpellInfo const* GetSpellInfo() const { return _spellInfo; };
SpellSchoolMask GetSchoolMask() const { return _schoolMask; };

uint32 GetHitMask() const;
};
```

rektbyfaith
Administrator
0
05-23-2022, 07:12 PM
#20
Archived author: NotepadGuy • Posted: 2022-05-23T19:12:18.667000+00:00
Original source

```c++
class HealInfo
{
private:
Unit* const m_healer;
Unit* const m_target;
uint32 m_heal;
uint32 m_absorb;
SpellInfo const* const m_spellInfo;
SpellSchoolMask const m_schoolMask;
public:
explicit HealInfo(Unit* _healer, Unit* _target, uint32 _heal, SpellInfo const* _spellInfo, SpellSchoolMask _schoolMask)
: m_healer(_healer), m_target(_target), m_heal(_heal), m_spellInfo(_spellInfo), m_schoolMask(_schoolMask)
{
m_absorb = 0;
}
void AbsorbHeal(uint32 amount)
{
amount = std::min(amount, GetHeal());
m_absorb += amount;
m_heal -= amount;
}

void SetHeal(uint32 amount)
{
m_heal = amount;
}

[[nodiscard]] Unit* GetHealer() const { return m_healer; }
[[nodiscard]] Unit* GetTarget() const { return m_target; }
[[nodiscard]] uint32 GetHeal() const { return m_heal; }
[[nodiscard]] uint32 GetAbsorb() const { return m_absorb; }
[[nodiscard]] SpellInfo const* GetSpellInfo() const { return m_spellInfo; };
[[nodiscard]] SpellSchoolMask GetSchoolMask() const { return m_schoolMask; };
};
```
rektbyfaith
05-23-2022, 07:12 PM #20

Archived author: NotepadGuy • Posted: 2022-05-23T19:12:18.667000+00:00
Original source

```c++
class HealInfo
{
private:
Unit* const m_healer;
Unit* const m_target;
uint32 m_heal;
uint32 m_absorb;
SpellInfo const* const m_spellInfo;
SpellSchoolMask const m_schoolMask;
public:
explicit HealInfo(Unit* _healer, Unit* _target, uint32 _heal, SpellInfo const* _spellInfo, SpellSchoolMask _schoolMask)
: m_healer(_healer), m_target(_target), m_heal(_heal), m_spellInfo(_spellInfo), m_schoolMask(_schoolMask)
{
m_absorb = 0;
}
void AbsorbHeal(uint32 amount)
{
amount = std::min(amount, GetHeal());
m_absorb += amount;
m_heal -= amount;
}

void SetHeal(uint32 amount)
{
m_heal = amount;
}

[[nodiscard]] Unit* GetHealer() const { return m_healer; }
[[nodiscard]] Unit* GetTarget() const { return m_target; }
[[nodiscard]] uint32 GetHeal() const { return m_heal; }
[[nodiscard]] uint32 GetAbsorb() const { return m_absorb; }
[[nodiscard]] SpellInfo const* GetSpellInfo() const { return m_spellInfo; };
[[nodiscard]] SpellSchoolMask GetSchoolMask() const { return m_schoolMask; };
};
```

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