forked from tdauth/dmdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStruct Spell Ban.j
More file actions
executable file
·24 lines (20 loc) · 1019 Bytes
/
Struct Spell Ban.j
File metadata and controls
executable file
·24 lines (20 loc) · 1019 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
/// Wizard
library StructSpellsSpellBan requires Asl, StructGameClasses, StructGameSpell
struct SpellBan extends Spell
public static constant integer abilityId = 'A0A6'
public static constant integer favouriteAbilityId = 'A0A7'
public static constant integer classSelectionAbilityId = 'A0UB'
public static constant integer classSelectionGrimoireAbilityId = 'A0UC'
public static constant integer maxLevel = 5
public static method create takes Character character returns thistype
local thistype this = thistype.createWithoutTriggers(character, Classes.wizard(), Spell.spellTypeNormal, thistype.maxLevel, thistype.abilityId, thistype.favouriteAbilityId)
call this.addGrimoireEntry('A0UB', 'A0UC')
call this.addGrimoireEntry('A0WS', 'A0WX')
call this.addGrimoireEntry('A0WT', 'A0WY')
call this.addGrimoireEntry('A0WU', 'A0WZ')
call this.addGrimoireEntry('A0WV', 'A0X0')
call this.addGrimoireEntry('A0WW', 'A0X1')
return this
endmethod
endstruct
endlibrary