|
|
## Description
|
|
|
Whether the target player has learned the given spell
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| id | spell, s | The spell to check against | FIREBALL <!--type:Spell--> |
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
LearnMagicMissile:
|
|
|
TargetConditions:
|
|
|
- hasLearnedSpell{spell=MagicMissile} false
|
|
|
- hascurrency{a=500}
|
|
|
Skills:
|
|
|
- teachspell{s=MagicMissile;l=1}
|
|
|
- currencytake{amount=500}
|
|
|
- message{m="Eheh, thanks for you patronage!"}
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] hasSpell |
|
|
\ No newline at end of file |