Initial commit
This commit is contained in:
commit
8cb41eb12c
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
target/
|
||||
config.toml
|
3417
Cargo.lock
generated
Normal file
3417
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
16
Cargo.toml
Normal file
16
Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "trade-bot"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
tokio = "1.38.0"
|
||||
veloren-common = { git = "https://gitlab.com/veloren/veloren", branch = "master", features = ["no-assets"] }
|
||||
veloren-common-net = { git = "https://gitlab.com/veloren/veloren", branch = "master" }
|
||||
veloren-client = { git = "https://gitlab.com/veloren/veloren", branch = "master" }
|
||||
veloren-world = { git = "https://gitlab.com/veloren/veloren", branch = "master" }
|
||||
toml = "0.8.14"
|
||||
serde = { version = "1.0.203", features = ["derive"] }
|
||||
|
||||
[patch.crates-io]
|
||||
specs = { git = "https://github.com/amethyst/specs.git", rev = "4e2da1df29ee840baa9b936593c45592b7c9ae27" }
|
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
FROM rust:1-slim AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY Cargo.toml .
|
||||
COPY Cargo.lock .
|
||||
COPY rust-toolchain .
|
||||
COPY src/ src/
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y git
|
||||
RUN cargo build --release
|
||||
|
||||
FROM fedora:40
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app/target/release/group-bot group-bot
|
||||
COPY assets/ assets/
|
||||
|
||||
RUN chmod +x group-bot
|
||||
|
||||
CMD ["./group-bot"]
|
45
README.md
Normal file
45
README.md
Normal file
@ -0,0 +1,45 @@
|
||||
# Veloren Group Bot
|
||||
|
||||
Group management bot for [Veloren](https://veloren.net)
|
||||
|
||||
## Usage
|
||||
|
||||
If you choose to run this but with Docker or Podman, you only need to create a local config.toml.
|
||||
But if you choose to compile you must clone this repository.
|
||||
|
||||
### Step 1: Create config.toml
|
||||
|
||||
Create a config.toml file in the project root.
|
||||
|
||||
```toml
|
||||
# config.toml
|
||||
username = "YOUR_USERNAME"
|
||||
password = "YOUR_PASSWORD"
|
||||
admin_list = []
|
||||
ban_list = []
|
||||
```
|
||||
|
||||
### Step 2: Run via Docker/Podman
|
||||
|
||||
Use Podman (or Docker) to run the release build without exposing secrets. First, create the secret.
|
||||
|
||||
```sh
|
||||
podman secret create config.toml config.toml
|
||||
```
|
||||
|
||||
Then run the container.
|
||||
|
||||
```sh
|
||||
podman run \
|
||||
--secret config.toml \
|
||||
--env CONFIG_PATH=/run/secrets/config.toml \
|
||||
git.jeffa.io/jeff/group_bot
|
||||
```
|
||||
|
||||
### Step 2 (Alternate): Run via cargo
|
||||
|
||||
Install [rustup](https://rustup.sh) and use cargo to compile and run the bot.
|
||||
|
||||
```sh
|
||||
CONFIG_PATH=config.toml cargo run
|
||||
```
|
1162
assets/common/abilities/ability_set_manifest.ron
Normal file
1162
assets/common/abilities/ability_set_manifest.ron
Normal file
File diff suppressed because it is too large
Load Diff
28
assets/common/abilities/adlet/elder/dash.ron
Normal file
28
assets/common/abilities/adlet/elder/dash.ron
Normal file
@ -0,0 +1,28 @@
|
||||
DashMelee(
|
||||
energy_cost: 10.0,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 9.0,
|
||||
poise: 40.0,
|
||||
knockback: 8.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Stab(
|
||||
damage: 16.0,
|
||||
poise: 0.0,
|
||||
knockback: 7.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 5.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 4.0,
|
||||
buildup_duration: 0.6,
|
||||
charge_duration: 1.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.9,
|
||||
ori_modifier: 0.3,
|
||||
auto_charge: false,
|
||||
)
|
27
assets/common/abilities/adlet/elder/leap.ron
Normal file
27
assets/common/abilities/adlet/elder/leap.ron
Normal file
@ -0,0 +1,27 @@
|
||||
LeapMelee(
|
||||
energy_cost: 0.0,
|
||||
buildup_duration: 0.5,
|
||||
movement_duration: 0.8,
|
||||
swing_duration: 0.15,
|
||||
recover_duration: 0.2,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 25.0,
|
||||
poise: 40.0,
|
||||
knockback: 25.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
forward_leap_strength: 30.0,
|
||||
vertical_leap_strength: 15.0,
|
||||
specifier: Some(ElderLeap),
|
||||
)
|
21
assets/common/abilities/adlet/elder/trap.ron
Normal file
21
assets/common/abilities/adlet/elder/trap.ron
Normal file
@ -0,0 +1,21 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.75,
|
||||
recover_duration: 0.75,
|
||||
projectile: (
|
||||
kind: Hazard(
|
||||
is_sticky: true,
|
||||
duration: 10,
|
||||
),
|
||||
attack: Some((
|
||||
damage: 25,
|
||||
energy: 0,
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(AdletTrap),
|
||||
projectile_light: None,
|
||||
projectile_speed: 20.0,
|
||||
num_projectiles: 6,
|
||||
projectile_spread: 0.3,
|
||||
move_efficiency: 0.8,
|
||||
)
|
63
assets/common/abilities/adlet/elder/triplestrike.ron
Normal file
63
assets/common/abilities/adlet/elder/triplestrike.ron
Normal file
@ -0,0 +1,63 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 10,
|
||||
poise: 15,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.65,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.4,
|
||||
movement: (
|
||||
swing: Some(Forward(1.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 18,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.75,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.4,
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 10,
|
||||
poise: 20,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.65,
|
||||
swing_duration: 0.15,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.4,
|
||||
movement: (
|
||||
swing: Some(Forward(1.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
18
assets/common/abilities/adlet/hunter/stab.ron
Normal file
18
assets/common/abilities/adlet/hunter/stab.ron
Normal file
@ -0,0 +1,18 @@
|
||||
BasicMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.4,
|
||||
swing_duration: 0.2,
|
||||
hit_timing: 0.8,
|
||||
recover_duration: 0.4,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 10,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3,
|
||||
angle: 5,
|
||||
),
|
||||
ori_modifier: 1.0,
|
||||
)
|
25
assets/common/abilities/adlet/hunter/throw.ron
Normal file
25
assets/common/abilities/adlet/hunter/throw.ron
Normal file
@ -0,0 +1,25 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.8,
|
||||
recover_duration: 0.8,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 16,
|
||||
knockback: Some(1),
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(AdletSpear),
|
||||
projectile_light: None,
|
||||
projectile_speed: 40.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 1.0,
|
||||
)
|
20
assets/common/abilities/adlet/icepicker/leap.ron
Normal file
20
assets/common/abilities/adlet/icepicker/leap.ron
Normal file
@ -0,0 +1,20 @@
|
||||
LeapMelee(
|
||||
energy_cost: 0.0,
|
||||
buildup_duration: 0.6,
|
||||
movement_duration: 0.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.3,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 20,
|
||||
poise: 20,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4,
|
||||
angle: 360,
|
||||
),
|
||||
forward_leap_strength: 24,
|
||||
vertical_leap_strength: 16,
|
||||
specifier: None,
|
||||
)
|
18
assets/common/abilities/adlet/icepicker/spike.ron
Normal file
18
assets/common/abilities/adlet/icepicker/spike.ron
Normal file
@ -0,0 +1,18 @@
|
||||
BasicMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.4,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.6,
|
||||
recover_duration: 0.45,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 12,
|
||||
poise: 10,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3,
|
||||
angle: 15,
|
||||
),
|
||||
ori_modifier: 1.0,
|
||||
)
|
24
assets/common/abilities/adlet/tracker/arrow.ron
Normal file
24
assets/common/abilities/adlet/tracker/arrow.ron
Normal file
@ -0,0 +1,24 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.6,
|
||||
recover_duration: 0.4,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 12,
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 100.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
21
assets/common/abilities/adlet/tracker/trap.ron
Normal file
21
assets/common/abilities/adlet/tracker/trap.ron
Normal file
@ -0,0 +1,21 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.75,
|
||||
recover_duration: 0.75,
|
||||
projectile: (
|
||||
kind: Hazard(
|
||||
is_sticky: true,
|
||||
duration: 10,
|
||||
),
|
||||
attack: Some((
|
||||
damage: 12,
|
||||
energy: 0,
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(AdletTrap),
|
||||
projectile_light: None,
|
||||
projectile_speed: 10.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.2,
|
||||
move_efficiency: 0.3,
|
||||
)
|
12
assets/common/abilities/axe/adrenaline_rush.ron
Normal file
12
assets/common/abilities/axe/adrenaline_rush.ron
Normal file
@ -0,0 +1,12 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.2,
|
||||
cast_duration: 0.2,
|
||||
recover_duration: 0.2,
|
||||
buff_kind: EnergyRegen,
|
||||
buff_strength: 0.1,
|
||||
buff_duration: Some(10.0),
|
||||
combo_cost: 1,
|
||||
combo_scaling: Some(Linear),
|
||||
energy_cost: 0,
|
||||
enforced_limit: false,
|
||||
)
|
21
assets/common/abilities/axe/basic_guard.ron
Normal file
21
assets/common/abilities/axe/basic_guard.ron
Normal file
@ -0,0 +1,21 @@
|
||||
BasicBlock(
|
||||
buildup_duration: 0.25,
|
||||
recover_duration: 0.2,
|
||||
max_angle: 60.0,
|
||||
block_strength: 5.0,
|
||||
parry_window: (
|
||||
buildup: true,
|
||||
recover: false,
|
||||
),
|
||||
energy_cost: 5,
|
||||
energy_regen: 2.5,
|
||||
can_hold: true,
|
||||
blocked_attacks: (
|
||||
melee: true,
|
||||
projectiles: false,
|
||||
beams: false,
|
||||
ground_shockwaves: false,
|
||||
air_shockwaves: false,
|
||||
explosions: false,
|
||||
),
|
||||
)
|
10
assets/common/abilities/axe/berserk.ron
Normal file
10
assets/common/abilities/axe/berserk.ron
Normal file
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.3,
|
||||
cast_duration: 0.2,
|
||||
recover_duration: 0.1,
|
||||
buff_kind: Berserk,
|
||||
buff_strength: 0.5,
|
||||
buff_duration: Some(15.0),
|
||||
combo_cost: 10,
|
||||
energy_cost: 0,
|
||||
)
|
10
assets/common/abilities/axe/bloodfeast.ron
Normal file
10
assets/common/abilities/axe/bloodfeast.ron
Normal file
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.2,
|
||||
cast_duration: 0.2,
|
||||
recover_duration: 0.1,
|
||||
buff_kind: Bloodfeast,
|
||||
buff_strength: 0.1,
|
||||
buff_duration: Some(15.0),
|
||||
energy_cost: 0,
|
||||
combo_cost: 10,
|
||||
)
|
23
assets/common/abilities/axe/brutal_swing.ron
Normal file
23
assets/common/abilities/axe/brutal_swing.ron
Normal file
@ -0,0 +1,23 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 18,
|
||||
poise: 10,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
),
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.2,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.3,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 10,
|
||||
)
|
17
assets/common/abilities/axe/bulkhead.ron
Normal file
17
assets/common/abilities/axe/bulkhead.ron
Normal file
@ -0,0 +1,17 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.2,
|
||||
recover_duration: 0.4,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 40,
|
||||
poise: 100,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 15.0,
|
||||
),
|
||||
minimum_combo: 30,
|
||||
)
|
18
assets/common/abilities/axe/capsize.ron
Normal file
18
assets/common/abilities/axe/capsize.ron
Normal file
@ -0,0 +1,18 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.3,
|
||||
recover_duration: 0.4,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 40,
|
||||
poise: 100,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
),
|
||||
minimum_combo: 50,
|
||||
)
|
26
assets/common/abilities/axe/cleave.ron
Normal file
26
assets/common/abilities/axe/cleave.ron
Normal file
@ -0,0 +1,26 @@
|
||||
ChargedMelee(
|
||||
energy_cost: 0,
|
||||
energy_drain: 0,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 0,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Slash(
|
||||
damage: 20,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 20,
|
||||
))),
|
||||
range: 4.5,
|
||||
angle: 10.0,
|
||||
),
|
||||
charge_duration: 0.7,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.2,
|
||||
recover_duration: 0.2,
|
||||
custom_combo: Some((additional: 4)),
|
||||
)
|
10
assets/common/abilities/axe/defiance.ron
Normal file
10
assets/common/abilities/axe/defiance.ron
Normal file
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.1,
|
||||
cast_duration: 1.0,
|
||||
recover_duration: 0.1,
|
||||
buff_kind: Defiance,
|
||||
buff_strength: 1.0,
|
||||
buff_duration: Some(8.0),
|
||||
energy_cost: 20,
|
||||
enforced_limit: false,
|
||||
)
|
20
assets/common/abilities/axe/dual_fierce_raze.ron
Normal file
20
assets/common/abilities/axe/dual_fierce_raze.ron
Normal file
@ -0,0 +1,20 @@
|
||||
RapidMelee(
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.1,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 7,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 10.0,
|
||||
simultaneous_hits: 2,
|
||||
),
|
||||
energy_cost: 8,
|
||||
max_strikes: Some(5),
|
||||
move_modifier: 0.35,
|
||||
ori_modifier: 0.25,
|
||||
)
|
17
assets/common/abilities/axe/execute.ron
Normal file
17
assets/common/abilities/axe/execute.ron
Normal file
@ -0,0 +1,17 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.2,
|
||||
recover_duration: 0.4,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 60,
|
||||
poise: 20,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 15.0,
|
||||
),
|
||||
minimum_combo: 30,
|
||||
)
|
19
assets/common/abilities/axe/fierce_raze.ron
Normal file
19
assets/common/abilities/axe/fierce_raze.ron
Normal file
@ -0,0 +1,19 @@
|
||||
RapidMelee(
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.1,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 7,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 10.0,
|
||||
),
|
||||
energy_cost: 4,
|
||||
max_strikes: Some(5),
|
||||
move_modifier: 0.35,
|
||||
ori_modifier: 0.25,
|
||||
)
|
29
assets/common/abilities/axe/fracture.ron
Normal file
29
assets/common/abilities/axe/fracture.ron
Normal file
@ -0,0 +1,29 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.3,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 10,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Crippled,
|
||||
dur_secs: 10.0,
|
||||
strength: Value(0.1),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
minimum_combo: 1,
|
||||
scaling: Some((
|
||||
target: Buff,
|
||||
kind: Linear,
|
||||
max_factor: 10,
|
||||
)),
|
||||
combo_consumption: Half,
|
||||
)
|
10
assets/common/abilities/axe/furor.ron
Normal file
10
assets/common/abilities/axe/furor.ron
Normal file
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.3,
|
||||
cast_duration: 0.3,
|
||||
recover_duration: 0.2,
|
||||
buff_kind: Fury,
|
||||
buff_strength: 1.0,
|
||||
buff_duration: Some(15.0),
|
||||
energy_cost: 20,
|
||||
enforced_limit: false,
|
||||
)
|
28
assets/common/abilities/axe/keelhaul.ron
Normal file
28
assets/common/abilities/axe/keelhaul.ron
Normal file
@ -0,0 +1,28 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.3,
|
||||
melee_constructor: (
|
||||
kind: Hook(
|
||||
damage: 0,
|
||||
poise: 0,
|
||||
pull: 0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Hook(
|
||||
damage: 2,
|
||||
poise: 3,
|
||||
pull: 1,
|
||||
))),
|
||||
range: 6.0,
|
||||
angle: 30.0,
|
||||
),
|
||||
minimum_combo: 1,
|
||||
scaling: Some((
|
||||
target: Attack,
|
||||
kind: Linear,
|
||||
max_factor: 20,
|
||||
)),
|
||||
combo_consumption: Half,
|
||||
)
|
23
assets/common/abilities/axe/lacerate.ron
Normal file
23
assets/common/abilities/axe/lacerate.ron
Normal file
@ -0,0 +1,23 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.4,
|
||||
swing_duration: 0.2,
|
||||
recover_duration: 0.5,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 5.0,
|
||||
strength: DamageFraction(1.0),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
minimum_combo: 30,
|
||||
)
|
18
assets/common/abilities/axe/maelstrom.ron
Normal file
18
assets/common/abilities/axe/maelstrom.ron
Normal file
@ -0,0 +1,18 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.4,
|
||||
recover_duration: 0.2,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 60,
|
||||
poise: 20,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
),
|
||||
minimum_combo: 50,
|
||||
)
|
27
assets/common/abilities/axe/plunder.ron
Normal file
27
assets/common/abilities/axe/plunder.ron
Normal file
@ -0,0 +1,27 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 16,
|
||||
poise: 40,
|
||||
knockback: 10,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 60.0,
|
||||
),
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.2,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.3,
|
||||
movement: (
|
||||
buildup: Some(Forward(0.5)),
|
||||
swing: Some(Forward(0.7)),
|
||||
),
|
||||
ori_modifier: 0.6,
|
||||
custom_combo: Some((additional: 4)),
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 10,
|
||||
)
|
28
assets/common/abilities/axe/rake.ron
Normal file
28
assets/common/abilities/axe/rake.ron
Normal file
@ -0,0 +1,28 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 10,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 8.0,
|
||||
strength: DamageFraction(0.25),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.3,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.3,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 12,
|
||||
)
|
24
assets/common/abilities/axe/riptide.ron
Normal file
24
assets/common/abilities/axe/riptide.ron
Normal file
@ -0,0 +1,24 @@
|
||||
FinisherMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.4,
|
||||
recover_duration: 0.5,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 5.0,
|
||||
strength: DamageFraction(1.0),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
minimum_combo: 50,
|
||||
)
|
23
assets/common/abilities/axe/rising_tide.ron
Normal file
23
assets/common/abilities/axe/rising_tide.ron
Normal file
@ -0,0 +1,23 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.25,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.3,
|
||||
ori_modifier: 0.6,
|
||||
custom_combo: Some((additional: 4)),
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 10,
|
||||
)
|
9
assets/common/abilities/axe/savage_sense.ron
Normal file
9
assets/common/abilities/axe/savage_sense.ron
Normal file
@ -0,0 +1,9 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.1,
|
||||
cast_duration: 0.1,
|
||||
recover_duration: 0.1,
|
||||
buff_kind: ImminentCritical,
|
||||
buff_strength: 1.0,
|
||||
buff_duration: Some(30.0),
|
||||
energy_cost: 15,
|
||||
)
|
22
assets/common/abilities/axe/skull_bash.ron
Normal file
22
assets/common/abilities/axe/skull_bash.ron
Normal file
@ -0,0 +1,22 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 15,
|
||||
poise: 50,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.3,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.3,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 10,
|
||||
)
|
10
assets/common/abilities/axe/sunder.ron
Normal file
10
assets/common/abilities/axe/sunder.ron
Normal file
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.2,
|
||||
cast_duration: 0.2,
|
||||
recover_duration: 0.1,
|
||||
buff_kind: Sunderer,
|
||||
buff_strength: 0.25,
|
||||
buff_duration: Some(15.0),
|
||||
combo_cost: 10,
|
||||
energy_cost: 0,
|
||||
)
|
56
assets/common/abilities/axe/triple_chop.ron
Normal file
56
assets/common/abilities/axe/triple_chop.ron
Normal file
@ -0,0 +1,56 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 4,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 7,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.15,
|
||||
swing_duration: 0.05,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 4,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 7,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.15,
|
||||
swing_duration: 0.05,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 8,
|
||||
poise: 5,
|
||||
knockback: 0,
|
||||
energy_regen: 7,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 10.0,
|
||||
),
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.05,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.15,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
57
assets/common/abilities/axesimple/doublestrike.ron
Normal file
57
assets/common/abilities/axesimple/doublestrike.ron
Normal file
@ -0,0 +1,57 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 8,
|
||||
poise: 15,
|
||||
knockback: 8,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 50.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.4,
|
||||
swing_duration: 0.08,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.5,
|
||||
movement: (
|
||||
swing: Some(Forward(2.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 20,
|
||||
knockback: 12,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.7,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.7,
|
||||
movement: (
|
||||
swing: Some(Forward(2.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
30
assets/common/abilities/bow/charged.ron
Normal file
30
assets/common/abilities/bow/charged.ron
Normal file
@ -0,0 +1,30 @@
|
||||
ChargedRanged(
|
||||
energy_cost: 0,
|
||||
energy_drain: 0,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 2,
|
||||
energy: 2,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
scaled: Some((
|
||||
damage: 12,
|
||||
knockback: Some(12),
|
||||
energy: 14,
|
||||
)),
|
||||
),
|
||||
buildup_duration: 0.25,
|
||||
charge_duration: 1.0,
|
||||
recover_duration: 0.4,
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
initial_projectile_speed: 50.0,
|
||||
scaled_projectile_speed: 200.0,
|
||||
move_speed: 0.6,
|
||||
)
|
24
assets/common/abilities/bow/repeater.ron
Normal file
24
assets/common/abilities/bow/repeater.ron
Normal file
@ -0,0 +1,24 @@
|
||||
RepeaterRanged(
|
||||
energy_cost: 6.0,
|
||||
buildup_duration: 0.2,
|
||||
shoot_duration: 0.3,
|
||||
recover_duration: 0.5,
|
||||
max_speed: 4.0,
|
||||
half_speed_at: 3,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 5,
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 100.0,
|
||||
)
|
25
assets/common/abilities/bow/shotgun.ron
Normal file
25
assets/common/abilities/bow/shotgun.ron
Normal file
@ -0,0 +1,25 @@
|
||||
BasicRanged(
|
||||
energy_cost: 25.0,
|
||||
buildup_duration: 0.3,
|
||||
recover_duration: 0.3,
|
||||
projectile_spread: 0.05,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 6,
|
||||
knockback: Some(5),
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 80.0,
|
||||
num_projectiles: 5,
|
||||
move_efficiency: 0.3,
|
||||
)
|
25
assets/common/abilities/bowsimple/basic.ron
Normal file
25
assets/common/abilities/bowsimple/basic.ron
Normal file
@ -0,0 +1,25 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
recover_duration: 0.3,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 3.5,
|
||||
knockback: Some(5),
|
||||
energy: 4,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 100.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
23
assets/common/abilities/custom/ancienteffigy/blast.ron
Normal file
23
assets/common/abilities/custom/ancienteffigy/blast.ron
Normal file
@ -0,0 +1,23 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 2.5,
|
||||
recover_duration: 1.0,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 10,
|
||||
min_falloff: 0.75,
|
||||
reagent: Some(Red),
|
||||
terrain: Some((5, Black)),
|
||||
),
|
||||
attack: Some((
|
||||
damage: 75,
|
||||
knockback: Some(35),
|
||||
energy: 0,
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(FireRainDrop),
|
||||
projectile_speed: 0.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
19
assets/common/abilities/custom/ancienteffigy/laser.ron
Normal file
19
assets/common/abilities/custom/ancienteffigy/laser.ron
Normal file
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 0.9,
|
||||
recover_duration: 2.8,
|
||||
beam_duration: 0.25,
|
||||
damage: 5.5,
|
||||
tick_rate: 2.0,
|
||||
range: 40.0,
|
||||
max_angle: 1.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Burning,
|
||||
dur_secs: 5.0,
|
||||
strength: DamageFraction(0.50),
|
||||
chance: 0.75,
|
||||
))),
|
||||
energy_regen: 0,
|
||||
energy_drain: 0,
|
||||
ori_rate: 0.5,
|
||||
specifier: Gravewarden,
|
||||
)
|
28
assets/common/abilities/custom/arthropods/antlion/charge.ron
Normal file
28
assets/common/abilities/custom/arthropods/antlion/charge.ron
Normal file
@ -0,0 +1,28 @@
|
||||
DashMelee(
|
||||
energy_cost: 0,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 15.0,
|
||||
poise: 20.0,
|
||||
knockback: 10.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Stab(
|
||||
damage: 60.0,
|
||||
poise: 45.0,
|
||||
knockback: 25.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 5.0,
|
||||
angle: 90.0,
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 5.0,
|
||||
buildup_duration: 0.45,
|
||||
charge_duration: 2.5,
|
||||
swing_duration: 0.25,
|
||||
recover_duration: 0.8,
|
||||
ori_modifier: 0.1,
|
||||
auto_charge: false,
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 39,
|
||||
poise: 27.5,
|
||||
knockback: 9,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 60.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Ensnared,
|
||||
dur_secs: 6.0,
|
||||
strength: Value(0.5),
|
||||
chance: 0.6,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.65,
|
||||
swing_duration: 0.15,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.5,
|
||||
movement: (
|
||||
swing: Some(Forward(1.0)),
|
||||
),
|
||||
ori_modifier: 0.8,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
SpriteSummon(
|
||||
buildup_duration: 0.5,
|
||||
cast_duration: 0.4,
|
||||
recover_duration: 0.3,
|
||||
sprite: EnsnaringWeb,
|
||||
del_timeout: None,
|
||||
summon_distance: (0, 10),
|
||||
sparseness: 0.76,
|
||||
angle: 360,
|
||||
)
|
@ -0,0 +1,29 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 1.2,
|
||||
recover_duration: 0.7,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 3.5,
|
||||
min_falloff: 0.2,
|
||||
reagent: Some(Purple),
|
||||
terrain: Some((5, Black)),
|
||||
),
|
||||
attack: Some((
|
||||
damage: 58,
|
||||
knockback: Some(1),
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Poisoned,
|
||||
dur_secs: 5,
|
||||
strength: DamageFraction(0.8),
|
||||
chance: 1.0,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(SpitPoison),
|
||||
projectile_speed: 25.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.3,
|
||||
move_efficiency: 0.3,
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 50,
|
||||
poise: 16,
|
||||
knockback: 2,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 60.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Poisoned,
|
||||
dur_secs: 7.0,
|
||||
strength: DamageFraction(0.6),
|
||||
chance: 0.4,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.55,
|
||||
swing_duration: 0.35,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.8,
|
||||
movement: (
|
||||
swing: Some(Forward(0.1)),
|
||||
),
|
||||
ori_modifier: 0.8,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.35,
|
||||
cast_duration: 0.75,
|
||||
recover_duration: 0.3,
|
||||
buff_kind: ProtectingWard,
|
||||
buff_strength: 0.4,
|
||||
buff_duration: Some(10.0),
|
||||
energy_cost: 0,
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 30,
|
||||
poise: 19,
|
||||
knockback: 4.2,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 60.0,
|
||||
),
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 1.0,
|
||||
movement: (
|
||||
swing: Some(Forward(0.1)),
|
||||
),
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 0.55,
|
||||
recover_duration: 0.8,
|
||||
beam_duration: 1.0,
|
||||
damage: 1.32,
|
||||
tick_rate: 15.0,
|
||||
range: 30.0,
|
||||
max_angle: 1.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 4.0,
|
||||
strength: Value(1.0),
|
||||
chance: 1.0,
|
||||
))),
|
||||
energy_regen: 0.0,
|
||||
energy_drain: 0,
|
||||
ori_rate: 0.95,
|
||||
specifier: WebStrand,
|
||||
)
|
@ -0,0 +1,26 @@
|
||||
LeapShockwave(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 1.4,
|
||||
movement_duration: 0.8,
|
||||
swing_duration: 0.15,
|
||||
recover_duration: 0.9,
|
||||
damage: 15.0,
|
||||
poise_damage: 10,
|
||||
knockback: (strength: 3.0, direction: Up),
|
||||
shockwave_angle: 360.0,
|
||||
shockwave_vertical_angle: 15.0,
|
||||
shockwave_speed: 20.0,
|
||||
shockwave_duration: 0.8,
|
||||
dodgeable: Jump,
|
||||
move_efficiency: 0.2,
|
||||
damage_kind: Crushing,
|
||||
specifier: Steam,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Cursed,
|
||||
dur_secs: 1.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 1.0,
|
||||
))),
|
||||
forward_leap_strength: 40.0,
|
||||
vertical_leap_strength: 7.5,
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 1.1,
|
||||
cast_duration: 0.4,
|
||||
recover_duration: 0.7,
|
||||
buff_kind: ProtectingWard,
|
||||
buff_strength: 0.32,
|
||||
buff_duration: Some(6.0),
|
||||
energy_cost: 0,
|
||||
)
|
@ -0,0 +1,21 @@
|
||||
LeapMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.65,
|
||||
movement_duration: 0.8,
|
||||
swing_duration: 0.35,
|
||||
recover_duration: 0.6,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 52.0,
|
||||
poise: 20.0,
|
||||
knockback: 8.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 135.0,
|
||||
multi_target: Some(Normal),
|
||||
),
|
||||
forward_leap_strength: 40.0,
|
||||
vertical_leap_strength: 7.5,
|
||||
specifier: None,
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 43,
|
||||
poise: 20,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 60.0,
|
||||
),
|
||||
buildup_duration: 0.7,
|
||||
swing_duration: 0.2,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(0.1)),
|
||||
),
|
||||
ori_modifier: 0.8,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
SpriteSummon(
|
||||
buildup_duration: 0.5,
|
||||
cast_duration: 0.4,
|
||||
recover_duration: 0.3,
|
||||
sprite: EnsnaringWeb,
|
||||
del_timeout: None,
|
||||
summon_distance: (0, 9),
|
||||
sparseness: 0.8,
|
||||
angle: 360,
|
||||
)
|
20
assets/common/abilities/custom/arthropods/tarantula/leap.ron
Normal file
20
assets/common/abilities/custom/arthropods/tarantula/leap.ron
Normal file
@ -0,0 +1,20 @@
|
||||
LeapMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.65,
|
||||
movement_duration: 0.8,
|
||||
swing_duration: 0.35,
|
||||
recover_duration: 0.4,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 49.0,
|
||||
poise: 30.0,
|
||||
knockback: 1.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 180.0,
|
||||
),
|
||||
forward_leap_strength: 25.0,
|
||||
vertical_leap_strength: 10.0,
|
||||
specifier: None,
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 36,
|
||||
poise: 21,
|
||||
knockback: 3,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 60.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Poisoned,
|
||||
dur_secs: 9.0,
|
||||
strength: DamageFraction(0.7),
|
||||
chance: 0.8,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.6,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.8,
|
||||
movement: (
|
||||
swing: Some(Forward(0.1)),
|
||||
),
|
||||
ori_modifier: 0.8,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 0.4,
|
||||
cast_duration: 0.8,
|
||||
recover_duration: 0.3,
|
||||
buff_kind: ProtectingWard,
|
||||
buff_strength: 0.3,
|
||||
buff_duration: Some(10.0),
|
||||
energy_cost: 0,
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 3.0,
|
||||
poise: 12,
|
||||
knockback: 3,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 60.0,
|
||||
),
|
||||
buildup_duration: 0.55,
|
||||
swing_duration: 0.35,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 1.1,
|
||||
movement: (
|
||||
swing: Some(Forward(0.1)),
|
||||
),
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.6,
|
||||
recover_duration: 0.9,
|
||||
projectile: (
|
||||
kind: Blunt,
|
||||
attack: Some((
|
||||
damage: 6,
|
||||
knockback: Some(2),
|
||||
energy: 0,
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Pebble),
|
||||
projectile_light: None,
|
||||
projectile_speed: 70.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
28
assets/common/abilities/custom/asp/firebomb.ron
Normal file
28
assets/common/abilities/custom/asp/firebomb.ron
Normal file
@ -0,0 +1,28 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 1.6,
|
||||
recover_duration: 0.7,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 5,
|
||||
min_falloff: 0.5,
|
||||
reagent: Some(Red),
|
||||
terrain: Some((2, Black))
|
||||
),
|
||||
attack: Some((
|
||||
damage: 30,
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Burning,
|
||||
dur_secs: 5,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(BoltFire),
|
||||
projectile_speed: 70.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
25
assets/common/abilities/custom/asp/singlestrike.ron
Normal file
25
assets/common/abilities/custom/asp/singlestrike.ron
Normal file
@ -0,0 +1,25 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 31,
|
||||
poise: 10,
|
||||
knockback: 3,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4.0,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.9,
|
||||
swing_duration: 0.5,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.4,
|
||||
movement: (
|
||||
swing: Some(Forward(0.05)),
|
||||
),
|
||||
ori_modifier: 0.55,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
28
assets/common/abilities/custom/basilisk/dash.ron
Normal file
28
assets/common/abilities/custom/basilisk/dash.ron
Normal file
@ -0,0 +1,28 @@
|
||||
DashMelee(
|
||||
energy_cost: 0,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 24.0,
|
||||
poise: 25.0,
|
||||
knockback: 4.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Bash(
|
||||
damage: 36.0,
|
||||
poise: 0.0,
|
||||
knockback: 17.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 2.5,
|
||||
angle: 45.0,
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 2.0,
|
||||
buildup_duration: 1.3,
|
||||
charge_duration: 2.0,
|
||||
swing_duration: 0.3,
|
||||
recover_duration: 2.0,
|
||||
ori_modifier: 0.1,
|
||||
auto_charge: false,
|
||||
)
|
19
assets/common/abilities/custom/basilisk/petrify.ron
Normal file
19
assets/common/abilities/custom/basilisk/petrify.ron
Normal file
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 1.8,
|
||||
recover_duration: 1.0,
|
||||
beam_duration: 1.15,
|
||||
damage: 64.0,
|
||||
tick_rate: 0.35,
|
||||
range: 22.0,
|
||||
max_angle: 5.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 0.8,
|
||||
strength: Value(5.0),
|
||||
chance: 1.0,
|
||||
))),
|
||||
energy_regen: 0,
|
||||
energy_drain: 0,
|
||||
ori_rate: 0.3,
|
||||
specifier: Cultist,
|
||||
)
|
45
assets/common/abilities/custom/basilisk/triplestrike.ron
Normal file
45
assets/common/abilities/custom/basilisk/triplestrike.ron
Normal file
@ -0,0 +1,45 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 72,
|
||||
poise: 15,
|
||||
knockback: 3,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.8,
|
||||
angle: 90.0,
|
||||
),
|
||||
buildup_duration: 1.15,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.4,
|
||||
movement: (
|
||||
swing: Some(Forward(0.25)),
|
||||
),
|
||||
ori_modifier: 0.65,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 39,
|
||||
poise: 18,
|
||||
knockback: 24,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.2,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.55,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.8,
|
||||
movement: (
|
||||
swing: Some(Forward(0.45)),
|
||||
),
|
||||
ori_modifier: 0.85,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
18
assets/common/abilities/custom/beastclaws/basic.ron
Normal file
18
assets/common/abilities/custom/beastclaws/basic.ron
Normal file
@ -0,0 +1,18 @@
|
||||
BasicMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.5,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 40.0,
|
||||
poise: 40.0,
|
||||
knockback: 25.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
range: 5.0,
|
||||
angle: 120.0,
|
||||
),
|
||||
ori_modifier: 1.0,
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.9,
|
||||
recover_duration: 0.3,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 12,
|
||||
energy: 4,
|
||||
knockback: Some(5),
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 100.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
@ -0,0 +1,45 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 16,
|
||||
poise: 40,
|
||||
knockback: 4,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 50.0,
|
||||
),
|
||||
buildup_duration: 1.0,
|
||||
swing_duration: 0.28,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 1.0,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.65,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 32,
|
||||
poise: 40,
|
||||
knockback: 16,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.6,
|
||||
swing_duration: 0.25,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 1.2,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.65,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
@ -0,0 +1,28 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 1.0,
|
||||
recover_duration: 1.35,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 5,
|
||||
min_falloff: 0.5,
|
||||
reagent: Some(Red),
|
||||
terrain: Some((2, Black))
|
||||
),
|
||||
attack: Some((
|
||||
damage: 15,
|
||||
energy: 5,
|
||||
buff: Some((
|
||||
kind: Burning,
|
||||
dur_secs: 5,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(BoltFire),
|
||||
projectile_speed: 60.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 0.5,
|
||||
recover_duration: 0.5,
|
||||
beam_duration: 1.0,
|
||||
damage: 3.5,
|
||||
tick_rate: 3.0,
|
||||
range: 20.0,
|
||||
max_angle: 15.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Burning,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.5),
|
||||
chance: 0.25,
|
||||
))),
|
||||
energy_regen: 0,
|
||||
energy_drain: 35.0,
|
||||
ori_rate: 0.3,
|
||||
specifier: Flamethrower,
|
||||
)
|
@ -0,0 +1,28 @@
|
||||
DashMelee(
|
||||
energy_cost: 10.0,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 9.0,
|
||||
poise: 40.0,
|
||||
knockback: 8.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Stab(
|
||||
damage: 16.0,
|
||||
poise: 0.0,
|
||||
knockback: 7.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 5.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 4.0,
|
||||
buildup_duration: 0.6,
|
||||
charge_duration: 1.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.9,
|
||||
ori_modifier: 0.3,
|
||||
auto_charge: false,
|
||||
)
|
@ -0,0 +1,57 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 15,
|
||||
knockback: 8,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 50.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.18,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.9,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 32,
|
||||
poise: 20,
|
||||
knockback: 12,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.7,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.7,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
28
assets/common/abilities/custom/birdlargebasic/dash.ron
Normal file
28
assets/common/abilities/custom/birdlargebasic/dash.ron
Normal file
@ -0,0 +1,28 @@
|
||||
DashMelee(
|
||||
energy_cost: 0,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 16.0,
|
||||
poise: 50.0,
|
||||
knockback: 6.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Bash(
|
||||
damage: 30.0,
|
||||
poise: 100.0,
|
||||
knockback: 12.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 2.0,
|
||||
angle: 20.0,
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 1.9,
|
||||
buildup_duration: 1.0,
|
||||
charge_duration: 6.0,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 1.4,
|
||||
ori_modifier: 0.3,
|
||||
auto_charge: false,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
BasicSummon(
|
||||
buildup_duration: 0.75,
|
||||
cast_duration: 0.2,
|
||||
recover_duration: 0.3,
|
||||
summon_amount: 12,
|
||||
summon_distance: (4, 9),
|
||||
summon_info: (
|
||||
body: Object(Tornado),
|
||||
scale: None,
|
||||
has_health: false,
|
||||
loadout_config: None,
|
||||
skillset_config: None,
|
||||
),
|
||||
duration: Some((
|
||||
secs: 10,
|
||||
nanos: 0,
|
||||
)),
|
||||
)
|
@ -0,0 +1,66 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 22,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(3.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 18,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 1.05,
|
||||
swing_duration: 0.45,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(3.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 28,
|
||||
poise: 0,
|
||||
knockback: 10,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 1.4,
|
||||
swing_duration: 0.6,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(3.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
28
assets/common/abilities/custom/birdlargebreathe/firebomb.ron
Normal file
28
assets/common/abilities/custom/birdlargebreathe/firebomb.ron
Normal file
@ -0,0 +1,28 @@
|
||||
BasicRanged(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 1.0,
|
||||
recover_duration: 0.7,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 5,
|
||||
min_falloff: 0.5,
|
||||
reagent: Some(Red),
|
||||
terrain: Some((2, Black))
|
||||
),
|
||||
attack: Some((
|
||||
damage: 20,
|
||||
energy: 5,
|
||||
buff: Some((
|
||||
kind: Burning,
|
||||
dur_secs: 5,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(BoltFire),
|
||||
projectile_speed: 60.0,
|
||||
num_projectiles: 1,
|
||||
projectile_spread: 0.0,
|
||||
move_efficiency: 0.3,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 0.8,
|
||||
recover_duration: 0.5,
|
||||
beam_duration: 0.5,
|
||||
damage: 10.0,
|
||||
tick_rate: 3.0,
|
||||
range: 15.0,
|
||||
max_angle: 22.5,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Burning,
|
||||
dur_secs: 10.0,
|
||||
strength: DamageFraction(0.5),
|
||||
chance: 0.25,
|
||||
))),
|
||||
energy_regen: 0,
|
||||
energy_drain: 0,
|
||||
ori_rate: 0.3,
|
||||
specifier: Flamethrower,
|
||||
)
|
@ -0,0 +1,66 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 20,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(2.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 1.15,
|
||||
swing_duration: 0.35,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(2.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 26,
|
||||
poise: 0,
|
||||
knockback: 10,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(1.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
43
assets/common/abilities/custom/birdlargefire/firerain.ron
Normal file
43
assets/common/abilities/custom/birdlargefire/firerain.ron
Normal file
@ -0,0 +1,43 @@
|
||||
RepeaterRanged(
|
||||
energy_cost: 0.0,
|
||||
buildup_duration: 0.2,
|
||||
shoot_duration: 0.3,
|
||||
recover_duration: 0.5,
|
||||
max_speed: 8.0,
|
||||
half_speed_at: 5,
|
||||
projectile: (
|
||||
kind: Explosive(
|
||||
radius: 12,
|
||||
min_falloff: 0.5,
|
||||
reagent: Some(Phoenix),
|
||||
terrain: Some((2, Black))
|
||||
),
|
||||
attack: Some((
|
||||
damage: 31,
|
||||
energy: 20,
|
||||
buff: Some((
|
||||
kind: Burning,
|
||||
dur_secs: 4,
|
||||
strength: DamageFraction(1.0),
|
||||
chance: 1.0,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(FireRainDrop),
|
||||
projectile_light: Some(LightEmitter(
|
||||
col: Rgb(
|
||||
r: 1.0,
|
||||
g: 0.8,
|
||||
b: 0.3,
|
||||
),
|
||||
strength: 10.0,
|
||||
flicker: 5.0,
|
||||
animated: true,
|
||||
)),
|
||||
projectile_speed: 0.0,
|
||||
properties_of_aoe: Some(ProjectileOffset(
|
||||
radius: 30,
|
||||
height: 20,
|
||||
)),
|
||||
specifier: Some(FireRain),
|
||||
)
|
@ -0,0 +1,20 @@
|
||||
Shockwave(
|
||||
energy_cost: 60.0,
|
||||
buildup_duration: 1.4,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.4,
|
||||
damage: 40.0,
|
||||
poise_damage: 0,
|
||||
knockback: ( strength: 25.0, direction: Away),
|
||||
shockwave_angle: 360.0,
|
||||
shockwave_vertical_angle: 90.0,
|
||||
shockwave_speed: 20.0,
|
||||
shockwave_duration: 0.5,
|
||||
dodgeable: Roll,
|
||||
move_efficiency: 0.1,
|
||||
damage_kind: Energy,
|
||||
specifier: Fire,
|
||||
ori_rate: 1.0,
|
||||
timing: PostBuildup,
|
||||
emit_outcome: true,
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
SelfBuff(
|
||||
buildup_duration: 1.25,
|
||||
cast_duration: 1.8,
|
||||
recover_duration: 1.25,
|
||||
buff_kind: Regeneration,
|
||||
buff_strength: 1500.0,
|
||||
buff_duration: Some(3.0),
|
||||
energy_cost: 0,
|
||||
specifier: Some(FromTheAshes),
|
||||
)
|
19
assets/common/abilities/custom/birdlargefire/heat_laser.ron
Normal file
19
assets/common/abilities/custom/birdlargefire/heat_laser.ron
Normal file
@ -0,0 +1,19 @@
|
||||
BasicBeam(
|
||||
buildup_duration: 0.5,
|
||||
recover_duration: 0.3,
|
||||
beam_duration: 1.0,
|
||||
damage: 30.0,
|
||||
tick_rate: 1.0,
|
||||
range: 120.0,
|
||||
max_angle: 1.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Burning,
|
||||
dur_secs: 5.0,
|
||||
strength: DamageFraction(0.75),
|
||||
chance: 0.75,
|
||||
))),
|
||||
energy_regen: 0,
|
||||
energy_drain: 0,
|
||||
ori_rate: 0.07,
|
||||
specifier: PhoenixLaser,
|
||||
)
|
26
assets/common/abilities/custom/birdlargefire/legstrike.ron
Normal file
26
assets/common/abilities/custom/birdlargefire/legstrike.ron
Normal file
@ -0,0 +1,26 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 35,
|
||||
poise: 0,
|
||||
knockback: 15,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 90.0,
|
||||
),
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: false,
|
||||
)
|
26
assets/common/abilities/custom/birdlargefire/longstrike.ron
Normal file
26
assets/common/abilities/custom/birdlargefire/longstrike.ron
Normal file
@ -0,0 +1,26 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 30,
|
||||
poise: 0,
|
||||
knockback: 10,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 90.0,
|
||||
),
|
||||
buildup_duration: 0.6,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
26
assets/common/abilities/custom/birdlargefire/shortstrike.ron
Normal file
26
assets/common/abilities/custom/birdlargefire/shortstrike.ron
Normal file
@ -0,0 +1,26 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 20,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 90.0,
|
||||
),
|
||||
buildup_duration: 0.2,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
movement: (
|
||||
swing: Some(Forward(0.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
BasicSummon(
|
||||
buildup_duration: 0.75,
|
||||
cast_duration: 0.25,
|
||||
recover_duration: 0.5,
|
||||
summon_amount: 12,
|
||||
summon_distance: (8, 10),
|
||||
summon_info: (
|
||||
body: Object(FieryTornado),
|
||||
scale: None,
|
||||
has_health: false,
|
||||
loadout_config: None,
|
||||
skillset_config: None,
|
||||
),
|
||||
duration: Some((
|
||||
secs: 10,
|
||||
nanos: 0,
|
||||
)),
|
||||
)
|
@ -0,0 +1,66 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 20,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(2.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 16,
|
||||
poise: 0,
|
||||
knockback: 5,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 1.2,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(2.0)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 26,
|
||||
poise: 0,
|
||||
knockback: 10,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 3.5,
|
||||
angle: 30.0,
|
||||
),
|
||||
buildup_duration: 0.8,
|
||||
swing_duration: 0.3,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.6,
|
||||
movement: (
|
||||
swing: Some(Forward(1.5)),
|
||||
),
|
||||
ori_modifier: 0.7,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
auto_progress: true,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
BasicMelee(
|
||||
energy_cost: 0,
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.07,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.2,
|
||||
melee_constructor: (
|
||||
kind: Stab(
|
||||
damage: 1,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
range: 2.5,
|
||||
angle: 150.0,
|
||||
),
|
||||
ori_modifier: 0.6,
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
ChargedRanged(
|
||||
energy_cost: 0,
|
||||
energy_drain: 0,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 2,
|
||||
energy: 2,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
scaled: Some((
|
||||
damage: 12,
|
||||
knockback: Some(12),
|
||||
energy: 14,
|
||||
)),
|
||||
),
|
||||
buildup_duration: 0.25,
|
||||
charge_duration: 1.0,
|
||||
recover_duration: 0.4,
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
initial_projectile_speed: 50.0,
|
||||
scaled_projectile_speed: 200.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 1.0,
|
||||
))),
|
||||
move_speed: 0.6,
|
||||
)
|
@ -0,0 +1,30 @@
|
||||
RepeaterRanged(
|
||||
energy_cost: 6.0,
|
||||
buildup_duration: 0.2,
|
||||
shoot_duration: 0.3,
|
||||
recover_duration: 0.5,
|
||||
max_speed: 4.0,
|
||||
half_speed_at: 3,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 5,
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 100.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 1.0,
|
||||
))),
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
BasicRanged(
|
||||
energy_cost: 25.0,
|
||||
buildup_duration: 0.3,
|
||||
recover_duration: 0.3,
|
||||
projectile_spread: 0.05,
|
||||
projectile: (
|
||||
kind: Pointed,
|
||||
attack: Some((
|
||||
damage: 6,
|
||||
knockback: Some(5),
|
||||
energy: 0,
|
||||
buff: Some((
|
||||
kind: Bleeding,
|
||||
dur_secs: 10,
|
||||
strength: DamageFraction(0.1),
|
||||
chance: 0.1,
|
||||
)),
|
||||
)),
|
||||
),
|
||||
projectile_body: Object(Arrow),
|
||||
projectile_light: None,
|
||||
projectile_speed: 80.0,
|
||||
num_projectiles: 5,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 1.0,
|
||||
))),
|
||||
move_efficiency: 0.3,
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
DashMelee(
|
||||
energy_cost: 3.0,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 9.0,
|
||||
poise: 40.0,
|
||||
knockback: 16.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
scaled: Some((
|
||||
kind: Bash(
|
||||
damage: 10.0,
|
||||
poise: 0.0,
|
||||
knockback: 20.0,
|
||||
energy_regen: 0.0,
|
||||
))),
|
||||
range: 5.0,
|
||||
angle: 45.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 0.5,
|
||||
))),
|
||||
),
|
||||
energy_drain: 0,
|
||||
forward_speed: 12.0,
|
||||
buildup_duration: 0.6,
|
||||
charge_duration: 0.2,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.9,
|
||||
ori_modifier: 0.3,
|
||||
auto_charge: false,
|
||||
)
|
@ -0,0 +1,27 @@
|
||||
LeapMelee(
|
||||
energy_cost: 35.0,
|
||||
buildup_duration: 0.1,
|
||||
movement_duration: 0.6,
|
||||
swing_duration: 0.15,
|
||||
recover_duration: 0.2,
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 25.0,
|
||||
poise: 40.0,
|
||||
knockback: 25.0,
|
||||
energy_regen: 0.0,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 1.0,
|
||||
))),
|
||||
),
|
||||
forward_leap_strength: 20.0,
|
||||
vertical_leap_strength: 8.0,
|
||||
specifier: None,
|
||||
)
|
@ -0,0 +1,28 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Bash(
|
||||
damage: 15,
|
||||
poise: 0,
|
||||
knockback: 3.5,
|
||||
energy_regen: 5,
|
||||
),
|
||||
range: 4.5,
|
||||
angle: 50.0,
|
||||
damage_effect: Some(Buff((
|
||||
kind: Frozen,
|
||||
dur_secs: 2.0,
|
||||
strength: Value(0.3),
|
||||
chance: 0.4,
|
||||
))),
|
||||
),
|
||||
buildup_duration: 0.7,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.45,
|
||||
ori_modifier: 1.0,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user