Follow up to e368b5f

The aegis name check should only be applied to items. @lighta

Follow up to 6206537

Reverted the mob skill db SQL changes.
This commit is contained in:
rAthenaAPI 2016-01-05 15:27:38 +01:00
parent 6206537855
commit 887dd7e80e
3 changed files with 7099 additions and 7099 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -116,7 +116,7 @@ sub ConvertFile { my($sFilein,$sFileout,$sType)=@_;
printf $sFHout ("%s\n", $ligne);
} else {
printf $sFHout ("REPLACE INTO `%s` VALUES (", $db);
if($sWasCom == 0){ #check if aegis name is duplicate, (only for not com)
if( $sType =~ /item/i and $sWasCom == 0){ #check if aegis name is duplicate, (only for not com)
$hAEgisName{$champ[1]}++;
if($hAEgisName{$champ[1]} > 1){
print "Warning, aegisName=$champ[1] multiple occurence found, val=$hAEgisName{$champ[1]}, line=$ligne\n" ;