浏览代码

Minor fixes for creature abilities

Added back siege weapon for arrow towers like before the change.
Teleports uses now same name as in HotA
krs 11 月之前
父节点
当前提交
487b5cfaf6
共有 3 个文件被更改,包括 5 次插入4 次删除
  1. 2 2
      config/creatures/conflux.json
  2. 2 2
      config/creatures/inferno.json
  3. 1 0
      config/creatures/special.json

+ 2 - 2
config/creatures/conflux.json

@@ -474,11 +474,11 @@
 			{
 				"type" : "NON_LIVING"
 			},
-			"canFly" :
+			"energizes" :
 			{
 				"type" : "FLYING"
 			},
-			"spellcaster":
+			"spellcaster" :
 			{
 				"type" : "SPELLCASTER",
 				"subtype" : "spell.protectFire",

+ 2 - 2
config/creatures/inferno.json

@@ -355,7 +355,7 @@
 		"faction": "inferno",
 		"abilities":
 		{
-			"canFly" :
+			"teleports" :
 			{
 				"type" : "FLYING",
 				"subtype" : "movementTeleporting"
@@ -415,7 +415,7 @@
 		"faction": "inferno",
 		"abilities" :
 		{
-			"canFly" :
+			"teleports" :
 			{
 				"type" : "FLYING",
 				"subtype" : "movementTeleporting"

+ 1 - 0
config/creatures/special.json

@@ -168,6 +168,7 @@
 		"shots" : 99,
 		"abilities":
 		{
+			"siegeWeapon" : { "type" : "SIEGE_WEAPON" },
 			"shooter" : { "type" : "SHOOTER" },
 			"ignoreDefence" : { "type" : "ENEMY_DEFENCE_REDUCTION", "val" : 100 },
 			"noWallPenalty" : { "type" : "NO_WALL_PENALTY" },