extends 单位技能
field | type | default | note |
---|---|---|---|
damage | float | 1 | 场伤害 |
reload | float | 100 | 场装载时间 |
range | float | 60 | 场范围 |
healEffect | Effect | Fx.heal | 场内治愈效果 |
hitEffect | Effect | Fx.hitLaserBlast | |
damageEffect | Effect | Fx.chainLightning | |
status | StatusEffect | StatusEffects.electrified | 场内被击中获得效果 |
shootSound | Sound | Sounds.spark | 场内被影响实体声音 |
statusDuration | float | 60.0 * 6.0 | 效果持续时间 |
targetGround | boolean | true | 瞄准陆军 |
targetAir | boolean | true | 瞄准空军 |
hitBuildings | boolean | true | 瞄准建筑 |
hitUnits | boolean | true | 瞄准单位 |
maxTargets | int | 25 | 瞄准实体上限 |
healPercent | float | 2.50 | 建筑恢复百分比 |
layer | float | Layer.bullet - 0.001f | 子弹实体图层 |
effectRadius | float | 5.0 | 场特效半径(最外围的圈) |
sectorRad | float | 0.140 | |
rotateSpeed | float | 0.50 | 旋转速度 |
sectors | int | 5 | |
color | Color | Pal.heal | 场的主色调 |
useAmmo | boolean | true | 场使用子弹 |
public EnergyFieldAbility(float damage, float reload, float range){ this.damage = damage; this.reload = reload; this.range = range; }