25 lines
684 B
Markdown
25 lines
684 B
Markdown
### Function: AddSkillBonus(spawn, skill_id, value)
|
|
|
|
**Description:**
|
|
Placeholder description.
|
|
|
|
**Parameters:**
|
|
- `luaspell` (int32) - Integer value `luaspell`.
|
|
- `skill_id` (uint32) - Integer value `skill_id`.
|
|
- `value` (int32) - Integer value `value`.
|
|
|
|
**Returns:** None.
|
|
|
|
**Example:**
|
|
|
|
```lua
|
|
-- From Spells/AA/BattlemagesFervor.lua
|
|
function cast(Caster, Target, SkillAmt)
|
|
AddSkillBonus(Target, GetSkillIDByName("Focus"), SkillAmt)
|
|
AddSkillBonus(Target, GetSkillIDByName("Disruption"), SkillAmt)
|
|
AddSkillBonus(Target, GetSkillIDByName("Subjugation"), SkillAmt)
|
|
AddSkillBonus(Target, GetSkillIDByName("Ordination"), SkillAmt)
|
|
Say(Caster, "need formula")
|
|
end
|
|
```
|