forked from devsam/core
추가한 커밋에서 불필요한 npc 코드 제거
This commit is contained in:
@@ -627,15 +627,12 @@ function processAI($no) {
|
||||
|
||||
if($npcGenID === null && $userGenID === null){
|
||||
$genID = 0;
|
||||
$genValue = 0;
|
||||
}
|
||||
else if($npcGenID === null || $userGenValue < $npcGenValue * 3){
|
||||
$genID = $userGenID;
|
||||
$genValue = $userGenValue;
|
||||
}
|
||||
else{
|
||||
$genID = $npcGenID;
|
||||
$genValue = $npcGenValue;
|
||||
}
|
||||
|
||||
if ($genID) {
|
||||
|
||||
Reference in New Issue
Block a user