Champion mod question
Posted: Mon Sep 17, 2012 11:54 pm
After reviewing the Scripting Reference and reading many of the posts here, I am still not clear how does one get and alter the stats of a Champion of a particular slot.
For example, if I wanted to get the "air" level of a Champion, I see I would need to use the function.
Champion:getSkillLevel("air_magic")
The reference to a Champion in a particular slot, say Slot 2, I see would be by the function:
party:getChampion(2)
So to get the skill level of the second Champion, would the script be:
party:getChampion(2):Champion:getSkillLevel("air_magic")
Or what would be the correct syntax?
For example, if I wanted to get the "air" level of a Champion, I see I would need to use the function.
Champion:getSkillLevel("air_magic")
The reference to a Champion in a particular slot, say Slot 2, I see would be by the function:
party:getChampion(2)
So to get the skill level of the second Champion, would the script be:
party:getChampion(2):Champion:getSkillLevel("air_magic")
Or what would be the correct syntax?