Skip to content
Permalink
Browse files

Make the pyro and the ultralisk properly attack ground units but pref…

…er buildings
  • Loading branch information...
ForbodingAngel committed Oct 14, 2019
1 parent 5a167a1 commit 0b9dec8625ff7122a4b49da43395a8edafca16f6
@@ -326,8 +326,8 @@ local damageClasses = {
BUILDING = 1,
},
zpyro = {
ARMORED = 0,
LIGHT = 0,
ARMORED = 0.5,
LIGHT = 0.5,
BUILDING = 1,
},
zarty = {
@@ -77,7 +77,8 @@ unitDef = {
def = "WEAPON",
maindir = "0 0 1",
maxangledif = 180,
onlyTargetCategory = "BUILDING",
badTargetCategory = "NOTAIR",
onlyTargetCategory = "NOTAIR BUILDING",
},
},
customParams = {
@@ -77,7 +77,8 @@ unitDef = {
def = "WEAPON",
maindir = "0 0 1",
maxangledif = 180,
onlyTargetCategory = "BUILDING",
badTargetCategory = "NOTAIR",
onlyTargetCategory = "BUILDING NOTAIR",
},
},
customParams = {
@@ -98,7 +99,7 @@ unitDef = {

weaponDefs = {
weapon = {
AreaOfEffect = 1,
AreaOfEffect = 100,
avoidFeature = false,
avoidFriendly = false,
collideFeature = false,
@@ -115,7 +116,7 @@ weaponDefs = {
minintensity = "1",
name = "Laser",
range = 250,
reloadtime = 1,
reloadtime = 7.5,
WeaponType = "LaserCannon",
rgbColor = "1 1 1",
rgbColor2 = "1 1 1",

0 comments on commit 0b9dec8

Please sign in to comment.
You can’t perform that action at this time.