فهرست منبع

Merge pull request #5802 from GeorgeK1ng/config_fix

Remove aiValue from spells to clear warnings
Ivan Savenko 4 ماه پیش
والد
کامیت
3a3e0f5c2f
4فایلهای تغییر یافته به همراه1 افزوده شده و 22 حذف شده
  1. 1 1
      config/creatures/special.json
  2. 0 15
      config/spells/moats.json
  3. 0 2
      config/spells/other.json
  4. 0 4
      config/spells/vcmiAbility.json

+ 1 - 1
config/creatures/special.json

@@ -77,7 +77,7 @@
 	{
 		"special" : true,
 		"index": 146,
-		"level": 0,
+		"level": 5,
 		"faction": "neutral",
 		"doubleWide" : true,
 		"shots" : 24,

+ 0 - 15
config/spells/moats.json

@@ -14,7 +14,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -52,7 +51,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -111,7 +109,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -149,7 +146,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -205,7 +201,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -259,7 +254,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -297,7 +291,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -356,7 +349,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -394,7 +386,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -453,7 +444,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -491,7 +481,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -550,7 +539,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -588,7 +576,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},
@@ -647,7 +634,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -685,7 +671,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 0,
 				"cost" : 0,
 				"targetModifier":{"smart":false},

+ 0 - 2
config/spells/other.json

@@ -78,7 +78,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"
@@ -254,7 +253,6 @@
 				"range" : "0",
 				"description" : "", //For validation
 				"cost" : 0, //For validation
-				"aiValue" : 0, //For validation
 				"battleEffects" : {
 					"directDamage" : {
 						"type":"core:damage"

+ 0 - 4
config/spells/vcmiAbility.json

@@ -17,7 +17,6 @@
 		"levels" : {
 			"base": {
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 40,
 				"cost" : 1,
 				"targetModifier":{"smart":true},
@@ -68,7 +67,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 10,
 				"cost" : 0,
 				"targetModifier":{"smart":true},
@@ -117,7 +115,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 1,
 				"cost" : 0,
 				"targetModifier":{"smart":true},
@@ -198,7 +195,6 @@
 		"levels" : {
 			"base":{
 				"description" : "",
-				"aiValue" : 0,
 				"power" : 1,
 				"cost" : 0,
 				"targetModifier":{"smart":true},