summon ![code/game/objects/items/summon.dm 16](git.png)
Simple summon weapon code in this file
tl;dr latch onto target, repeatedly proc attacks, animate using transforms, no real hitboxes/collisions, think of /datum/component/orbit-adjacent
Vars | |
host | our summon weapon host |
---|---|
host_type | datum type |
melee_only | are we a ranged weapon? |
range | range summons will chase to |
stack_duration | how long it takes for a "stack" to fall off by itself |
summon_count | number of summons |
Var Details
host ![code/game/objects/items/summon.dm 26](git.png)
our summon weapon host
host_type ![code/game/objects/items/summon.dm 20](git.png)
datum type
melee_only ![code/game/objects/items/summon.dm 30](git.png)
are we a ranged weapon?
range ![code/game/objects/items/summon.dm 28](git.png)
range summons will chase to
stack_duration ![code/game/objects/items/summon.dm 24](git.png)
how long it takes for a "stack" to fall off by itself
summon_count ![code/game/objects/items/summon.dm 22](git.png)
number of summons