npcmatch -> affinity

This commit is contained in:
2018-03-28 18:15:52 +09:00
parent b7237140c8
commit e4c1ca7f34
14 changed files with 46 additions and 46 deletions
+3 -3
View File
@@ -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','',