Magicarp ![code/modules/mob/living/basic/space_fauna/carp/magicarp.dm 46](git.png)
Carp who can cast spells! Mostly created via wizard event or transformation. Come in 'does one thing' and 'does random things' varieties.
Vars | |
allowed_projectile_types | List of all projectiles we can fire. Non-static, because subtypes can have their own lists. |
---|---|
spell | Our magic attack |
Procs | |
RangedAttack | Shoot when you click away from you |
assign_spell | Updates name based on chosen spell |
assign_spell_ai | If you have certain spells, use a different targeting strategy |
spell_list | Returns the list of spells we are allowed to cast |
Var Details
allowed_projectile_types ![code/modules/mob/living/basic/space_fauna/carp/magicarp.dm 65](git.png)
List of all projectiles we can fire. Non-static, because subtypes can have their own lists.
spell ![code/modules/mob/living/basic/space_fauna/carp/magicarp.dm 69](git.png)
Our magic attack
Proc Details
RangedAttack
Shoot when you click away from you
assign_spell
Updates name based on chosen spell
assign_spell_ai
If you have certain spells, use a different targeting strategy
spell_list
Returns the list of spells we are allowed to cast