Sunlight
Priest_Talent_Sunlight in Skills[Skill]s that affect allies empower them for ::ref_duration:: with ::ref_name::. The next [ComboAttack] consum ::ref_name:: to deal an additional ::ref_dmg::.
- id
- Priest_Talent_Sunlight
- type
- 21
- flags
- 0
- nature
- 5
- script
- function onInflictHit(hit) { var validSkill = hit.isSkill || isSkillFromPrayer(hit.baseSkill); if (validSkill && hit.target.isAlly(owner)) { playStep(Steps.SunlightBuff, hit.target); } }
- status
- 5
Raw data
{
"id": "Priest_Talent_Sunlight",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/icons/Priest_talent.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {},
"type": 21,
"vars": {},
"flags": 0,
"props": {
"talent": {
"maxPoints": 1
}
},
"steps": [
{
"id": "SunlightBuff",
"on": 13,
"type": 1,
"props": {
"status": {
"ref": "Priest_Talent_Sunlight_Status"
},
"stepGlobal": {
"globalId": "SunlightBuff"
}
}
}
],
"texts": {
"desc": "[Skill]s that affect allies empower them for ::ref_duration:: with ::ref_name::. The next [ComboAttack] consum ::ref_name:: to deal an additional ::ref_dmg::.",
"name": "Sunlight"
},
"nature": 5,
"script": "function onInflictHit(hit) {\n\tvar validSkill = hit.isSkill || isSkillFromPrayer(hit.baseSkill);\n\tif (validSkill && hit.target.isAlly(owner)) {\n\t\tplayStep(Steps.SunlightBuff, hit.target);\n\t}\n}",
"status": 5,
"mastery": []
}