EffectSkillIncrease(int, int)

Returns an effect which will cause a skill increase.

effect EffectSkillIncrease(
    int nSkill,
    int nValue
);

Parameters

nSkill

SKILL_*

nValue

The number of levels to increase the skill


Description

Returns an effect which will cause a skill increase of nValue levels if nSkill is valid.



Remarks

This function only creates the effect, it does not apply the effect to the object.


Version

1.22

Example

// Create an effect that will increase the object's skill 
// at hiding by 3 levels.

effect EffectSkillIncrease(SKILL_HIDE, 3);

See Also

functions: ApplyEffectToObject | EffectSkillDecrease
categories: Effects Functions | Talents/Skills/Feats Functions
constants: SKILL_* Constants


 author: Brett Lathrope, editor: Charles Feduke
 Send comments on this topic.