-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ARAC query to auto-run directory.
- Loading branch information
1 parent
9de7688
commit 31170fb
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
This query allows you to copy information from a specific breed to add new information. | ||
In this example, the code copies the information from RACE 1 (Human) to add it to race 12 (Fel'Orc). | ||
*/ | ||
|
||
-- PlayerCreateInfo | ||
REPLACE INTO `playercreateinfo` | ||
SELECT race+11, class, map, zone, position_x, position_y, position_z, orientation FROM `playercreateinfo` WHERE race = 1; | ||
|
||
-- PlayerLevelStats | ||
REPLACE INTO `player_levelstats` | ||
SELECT race+11, class, `level`, str, agi, sta, inte, spi FROM `player_levelstats` WHERE race = 1; | ||
|
||
-- PlayerCreateInfo_Action | ||
REPLACE INTO `playercreateinfo_action` | ||
SELECT race+11, class, button, `action`, `type` FROM `playercreateinfo_action` WHERE race = 1; | ||
|
||
-- PlayerCreateInfo_Item | ||
REPLACE INTO `playercreateinfo_item` | ||
SELECT race+11, class, itemid, amount FROM `playercreateinfo_item` WHERE race = 1; | ||
|
||
-- PlayerCreateInfo_Spell | ||
REPLACE INTO `playercreateinfo_spell` | ||
SELECT racemask+2047, classmask, Spell, Note FROM `playercreateinfo_spell` WHERE racemask = 1; | ||
|
||
-- PlayerCreateInfo_Spell | ||
REPLACE INTO `playercreateinfo_spell_custom` | ||
SELECT racemask+2047, classmask, Spell, Note FROM `playercreateinfo_spell_custom` WHERE racemask = 1; |
File renamed without changes.
31170fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does this file go? i tried to import it into SQLyog (word database area) but got an error