Execute_AddSkillExp
Description
Adds skill experience to the specified entity's skill. The final amount is scaled by a performance factor derived from the target object's quality (ObjectGeneralEffect).
Note
Final experience added = F1 (original amount) * PerformanceFactor. PerformanceFactor multipliers: Skill_Superb (1.4x), Skill_High (1.2x), Skill_Good (1.0x), Skill_Fair (0.8x), Skill_Bad (0.6x). If F1 is negative the skill level will not decrease.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity that receives the skill experience. |
| S1 | The skill ID to add experience to (e.g., Charisma, Cooking). |
| F1 | The base amount of skill experience to add before applying the factor. |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Add 10 base experience to Self's Charisma skill | Self | AddSkillExp |
| Add 5 base experience to Target's Cooking skill | Target | AddSkillExp |
| Add 20 base experience to Self's Logic skill | Self | AddSkillExp |