extends 单位技能
非常奇怪的能力, 先要改minSpeed
和maxSpeed
, 再改一下几率chance
(建议比较小)
field | type | default | note |
---|---|---|---|
damage | float | 35.0 | 闪电伤害 |
chance | float | 0.150 | 创造几率 |
length | int | 12 | 闪电长度 |
minSpeed | float | 0.80 | |
maxSpeed | float | 1.20 | |
color | Color | A9D8FF | 闪电颜色 |
offset | float | 0.0 | 闪电y轴偏移量 |
width | float | 0.0 | 闪电x轴偏移量 |
alternate | boolean | true | |
bullet | BulletType | null | 消耗子弹 |
bulletAngle | float | 0.0 | |
bulletSpread | float | 0.0 | |
parentizeEffect | boolean |
public MoveLightningAbility(float damage, int length, float chance, float offset, float minSpeed, float maxSpeed, Color color, String heatRegion){ this.damage = damage; this.length = length; this.chance = chance; this.offset = offset; this.minSpeed = minSpeed; this.maxSpeed = maxSpeed; this.color = color; this.heatRegion = heatRegion; } public MoveLightningAbility(float damage, int length, float chance, float offset, float minSpeed, float maxSpeed, Color color){ this.damage = damage; this.length = length; this.chance = chance; this.offset = offset; this.minSpeed = minSpeed; this.maxSpeed = maxSpeed; this.color = color; }