-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStruct Spell Feed Back.j
More file actions
29 lines (24 loc) · 1.04 KB
/
Copy pathStruct Spell Feed Back.j
File metadata and controls
29 lines (24 loc) · 1.04 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
25
26
27
28
29
/// Wizard
library StructSpellsSpellFeedBack requires Asl, StructGameClasses, StructGameSpell
/**
* Rückkopplung.
*/
struct SpellFeedBack extends Spell
public static constant integer abilityId = 'A0VU'
public static constant integer favouriteAbilityId = 'A0VV'
public static constant integer classSelectionAbilityId = 'A1KT'
public static constant integer classSelectionGrimoireAbilityId = 'A1KU'
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('A1KT', 'A1KU')
call this.addGrimoireEntry('A0VW', 'A0W1')
call this.addGrimoireEntry('A0VX', 'A0W2')
call this.addGrimoireEntry('A0VY', 'A0W3')
call this.addGrimoireEntry('A0VZ', 'A0W4')
call this.addGrimoireEntry('A0W0', 'A0W5')
call this.setIsPassive(true)
return this
endmethod
endstruct
endlibrary