-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStruct Spell Elemental Creatures.j
More file actions
24 lines (20 loc) · 1.02 KB
/
Copy pathStruct Spell Elemental Creatures.j
File metadata and controls
24 lines (20 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/// Elemental Mage
library StructSpellsSpellElementalCreatures requires Asl, StructSpellsSpellElementalMageDamageSpell
struct SpellElementalCreatures extends Spell
public static constant integer abilityId = 'A1I8'
public static constant integer favouriteAbilityId = 'A1I9'
public static constant integer classSelectionAbilityId = 'A1KF'
public static constant integer classSelectionGrimoireAbilityId = 'A1KG'
public static constant integer maxLevel = 5
public static method create takes ACharacter character returns thistype
local thistype this = thistype.createWithoutTriggers(character, Classes.elementalMage(), Spell.spellTypeNormal, thistype.maxLevel, thistype.abilityId, thistype.favouriteAbilityId)
call this.addGrimoireEntry('A1KF', 'A1KG')
call this.addGrimoireEntry('A1IA', 'A1IF')
call this.addGrimoireEntry('A1IB', 'A1IG')
call this.addGrimoireEntry('A1IC', 'A1IH')
call this.addGrimoireEntry('A1ID', 'A1II')
call this.addGrimoireEntry('A1IE', 'A1IJ')
return this
endmethod
endstruct
endlibrary