Skip to content

Commit

Permalink
Rework arcane
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Jan 19, 2025
1 parent 9094bd5 commit e336def
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.3.1

- Arcane Blast spells is now tier 1 spell
- Rework Arcane Missile spell (now tier 2 spell), continuously fires missiles for 4 seconds

# 2.3.0

- Support Spell Engine 1.4
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fabric_api_version=0.102.0+1.21.1
# Mod
maven_group=net
archives_base_name=wizards
mod_version=2.3.0
mod_version=2.3.1
minecraft_compat_version=1.21

# Dependencies
Expand All @@ -22,7 +22,7 @@ tiny_config_version=2.3.2
runes_version=1.0.3+1.21.1
structure_pool_api_version=1.1.3+1.21.1

spell_engine_version=1.4.0+1.21.1
spell_engine_version=1.4.1+1.21.1
spell_power_version=1.1.2+1.21.1
cloth_config_version=15.0.130
player_anim_version=2.0.0-alpha1+1.21
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/wizards/util/SoundHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class SoundHelper {
public static List<String> soundKeys = List.of(
"arcane_missile_release",
"arcane_missile_impact",
"arcane_shoot_small",
"arcane_blast_release",
"arcane_blast_impact",
"arcane_beam_start",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/wizards/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"spell.wizards.arcane_bolt.name": "Arcane Bolt",
"spell.wizards.arcane_bolt.description": "Shoots a bolt of energy, causing {damage} arcane spell damage.",
"spell.wizards.arcane_missile.name": "Arcane Missiles",
"spell.wizards.arcane_missile.description": "Shoots a pair of energy bolts piercing thru {pierce} targets, causing {damage} arcane spell damage.",
"spell.wizards.arcane_missile.description": "Continuously shoots bolts of energy piercing thru {pierce} targets, causing {damage} arcane spell damage.",
"spell.wizards.arcane_blast.name": "Arcane Blast",
"spell.wizards.arcane_blast.description": "Blasts the target, causing {damage} arcane damage. Grants Arcane Charge, stacking up to {effect_amplifier} times.",
"effect.wizards.arcane_charge": "Arcane Charge",
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/assets/wizards/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"wizards:arcane_missile_impact"
]
},
"arcane_shoot_small": {
"sounds": [
"wizards:arcane_shoot_small"
]
},

"arcane_blast_release": {
"sounds": [
Expand Down
Binary file not shown.
6 changes: 4 additions & 2 deletions src/main/resources/data/wizards/spell/arcane_blast.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"school": "ARCANE",
"group": "primary",
"rank": 2,
"range": 16,
"learn": {
"tier": 2
"tier": 1
},
"cast": {
"duration": 1.5,
"animation": "spell_engine:two_handed_channeling",
"animation": "spell_engine:one_handed_projectile_charge",
"sound": {
"id": "spell_engine:generic_arcane_casting",
"randomness": 0
Expand Down
40 changes: 27 additions & 13 deletions src/main/resources/data/wizards/spell/arcane_missile.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"school": "ARCANE",
"group": "primary",
"rank": 2,
"range": 64,
"learn": {
"tier": 1
"tier": 2
},
"cast": {
"duration": 1.5,
"animation": "spell_engine:one_handed_projectile_charge",
"duration": 4,
"channel_ticks": 6,
"animation": "spell_engine:two_handed_channeling",
"sound": {
"id": "spell_engine:generic_arcane_casting",
"randomness": 0
Expand All @@ -28,14 +27,29 @@
"target": {
"type": "PROJECTILE",
"projectile": {
"direction_offsets_require_target": true,
"direction_offsets": [
{
"yaw": 15,
"pitch": 0
},
{
"yaw": 0,
"pitch": -15
},
{
"yaw": -15,
"pitch": 0
}
],
"launch_properties": {
"velocity": 1.5,
"extra_launch_count": 1,
"extra_launch_delay": 4,
"sound": { "id": "wizards:arcane_missile_release" }
},
"projectile": {
"homing_angle": 2,
"homing_angle": 6,
"homing_after_absolute_distance": 8,
"homing_after_relative_distance": 0.3,
"perks": {
"pierce": 2
},
Expand All @@ -59,16 +73,15 @@
}
}
}
},
"animation": "spell_engine:one_handed_projectile_release"
}
},
"impact": [
{
"action": {
"type": "DAMAGE",
"damage": {
"knockback": 0.6,
"spell_power_coefficient": 0.5
"knockback": 0.5,
"spell_power_coefficient": 0.25
}
},
"particles": [
Expand All @@ -87,6 +100,7 @@
}
],
"cost": {
"item_id": "runes:arcane_stone"
"item_id": "runes:arcane_stone",
"cooldown_duration": 2
}
}

0 comments on commit e336def

Please sign in to comment.