Jelajahi Sumber

Fixed http://bugs.vcmi.eu/view.php?id=2730 by Anubis (#361)

misiokles 8 tahun lalu
induk
melakukan
c5aa403197
2 mengubah file dengan 62 tambahan dan 41 penghapusan
  1. 33 13
      config/bonuses.json
  2. 29 28
      config/bonuses_texts.json

+ 33 - 13
config/bonuses.json

@@ -24,7 +24,7 @@
 	{
 		"graphics":
 		{
-			"icon":  ""
+			"icon":  "zvs/Lib1.res/E_SPAIR1"
 		}
 	},
 
@@ -51,6 +51,14 @@
 			"icon":  "zvs/Lib1.res/Catapult"
 		}
 	},
+	
+	"CATAPULT_EXTRA_SHOTS":
+	{
+		"graphics":
+		{
+			"icon":  "zvs/Lib1.res/Catapult"
+		}
+	},
 
 	"CHANGES_SPELL_COST_FOR_ALLY":
 	{
@@ -137,7 +145,7 @@
 	{
 		"graphics":
 		{
-			"icon":  ""
+			"icon":  "zvs/Lib1.res/E_SPEATH1"
 		}
 	},
 
@@ -157,8 +165,6 @@
 		}
 	},
 
-
-
 	"ENEMY_DEFENCE_REDUCTION":
 	{
 		"graphics":
@@ -171,7 +177,7 @@
 	{
 		"graphics":
 		{
-			"icon":  ""
+			"icon":  "zvs/Lib1.res/E_SPFIRE1"
 		}
 	},
 
@@ -179,9 +185,10 @@
 	{
 		"graphics":
 		{
-			"icon":  "zvs/Lib1.res/FireShield"
+			"icon":  "zvs/Lib1.res/E_FIRE"
 		}
 	},
+	
 	"FEAR":
 	{
 		"graphics":
@@ -223,6 +230,14 @@
 			"icon":  "zvs/Lib1.res/E_TROLL"
 		}
 	},
+	
+	"GENERAL_DAMAGE_REDUCTION":
+	{
+		"graphics":
+		{
+			"icon":  "zvs/Lib1.res/DamageReductionMelee"
+		}
+	},
 
 	"HATE":
 	{
@@ -247,6 +262,7 @@
 			"icon":  "zvs/Lib1.res/E_TROLL"
 		}
 	},
+	
 	"JOUSTING":
 	{
 		"graphics":
@@ -302,6 +318,7 @@
 			"icon":  "zvs/Lib1.res/ManaChannel"
 		}
 	},
+	
 	"MANA_DRAIN":
 	{
 		"graphics":
@@ -346,6 +363,7 @@
 			"icon":  "zvs/Lib1.res/E_DIST"
 		}
 	},
+	
 	"NO_MELEE_PENALTY":
 	{
 		"graphics":
@@ -361,6 +379,7 @@
 			"icon":  "zvs/Lib1.res/E_MORAL"
 		}
 	},
+	
 	"NO_WALL_PENALTY":
 	{
 		"graphics":
@@ -378,7 +397,7 @@
 	{
 		"graphics":
 		{
-			"icon":  "zvs/Lib1.res/NonLiving"
+			"icon":  "zvs/Lib1.res/E_MORAL"
 		}
 	},
 
@@ -397,6 +416,7 @@
 			"icon":  "zvs/Lib1.res/E_NOFRIM"
 		}
 	},
+	
 	"REBIRTH":
 	{
 		"graphics":
@@ -423,7 +443,7 @@
 	{
 		"graphics":
 		{
-			"icon":  "zvs/Lib1.res/SelfLuck"
+			"icon":  "zvs/Lib1.res/E_SPAIR"
 		}
 	},
 
@@ -487,16 +507,15 @@
 	{
 		"graphics":
 		{
-			"icon":  "" //todo: configurable use from spell handler
+			"icon":  "zvs/Lib1.res/E_SPDISB" //todo: configurable use from spell handler
 		}
 	},
 
-
 	"SPELL_LIKE_ATTACK":
 	{
 		"graphics":
 		{
-			"icon":  "zvs/Lib1.res/SpellLikeAttack"
+			"icon":  "zvs/Lib1.res/E_SPDFIRE"
 		}
 	},
 
@@ -516,7 +535,6 @@
 		}
 	},
 
-
 	"THREE_HEADED_ATTACK":
 	{
 		"graphics":
@@ -540,6 +558,7 @@
 			"icon":  "zvs/Lib1.res/E_UNDEAD"
 		}
 	},
+	
 	"UNLIMITED_RETALIATIONS":
 	{
 		"graphics":
@@ -552,11 +571,12 @@
 	{
 		"hidden": true
 	},
+	
 	"WATER_IMMUNITY":
 	{
 		"graphics":
 		{
-			"icon":  ""
+			"icon":  "zvs/Lib1.res/E_SPWATER1"
 		}
 	}
 }

+ 29 - 28
config/bonuses_texts.json

@@ -17,12 +17,6 @@
 		"name": "Additional retaliations",
 		"description": "May Retaliate ${val} extra times"
 	},
