Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What's the best way to return the character's faction?

[DiscordArchive] What's the best way to return the character's faction?

[DiscordArchive] What's the best way to return the character's faction?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
08-05-2017, 01:22 PM
#1
Archived author: DungeonMaster • Posted: 2017-08-05T13:22:53.524000+00:00
Original source

What's the best way to return the character's faction?
rektbyfaith
08-05-2017, 01:22 PM #1

Archived author: DungeonMaster • Posted: 2017-08-05T13:22:53.524000+00:00
Original source

What's the best way to return the character's faction?

rektbyfaith
Administrator
0
08-05-2017, 01:23 PM
#2
Archived author: speedfangz • Posted: 2017-08-05T13:23:15.365000+00:00
Original source

player->GetTeamId() == Team_ALLIANCE
rektbyfaith
08-05-2017, 01:23 PM #2

Archived author: speedfangz • Posted: 2017-08-05T13:23:15.365000+00:00
Original source

player->GetTeamId() == Team_ALLIANCE

rektbyfaith
Administrator
0
08-05-2017, 01:24 PM
#3
Archived author: DungeonMaster • Posted: 2017-08-05T13:24:12.418000+00:00
Original source

Gotcha. I tried GetFaction() and switched over ACTION_MASK_ALLIANCE, but it failed.
rektbyfaith
08-05-2017, 01:24 PM #3

Archived author: DungeonMaster • Posted: 2017-08-05T13:24:12.418000+00:00
Original source

Gotcha. I tried GetFaction() and switched over ACTION_MASK_ALLIANCE, but it failed.

rektbyfaith
Administrator
0
08-05-2017, 01:39 PM
#4
Archived author: DungeonMaster • Posted: 2017-08-05T13:39:23.410000+00:00
Original source

Player->learnSpell(SKILL_DUAL_WIELD) - This teaches Polymorph. My question is.. where is SKILL_DUAL_WIELD used in the code as it pertains to the skill?
rektbyfaith
08-05-2017, 01:39 PM #4

Archived author: DungeonMaster • Posted: 2017-08-05T13:39:23.410000+00:00
Original source

Player->learnSpell(SKILL_DUAL_WIELD) - This teaches Polymorph. My question is.. where is SKILL_DUAL_WIELD used in the code as it pertains to the skill?

rektbyfaith
Administrator
0
08-05-2017, 01:50 PM
#5
Archived author: Dany • Posted: 2017-08-05T13:50:27.309000+00:00
Original source

what's the id of y ou dual weild
rektbyfaith
08-05-2017, 01:50 PM #5

Archived author: Dany • Posted: 2017-08-05T13:50:27.309000+00:00
Original source

what's the id of y ou dual weild

rektbyfaith
Administrator
0
08-05-2017, 01:52 PM
#6
Archived author: DungeonMaster • Posted: 2017-08-05T13:52:29.953000+00:00
Original source

I've got the spell ID, I'm just wondering where SKILL_DUAL_WIELD is used in reference to the skills. It obviously doesn't work for spells, so what does it work for? Skill specific checks and other stuff right?
rektbyfaith
08-05-2017, 01:52 PM #6

Archived author: DungeonMaster • Posted: 2017-08-05T13:52:29.953000+00:00
Original source

I've got the spell ID, I'm just wondering where SKILL_DUAL_WIELD is used in reference to the skills. It obviously doesn't work for spells, so what does it work for? Skill specific checks and other stuff right?

rektbyfaith
Administrator
0
08-05-2017, 01:53 PM
#7
Archived author: DungeonMaster • Posted: 2017-08-05T13:53:53.669000+00:00
Original source

Be nice to say player->learnSkill(SKILL_DUAL_WIELD)
rektbyfaith
08-05-2017, 01:53 PM #7

Archived author: DungeonMaster • Posted: 2017-08-05T13:53:53.669000+00:00
Original source

Be nice to say player->learnSkill(SKILL_DUAL_WIELD)

rektbyfaith
Administrator
0
08-05-2017, 02:03 PM
#8
Archived author: Dany • Posted: 2017-08-05T14:03:34.334000+00:00
Original source

i'm not sure I understand what you want but you can do learnspell(id) for dual
rektbyfaith
08-05-2017, 02:03 PM #8

Archived author: Dany • Posted: 2017-08-05T14:03:34.334000+00:00
Original source

i'm not sure I understand what you want but you can do learnspell(id) for dual

rektbyfaith
Administrator
0
08-05-2017, 02:06 PM
#9
Archived author: Dany • Posted: 2017-08-05T14:06:39.008000+00:00
Original source

not sure if there is a skill id
rektbyfaith
08-05-2017, 02:06 PM #9

Archived author: Dany • Posted: 2017-08-05T14:06:39.008000+00:00
Original source

not sure if there is a skill id

rektbyfaith
Administrator
0
08-05-2017, 02:06 PM
#10
Archived author: Dany • Posted: 2017-08-05T14:06:58.182000+00:00
Original source

i think skill id are for engineering and thing like this but i could be wrong
rektbyfaith
08-05-2017, 02:06 PM #10

Archived author: Dany • Posted: 2017-08-05T14:06:58.182000+00:00
Original source

i think skill id are for engineering and thing like this but i could be wrong

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