-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStruct Spell Frozen Arrows.j
More file actions
24 lines (20 loc) · 1014 Bytes
/
Copy pathStruct Spell Frozen Arrows.j
File metadata and controls
24 lines (20 loc) · 1014 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
/// Ranger
library StructSpellsSpellFrozenArrows requires Asl, StructGameClasses, StructGameSpell
struct SpellFrozenArrows extends Spell
public static constant integer abilityId = 'A0MT'
public static constant integer favouriteAbilityId = 'A0MU'
public static constant integer classSelectionAbilityId = 'A1L5'
public static constant integer classSelectionGrimoireAbilityId = 'A1L6'
public static constant integer maxLevel = 5
public static method create takes Character character returns thistype
local thistype this = thistype.createWithoutTriggers(character, Classes.ranger(), Spell.spellTypeNormal, thistype.maxLevel, thistype.abilityId, thistype.favouriteAbilityId)
call this.addGrimoireEntry('A1L5', 'A1L6')
call this.addGrimoireEntry('A0MV', 'A0N0')
call this.addGrimoireEntry('A0MW', 'A0N1')
call this.addGrimoireEntry('A0MX', 'A0N2')
call this.addGrimoireEntry('A0MY', 'A0N3')
call this.addGrimoireEntry('A0MZ', 'A0N4')
return this
endmethod
endstruct
endlibrary