-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStruct Spell Blessing.j
More file actions
24 lines (20 loc) · 1006 Bytes
/
Copy pathStruct Spell Blessing.j
File metadata and controls
24 lines (20 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/// Cleric
library StructSpellsSpellBlessing requires Asl, StructGameClasses, StructGameSpell
struct SpellBlessing extends Spell
public static constant integer abilityId = 'A0H4'
public static constant integer favouriteAbilityId = 'A0H5'
public static constant integer classSelectionAbilityId = 'A0UJ'
public static constant integer classSelectionGrimoireAbilityId = 'A0UK'
public static constant integer maxLevel = 5
public static method create takes Character character returns thistype
local thistype this = thistype.createWithoutTriggers(character, Classes.cleric(), Spell.spellTypeNormal, thistype.maxLevel, thistype.abilityId, thistype.favouriteAbilityId)
call this.addGrimoireEntry('A0UJ', 'A0UK')
call this.addGrimoireEntry('A0H6', 'A0HB')
call this.addGrimoireEntry('A0H7', 'A0HC')
call this.addGrimoireEntry('A0H8', 'A0HD')
call this.addGrimoireEntry('A0H9', 'A0HE')
call this.addGrimoireEntry('A0HA', 'A0HF')
return this
endmethod
endstruct
endlibrary