-
Name:
mMage
-
Displayed name:
Mage
-
Description:
The character does not have any natural flux capacity. Thus, you do not possess any flux and only gain 10% of normal experience. However, they learned to manipulate the one around them thanks to Flux catalysts. Moreover, they can enchant items and make scrolls with components for a total of half the market value of the enchantment.
-
Cost:
-
Script:
stat1 = character:createStat([[sCatalystLvl]], [[dependant]]) stat1.displayName:set([[Flux catalyst level]]) stat2 = character:createStat([[sComponentsValue]], [[dependant]]) stat2.displayName:set([[Components value]]) character.sMaxFlux.calculus:set([[math.floor((self+character.sCatalystLvl*1000)*pct)]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
not action:tagsContain([[weapon]]) and not action:tagsContain([[item]])
-
Description:
The mage reduces the flux cost by vComponent.string thanks to components.
-
Variables:
vComponent = NumberVariable([[vComponent]], [[Component]], [[0]], [[character.sComponentsValue]], [[10]]) vFluxCost:addValue([[-vComponent]],[[component]],[[Component]])
-
Script:
character.sComponentsValue:changeCurrent(-vComponent.value)
-
Action effects:
No effects
-
-
Upgrades: