npcmatch -> affinity
This commit is contained in:
@@ -1928,7 +1928,7 @@ function process_76($connect, &$general) {
|
||||
}
|
||||
|
||||
$npccount = 10000 + $npcid;
|
||||
$npcmatch = rand() % 150 + 1;
|
||||
$affinity = rand() % 150 + 1;
|
||||
$name = "ⓖ의병장{$npcid}";
|
||||
$picture = 'default.jpg';
|
||||
$turntime = getRandTurn($admin['turnterm']);
|
||||
@@ -1939,14 +1939,14 @@ function process_76($connect, &$general) {
|
||||
|
||||
@MYDB_query("
|
||||
insert into general (
|
||||
npcid,npc,npc_org,npcmatch,name,picture,nation,
|
||||
npcid,npc,npc_org,affinity,name,picture,nation,
|
||||
city,leader,power,intel,experience,dedication,
|
||||
level,gold,rice,crew,crewtype,train,atmos,tnmt,
|
||||
weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg,
|
||||
makelimit,bornyear,deadyear,
|
||||
dex0, dex10, dex20, dex30, dex40
|
||||
) values (
|
||||
'$npccount','$npc','$npc','$npcmatch','$name','$picture','{$nation['nation']}',
|
||||
'$npccount','$npc','$npc','$affinity','$name','$picture','{$nation['nation']}',
|
||||
'{$general['city']}','$leader','$power','$intel','{$avgGen['exp']}','{$avgGen['ded']}',
|
||||
'1','100','100','0','0','0','0','0',
|
||||
'0','0','0','$turntime','$killturn','{$avgGen['age']}','1','$personal','0','0','0','0','',
|
||||
|
||||
Reference in New Issue
Block a user