summaryrefslogtreecommitdiff
path: root/docs/player_factionchange_items.md
blob: cd8a52d6eb1963c2b640df6df01d9ca0b9d2dbb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# player\_factionchange\_items

[<-Back-to:World](database-world.md)

**The \`player\_factionchange\_items\` table**

Basically all item changes made when player changes faction.

| Field            | Type   | Attributes | Key | Null | Default | Extra | Comment |
|------------------|--------|------------|-----|------|---------|-------|---------|
| [race_A][1]      | INT | SIGNED     |     | NO   |         |       |         |
| [alliance_id][2] | INT | SIGNED     | PRI | NO   |         |       |         |
| [commentA][3]    | tex    | SIGNED     |     |      |         |       |         |
| [race_H][4]      | INT | SIGNED     |     | NO   |         |       |         |
| [horde_id][5]    | INT | SIGNED     | PRI | NO   |         |       |         |
| [commentH][6]    | INT | SIGNED     |     |      |         |       |         |

[1]: #race_a
[2]: #alliance_id
[3]: #commenta
[4]: #race_h
[5]: #horde_id
[6]: #commenth

**Description of the fields**

### race\_A

Not implemented.

See item\_template.AllowableRace

### alliance\_id

This is the alliance item ID. If you convert to horde and your items have a record in his table, they will be converted to [\#horde\_id](#player_factionchange_items-horde_id)

### commentA

This is for easy item name identifying. Comment style should be name(ItemLevel)

### race\_H

Not implemented.

See [item\_template.AllowableRace](item_template#allowablerace)

### horde\_id

This is the horde item ID. If you convert to alliance and your items have a record in his table, they will be converted to [\#alliance\_id](#player_factionchange_items-alliance_id)

### commentH

This is for easy item name identifying. Comment style should be name (ItemLevel)