Skip to content

Buff redirection, pathfinding, and branching projectiles#1075

Open
DragonsAscent wants to merge 7 commits intoTheComputerGeek2:mainfrom
DragonsAscent:main
Open

Buff redirection, pathfinding, and branching projectiles#1075
DragonsAscent wants to merge 7 commits intoTheComputerGeek2:mainfrom
DragonsAscent:main

Conversation

@DragonsAscent
Copy link
Copy Markdown
Collaborator

Branching Projectile Spell:

  • Added BranchingProjectileSpell, a new instant spell that creates a main projectile which can randomly branch into additional projectiles. The spell supports configurable parameters such as maximum distance, duration, branching probability, angles, and spell effects on hit entities. This allows for complex, visually dynamic spell effects with hit detection and subspell casting. (core/src/main/java/com/nisovin/magicspells/spells/instant/BranchingProjectileSpell.java)

Proxy Spell:

  • Introduced ProxySpell, a new buff spell that allows redirection of spell effects and damage from one entity to another (the proxy). It manages active proxies, handles spell target and damage events, and ensures effects and costs are properly redirected. This enables advanced spell interactions such as decoys or bodyguard mechanics. (core/src/main/java/com/nisovin/magicspells/spells/buff/ProxySpell.java)

Score Modifier:

  • Added ScoreCondition, a new cast modifier condition that checks a player's score in a specified scoreboard objective (core/src/main/java/com/nisovin/magicspells/castmodifiers/conditions/ScoreCondition.java)

Copilot AI review requested due to automatic review settings April 11, 2026 05:16

This comment was marked as low quality.

DragonsAscent and others added 3 commits April 11, 2026 14:57
…chingProjectileSpell.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tions/ScoreCondition.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…hfindSpell.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants