npcmatch -> affinity
This commit is contained in:
1 parent
b7237140c8
commit
e4c1ca7f34
14 files changed
+46
-46
No files matched your search
+2
-2
@@ -991,13 +991,13 @@ $query = "update diplomacy set state=7,term=60 where you=6 and me=9";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
//////////////////////////외교 끝//////////////////////////////////////////////////
|
||||
|
||||
function RegGenX($connect,$npcmatch,$name,$img,$picture,$nation,$city,$leader,$power,$intel,$level,$bornyear,$deadyear,$personal,$special,
|
||||
function RegGenX($connect,$affinity,$name,$img,$picture,$nation,$city,$leader,$power,$intel,$level,$bornyear,$deadyear,$personal,$special,
|
||||
$msg=""){
|
||||
static $gencount = 1000;
|
||||
$gencount += 1;
|
||||
global $connect, $fiction, $turnterm,$startyear, $year;
|
||||
|
||||
RegGeneral($connect,1,0,$fiction,$turnterm,$startyear,$year,$gencount,$npcmatch,$name,$img,$picture,$nation,
|
||||
RegGeneral($connect,1,0,$fiction,$turnterm,$startyear,$year,$gencount,$affinity,$name,$img,$picture,$nation,
|
||||
$city,$leader,$power,$intel,$level,
|
||||
$bornyear,$deadyear,$personal,$special,
|
||||
$msg);
|
||||
|
||||
Reference in new issue
Block a user