.\README\attr.main\Ability\EnergyFieldAbility>

EnergyFieldAbility

extends 单位技能

主要属性

fieldtypedefaultnote
damagefloat1场伤害
reloadfloat100场装载时间
rangefloat60场范围
healEffectEffectFx.heal场内治愈效果
hitEffectEffectFx.hitLaserBlast
damageEffectEffectFx.chainLightning
statusStatusEffectStatusEffects.electrified场内被击中获得效果
shootSoundSoundSounds.spark场内被影响实体声音
statusDurationfloat60.0 * 6.0效果持续时间
targetGroundbooleantrue瞄准陆军
targetAirbooleantrue瞄准空军
hitBuildingsbooleantrue瞄准建筑
hitUnitsbooleantrue瞄准单位
maxTargetsint25瞄准实体上限
healPercentfloat2.50建筑恢复百分比
layerfloatLayer.bullet - 0.001f子弹实体图层
effectRadiusfloat5.0场特效半径(最外围的圈)
sectorRadfloat0.140
rotateSpeedfloat0.50旋转速度
sectorsint5
colorColorPal.heal场的主色调
useAmmobooleantrue场使用子弹

构造方法

public EnergyFieldAbility(float damage, float reload, float range){
    this.damage = damage;
    this.reload = reload;
    this.range = range;
}