mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-17 21:26:35 +02:00
Projectile section.
This commit is contained in:
parent
a4c1f6988a
commit
95c8d6f2a5
@ -466,6 +466,15 @@ by modifying their damage values in aura callbacks.
|
||||
|
||||
### Projectiles
|
||||
|
||||
Spells support projectiles, they are created/set up inside `void handle_projectile(info: SpellCastInfo)`.
|
||||
|
||||
The default implementation will instance `Spell`'s projectile scene (if set), and then it will try to call a
|
||||
`void setup_projectile(info: SpellCastInfo)` on it if exists.
|
||||
|
||||
You can override this behaviour by implementing your own `_void handle_projectile(info: SpellCastInfo)` on `Spell`
|
||||
|
||||
Note that the module already adds `SpellFollowProjectile3D`, but this has not been finished yet.
|
||||
|
||||
## Items
|
||||
|
||||
Items are implemented using 2 classes, `ItemTemplate`, and `ItemInstance`.
|
||||
|
Loading…
Reference in New Issue
Block a user