153 lines
2.3 KiB
INI
153 lines
2.3 KiB
INI
|
|
[core]
|
|
|
|
|
|
|
|
name: modularSpider_lightning
|
|
copyFrom: common_slot.ini
|
|
displayText: Lightning T1
|
|
displayDescription: -Can attack land only\n-Strong vs shields
|
|
displayText_zh:雷电 T1
|
|
displayDescription_zh: -只能攻击地面\n-对护盾效果好
|
|
overrideAndReplace:modularSpider_lightning
|
|
price: 6000
|
|
|
|
maxHp: 2000
|
|
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
|
|
turretSize: 30
|
|
turretTurnSpeed: 2
|
|
|
|
shootDelay: 2.00s
|
|
[action_upgradeT2]
|
|
|
|
text: Upgrade
|
|
text_zh: 升级
|
|
textAddUnitName: ${section.convertTo}
|
|
descriptionAddFromUnit: ${section.convertTo}
|
|
descriptionAddUnitStats: ${section.convertTo}
|
|
|
|
isActive: if self.queueSize(empty=true)
|
|
|
|
buildSpeed: 16s
|
|
convertTo: modularSpider_lightningT2
|
|
price: 8000
|
|
|
|
iconExtraImage: SHARED:icon_upgrade.png
|
|
iconExtraColor: #FFFFFFFF
|
|
|
|
[turret_1]
|
|
|
|
x: 0
|
|
y: 0
|
|
|
|
size: 20
|
|
|
|
image: CORE:turrets/turret_top_lightning.png
|
|
image_drawOffsetY:9
|
|
|
|
#idleSpin: 0.8
|
|
|
|
shoot_sound:lighting_burst
|
|
shoot_sound_vol:0.3
|
|
shoot_flame:CUSTOM:sparks2*3
|
|
shoot_light:#FFcceeee
|
|
|
|
canShoot: true
|
|
|
|
warmup:30
|
|
|
|
chargeEffectImage: SHARED:lighting_charge.png
|
|
|
|
recoilOffset: -1.5
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 17
|
|
|
|
#energyUsage: 1
|
|
|
|
|
|
[projectile_1]
|
|
#directDamage: 310
|
|
directDamage: 130
|
|
|
|
life: 25
|
|
instant: true
|
|
lightingEffect: true
|
|
largeHitEffect: true
|
|
|
|
|
|
shieldDamageMultiplier: 1
|
|
shieldDefectionMultiplier: 0.1
|
|
|
|
buildingDamageMultiplier: 0.5
|
|
|
|
explodeEffect:CUSTOM:lightningShock, CUSTOM:sparks*8
|
|
|
|
|
|
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
|
|
|
|
|
|
[effect_hitLightFlash]
|
|
priority:high
|
|
|
|
image: SHARED:light_50.png
|
|
life: 17
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #63e6e8
|
|
|
|
scaleFrom: 1.8
|
|
scaleTo: 1.8
|
|
alpha: 0.6
|
|
drawUnderUnits:false
|
|
|
|
|
|
[effect_lightningShock]
|
|
life: 60
|
|
|
|
|
|
hOffset: 0
|
|
dirOffset: 0
|
|
|
|
fadeInTime: 0
|
|
fadeOut: false
|
|
|
|
attachedToUnit: true
|
|
|
|
|
|
image: SHARED:lightning_shock.png
|
|
total_frames: 14
|
|
animateFrameStart: 0
|
|
animateFrameEnd: 13
|
|
animateFramePingPong: false
|
|
animateFrameSpeed: 0.5
|
|
|
|
|
|
|
|
[effect_sparks]
|
|
attachedToUnit: false
|
|
life: 150
|
|
physics: true
|
|
xSpeedRelativeRandom: 1.6
|
|
ySpeedRelativeRandom: 1.6
|
|
hSpeed: 2
|
|
image: SHARED:spark.png
|
|
priority: verylow
|
|
|
|
[effect_sparks2]
|
|
attachedToUnit: false
|
|
life: 150
|
|
physics: true
|
|
xSpeedRelativeRandom: 0.5
|
|
ySpeedRelativeRandom: 0.5
|
|
hSpeed: 1
|
|
image: SHARED:spark.png
|
|
priority: verylow
|
|
|