Foreword
Plans to build a battlefield server, so it is necessary to provide some features: full level at birth, birth gift money to provide birthplace purchase a package, learn skills.
process
- Born full of class and birth donated money
You need to modify the startup configuration file server
configuration file path /home/mangos/mangos/run/etc/mangosd.conf
The following two.
StartPlayerLevel = 1
StartPlayerMoney = 0
After starting the server can modify the parameters.
Money is the unit in which copper. 100 = 1 copper silver, gold 100 Ag = 1.
- Suit for sale
In my increase the npc yesterday as the carrier. Increase the power of the warrior suit.
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `condition_id`, `comments`)
VALUES
(85878, 16861, 0, 0, 0, NULL),
(85878, 16862, 0, 0, 0, NULL),
(85878, 16863, 0, 0, 0, NULL),
(85878, 16864, 0, 0, 0, NULL),
(85878, 16865, 0, 0, 0, NULL),
(85878, 16866, 0, 0, 0, NULL),
(85878, 16867, 0, 0, 0, NULL),
(85878, 16868, 0, 0, 0, NULL);
- Increase learning skills.
Added directly to the birthplace of the Vocational Training Division
INSERT INTO creature
(guid
, id
, map
, modelid
, equipment_id
, position_x
, position_y
, position_z
, orientation
, spawntimesecsmin
, spawntimesecsmax
, spawndist
, currentwaypoint
, curhealth
, curmana
, DeathState
, MovementType
)
VALUES
(null, 914, 0, 0, 0, -6219.636, 340.254, 383.0809, 4.393, 490, 490, 0, 0, 6139, 0, 0, 0);
Problems
- Currently warrior skills, which the defensive posture, violent gesture is needed to complete the task. You can not directly study.
Reproduced in: https: //www.jianshu.com/p/50ba3482850b