Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.spell
/
Spell
Spell
abstract
class
Spell
(
val
name
:
String
,
val
description
:
String
,
val
cost
:
AbilityCost
,
val
rarity
:
Rarity
,
val
requiredKnowledge
:
Int
)
(
source
)
Inheritors
SparklesSpell
Members
Constructors
Spell
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
,
cost
:
AbilityCost
,
rarity
:
Rarity
,
requiredKnowledge
:
Int
)
Functions
register
Listeners
Link copied to clipboard
open
fun
registerListeners
(
)
right
Click
Link copied to clipboard
open
fun
rightClick
(
mc
:
MacrocosmPlayer
,
p
:
Player
)
Properties
cost
Link copied to clipboard
val
cost
:
AbilityCost
description
Link copied to clipboard
val
description
:
String
name
Link copied to clipboard
val
name
:
String
rarity
Link copied to clipboard
val
rarity
:
Rarity
required
Knowledge
Link copied to clipboard
val
requiredKnowledge
:
Int