forked from tdauth/dmdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Struct Spell Blind.j
24 lines (20 loc) · 1000 Bytes
/
Struct Spell Blind.j
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 StructSpellsSpellBlind requires Asl, StructGameClasses, StructGameSpell
struct SpellBlind extends Spell
public static constant integer abilityId = 'A0NP'
public static constant integer favouriteAbilityId = 'A0NQ'
public static constant integer classSelectionAbilityId = 'A1J8'
public static constant integer classSelectionGrimoireAbilityId = 'A1J9'
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('A1J8', 'A1J9')
call this.addGrimoireEntry('A0NR', 'A0NW')
call this.addGrimoireEntry('A0NS', 'A0NX')
call this.addGrimoireEntry('A0NT', 'A0NY')
call this.addGrimoireEntry('A0NU', 'A0NZ')
call this.addGrimoireEntry('A0NV', 'A0O0')
return this
endmethod
endstruct
endlibrary