Quote:
Originally Posted by IVB
Analising ai.obj I found following duplicated parameters:
1. class 1 chamberlain : citizen
Code:
int WallPrice1_1 1600000
int WallPrice1_2 1800000
int WallPrice1_3 2000000
int WallPrice1_1 1600000
int WallPrice1_2 1800000
int WallPrice1_3 2000000
int WallPrice1_1 1600000
int WallPrice1_2 1800000
int WallPrice1_3 2000000
int dmgzoneprice1_1 3000000
int dmgzoneprice1_2 4000000
int dmgzoneprice1_3 5000000
int dmgzoneprice1_4 6000000
int dmgzoneprice1_1 3000000
int dmgzoneprice1_2 4000000
int dmgzoneprice1_3 5000000
int dmgzoneprice1_4 6000000
2. class 1 monster_parameter : default_npc
Code:
int DungeonType 0
int DungeonTypeAI 0
string DungeonTypePrivate ""
int DungeonType 0
int DungeonTypeAI 0
string DungeonTypePrivate ""
So I have two questions: Is this mistake of ai.obj developers or this duplication has sense? And can I remove duplicates?
|
You can remove duplicates, have no sense declare two times the same parameter, its a mistake.