Actions

Difference between revisions of "Talents"

From Crea Wiki

m (1 revision)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Language/Header}}
 
{{Language/Header}}
 
{{Article Form
 
{{Article Form
|articlecontent=[[File:Talent.png|right|300px]]
+
|articlecontent=
 
 
 
<translate><!--T:11-->
 
<translate><!--T:11-->
Characters have talents that represent the character's proficiency in a field. Currently, there are five talents. [[Arms]], [[Syle]], [[Gather]], [[Craft]], and [[Explore]]. By performing actions related to the talent your character will occasionally gain [[Talent Points]]. For example by crafting items or learning new recipes you may gain TP for your Craft talent or hitting a monster with magic may yield TP for the Magic talent.
+
Characters have talents (default 'T') that represent the character's proficiency in a field. Currently, there are five talents. [[Arms]], [[Syle]], [[Gather]], [[Craft]], and [[Explore]]. By performing actions related to the talent your character will occasionally gain talent points. For example by crafting items or learning new recipes you may gain TP for your Craft talent or hitting a monster with magic may yield TP for the Magic talent.<br/><br/>
  
 
<!--T:12-->
 
<!--T:12-->
After accumulating enough TP your character's talent will level up. With enough TP you can spend it on purchasing and upgrading skills. Leveling up a talent grants access to new skills and skill upgrades. There will be a mixture of active and passive skills. Active skills are skills that can be added to the toolbar and used as an action such as a magic spell. Passive skills are always affecting the player such as "Defense Up".</translate>
+
After accumulating enough TP your character's talent will level up. With enough TP you can spend it on purchasing and upgrading skills. Leveling up a talent grants access to new skills and skill upgrades. There will be a mixture of active and passive skills. Active skills are skills that can be added to the toolbar and used as an action such as a magic spell. Passive skills are always affecting the player such as "Defense Up".<br/><br/>
<hr />
 
==<translate><!--T:23-->
 
[[Arms]]</translate>==
 
<hr />
 
 
 
==<translate><!--T:13-->
 
[[Syle]]</translate>==
 
<translate><!--T:14-->
 
[[File:syle_menu.png|right|200px]]
 
“Magic” or '''Syle''' is split it into 5 Aer (elements). Aegix (Fire), Lacies (Water), Aeolus (Air), Silvan (Earth), and Sano (Health). To use Syle, you much charge one of the Aer's and use a '''form'''.
 
<br /><br />
 
There are currently 5 forms. Base Form, Enchant Form, Enshroud Form, Pillar Form, and Support Form. Each form combined with an Aer will produce a new type of magic.</translate>
 
<hr />
 
==<translate><!--T:24-->
 
[[Gather]]</translate>==
 
<hr />
 
 
 
 
 
==<translate><!--T:25-->
 
[[Craft]]</translate>==
 
<hr />
 
  
 +
<!--T:13-->
 +
Idols can be used to channel different elements for [[Talents#Syle | Syle]].
  
==<translate><!--T:26-->
+
</translate>
[[Explore]]</translate>==
 
 
<hr />
 
<hr />
 +
<div class="row entity-section-title">
 +
==[[Talents#Channel | Channel]]==
 +
</div>
 +
<div class="row">
 +
{{Entity/Box |3=File:Aegnix Idol big.png |1=Aegnix Idol}}
 +
{{Entity/Box |3=File:Aeolus Idol big.png |1=Aeolus Idol}}
 +
{{Entity/Box |3=File:Lacies Idol big.png |1=Lacies Idol}}
 +
{{Entity/Box |3=File:Silvan Idol big.png |1=Silvan Idol}}
 +
</div>
 +
<div class="row entity-section-title">
 +
==[[Talents#Arms | Arms]]==
 +
</div>
 +
<div class="row">
 +
{{#ask:[[Category:Skill]] [[Has image::+]] [[Has subpagename::!~*/* ]] [[Has talent::Arms]]
 +
|?#
 +
|?Has image
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|template=Entity/Box
 +
}}</div>
  
{{clear}}
+
<div class="row entity-section-title">
==<translate><!--T:17-->
+
==[[Talents#Craft | Craft]]==
Modding</translate>==  
+
</div>
<translate><!--T:18-->
+
<div class="row">
OUTDATED as of Beta 0.9. <br />
+
{{#ask:[[Category:Skill]] [[Has image::+]] [[Has subpagename::!~*/* ]] [[Has talent::Craft]]
As usual, nearly all aspects of talents can be modified ranging from modifying an existing skill to creating an entirely new talent. Talents are tied to body types ([[Character Customization]]) meaning different races can have different talents.
+
|?#
As far as the actual modding goes, here is what the adding the talents to a character body looks like.</translate>
+
|?Has image
 
+
|format=template
<pre>
+
|link=none
body.talents = Talents()
+
|headers=hide
body.talents.talents.append(armsTalent)
+
|template=Entity/Box
body.talents.talents.append(craftTalent)
+
}}</div>
body.talents.talents.append(gatherTalent)
 
body.talents.talents.append(magicTalent)
 
</pre>
 
 
 
<translate><!--T:19-->
 
A Talent is simple and is only composed of a name, a "points to next level" list, and a list of skills.</translate>
 
 
 
<pre>
 
armsTalent = Talent("arms", [100] * 20)
 
</pre>
 
 
 
<translate><!--T:20-->
 
Skills are a little bit more complex. First of all, skills can passive and/or active. A passive skill is always in effect while an active skill must be used. It is possible to have a skill with both elements. Passive skills need to provide two callback functions - "enable" and "disable". Active skills need to provide the callback function "use". All skills should provide a "description" callback function.</translate>
 
 
 
<pre>
 
def enableStatUp(stat, level, user):
 
    user.stats.get(stat).adjust(5 * level)
 
 
def disableStatUp(stat, level, user):
 
    user.stats.get(stat).adjust(-5 * level)
 
 
def descriptionStatUp(stat, level):
 
    return "Increases a character's {} by {}.".format(stat, 5 * level)
 
 
atkSkill = Skill(name="Attack Up", icon="mods/base/talent/arms/attack_up.png", costs=[100] * 5)
 
atkSkill.enable = partial("ATK", enableStatUp)
 
atkSkill.disable = partial("ATK", disableStatUp)
 
atkSkill.description = partial(descriptionStatUp, "Attack")
 
armsTalent.skills.append(atkSkill)
 
 
defSkill = Skill(name="Defense Up", icon="mods/base/talent/arms/defense_up.png", costs=[100] * 5)
 
defSkill.enable = partial("DEF", enableStatUp)
 
defSkill.disable = partial("DEF", disableStatUp)
 
defSkill.description = partial(descriptionStatUp, "Defense")
 
armsTalent.skills.append(defSkill)
 
</pre>
 
  
<translate><!--T:21-->
+
<div class="row entity-section-title">
The "enable" function is called when the skill is activated. This is when the player first get the skill or when the character is loaded. The sibling function, "disable" is used when the skill needs to be deactivated. This is typically when the character is being saved to disk but it also makes it possible to temporarily disable passive skills with monster abilities. The "description" function is called when we need to display the tooltip for the skill. Having it be a function makes it dynamic so it can be dependent on any variable - such as the level of the skill. The "use" function is not featured here but it is more or less the same as the previous functions. It is called when the skill is being used.
+
==[[Talents#Explore | Explore]]==
 +
</div>
 +
<div class="row">
 +
{{#ask:[[Category:Skill]] [[Has image::+]] [[Has subpagename::!~*/* ]] [[Has talent::Explore]]
 +
|?#
 +
|?Has image
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|template=Entity/Box
 +
}}</div>
  
<!--T:22-->
+
<div class="row entity-section-title">
Creating skills and entirely new Talents is definitely some more advanced modding. However, with the complexity comes some awesome power.</translate>
+
==[[Talents#Gather | Gather]]==
 +
</div>
 +
<div class="row">
 +
{{#ask:[[Category:Skill]] [[Has image::+]] [[Has subpagename::!~*/* ]] [[Has talent::Gather]]
 +
|?#
 +
|?Has image
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|template=Entity/Box
 +
}}</div>
  
}}
+
<div class="row entity-section-title">
 +
==[[Talents#Syle | Syle]]==
 +
</div>
 +
<div class="row">
 +
{{#ask:[[Category:Skill]] [[Has image::+]] [[Has subpagename::!~*/* ]] [[Has talent::Syle]]
 +
|?#
 +
|?Has image
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|template=Entity/Box
 +
}}</div>
 +
}}{{Footer |type=mechanics}}

Latest revision as of 11:12, 18 June 2016

Other languages:
English • ‎español • ‎français

Characters have talents (default 'T') that represent the character's proficiency in a field. Currently, there are five talents. Arms, Syle, Gather, Craft, and Explore. By performing actions related to the talent your character will occasionally gain talent points. For example by crafting items or learning new recipes you may gain TP for your Craft talent or hitting a monster with magic may yield TP for the Magic talent.

After accumulating enough TP your character's talent will level up. With enough TP you can spend it on purchasing and upgrading skills. Leveling up a talent grants access to new skills and skill upgrades. There will be a mixture of active and passive skills. Active skills are skills that can be added to the toolbar and used as an action such as a magic spell. Passive skills are always affecting the player such as "Defense Up".

Idols can be used to channel different elements for Syle.