Change Skill
Change Skill¶
Teaches or removes a skill from a hero.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Add | When enabled, the skill will be taught to the hero. When disabled, the skill will be removed. | Toggle |
| Growth | The amount to adjust the growth of the skill. | Variable or Value |
| Hero | The hero to teach or remove the skill from. | Character |
| Rank | The rank to assign to the skill when teaching it. | Variable or Value |
| Skill | The skill to teach or remove. | Skill |
Examples¶
Teach Skill 0 to Hero 0¶
This teaches skill 0 to hero 0 at the default rank of 1 with no additional growth.
{"Data":{"Growth":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Hero":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"IsAdd":true,"Rank":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Skill":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.ChangeSkillCommand"}
Teach Skill 2 to Hero 1 at Rank 5 with Growth 10¶
This teaches skill 2 to hero 1 at rank 5 with 10 growth points applied.
{"Data":{"Growth":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"10","VariableIndex":0,"Metadata":null},"Hero":{"ReferenceType":0,"Index":1,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Metadata":null},"IsAdd":true,"Rank":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"5","VariableIndex":0,"Metadata":null},"Skill":{"ReferenceType":0,"Index":2,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"2","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.ChangeSkillCommand"}
Remove Skill 3 from Hero 0¶
This removes skill 3 from hero 0.
{"Data":{"Growth":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Hero":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"IsAdd":false,"Rank":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Skill":{"ReferenceType":0,"Index":3,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"3","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.ChangeSkillCommand"}