-	
-	"CATAPULT_EXTRA_SHOTS":
-	{
-		"name": "Additional siege attacks",
-		"description": "Can hit siege walls ${val} extra times per attack"
-	},
 
 	"AIR_IMMUNITY":
 	{
@@ -53,17 +47,23 @@
 		"name": "Catapult",
 		"description": "Attacks siege walls"
 	},
+	
+	"CATAPULT_EXTRA_SHOTS":
+	{
+		"name": "Additional siege attacks",
+		"description": "Can hit siege walls ${val} extra times per attack"
+	},
 
 	"CHANGES_SPELL_COST_FOR_ALLY":
 	{
 		"name": "Reduce Casting Cost (${val})",
-		"description": "Reduce Casting Cost for hero"
+		"description": "Reduces spell cost for hero"
 	},
 
 	"CHANGES_SPELL_COST_FOR_ENEMY":
 	{
 		"name": "Magic Damper (${val})",
-		"description": "Increase Cost of enemy spells"
+		"description": "Increases Cost of enemy spells"
 	},
 
 	"CHARGE_IMMUNITY":
@@ -80,7 +80,7 @@
 
 	"DARKNESS":
 	{
-		"name": "Darness cover",
+		"name": "Darkness cover",
 		"description": "Adds ${val} darkness radius"
 	},
 
@@ -134,14 +134,14 @@
 
 	"ENEMY_DEFENCE_REDUCTION":
 	{
-		"name": "Reduce Enemy Defense (${val}%)",
-		"description": "Reduces Defense for one attack"
+		"name": "Ignore Defense (${val}%)",
+		"description": "Ignores part of Defence for the attack"
 	},
 
 	"GENERAL_DAMAGE_REDUCTION":
 	{
 		"name": "Reduce Damage (${val}%)",
-		"description": "Reduces physical damage"
+		"description": "Reduces physical damage from ranged or melee"
 	},
 
 	"FIRE_IMMUNITY":
@@ -153,7 +153,7 @@
 	"FIRE_SHIELD":
 	{
 		"name": "Fire Shield (${val}%)",
-		"description": "Reflects melee damage"
+		"description": "Reflects part of melee damage"
 	},
 
 	"FEAR":
@@ -183,7 +183,7 @@
 	"FULL_HP_REGENERATION":
 	{
 		"name": "Regeneration",
-		"description": "May Regenerate full Health"
+		"description": "May Regenerate to full Health"
 	},
 
 	"HATE":
@@ -212,26 +212,26 @@
 
 	"KING1":
 	{
-		"name": "King1",
+		"name": "King 1",
 		"description": "Vulnerable to basic SLAYER"
 	},
 
 	"KING2":
 	{
-		"name": "King2",
-		"description": "Vulnerable to adv. SLAYER"
+		"name": "King 2",
+		"description": "Vulnerable to advanced SLAYER"
 	},
 
 	"KING3":
 	{
-		"name": "King3",
+		"name": "King 3",
 		"description":"Vulnerable to expert SLAYER"
 	},
 
 	"LEVEL_SPELL_IMMUNITY":
 	{
 		"name": "Spell immunity 1-${val}",
-		"description": "Immune to spells levels 1-${val}"
+		"description": "Immune to spells of levels 1-${val}"
 	},
 
 	"LIFE_DRAIN":
@@ -243,7 +243,7 @@
 	"MANA_CHANNELING":
 	{
 		"name": "Magic Channel ${val}%",
-		"description": "Gives mana spent by enemy"
+		"description": "Gives your hero mana spent by enemy"
 	},
 
 	"MANA_DRAIN":
@@ -255,7 +255,7 @@
 	"MAGIC_MIRROR":
 	{
 		"name": "Magic Mirror (${val}%)",
-		"description": "${val}% chance to redirects offensive spell to enemy"
+		"description": "${val}% chance to redirects an offensive spell to enemy"
 	},
 
 	"MAGIC_RESISTANCE":
@@ -266,8 +266,8 @@
 
 	"MIND_IMMUNITY":
 	{
-		"name": "Immune to mind spells",
-		"description": ""
+		"name": "Mind Spell Immunity",
+		"description": "Immune to Mind-type spells"
 	},
 
 	"NO_DISTANCE_PENALTY":
@@ -284,8 +284,8 @@
 
 	"NO_MORALE":
 	{
-
-
+		"name": "Neutral Morale",
+		"description": "Creature is immune to morale effects"
 	},
 
 	"NO_WALL_PENALTY":
@@ -317,6 +317,7 @@
 		"name": "Receptive",
 		"description": "No Immunity to Friendly Spells"
 	},
+	
 	"REBIRTH":
 	{
 		"name": "Rebirth (${val}%)",
@@ -361,13 +362,13 @@
 
 	"SPELL_AFTER_ATTACK":
 	{
-		"name": "After attack cast",
+		"name": "Cast After Attack",
 		"description": "${val}% to cast ${subtype.spell} after attack"
 	},
 
 	"SPELL_BEFORE_ATTACK":
 	{
-		"name": "Before attack cast",
+		"name": "Cast Before Attack",
 		"description": "${val}% to cast ${subtype.spell} before attack"
 	},
 
@@ -428,7 +429,7 @@
 	"UNLIMITED_RETALIATIONS":
 	{
 		"name": "Unlimited retaliations",
-		"description": "Retaliate any number of attacks"
+		"description": "Retaliates any number of attacks"
 	},
 
 	"WATER_IMMUNITY":