Skip to content

Commit

Permalink
Fix spell reticle for firestorm in config
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Jan 10, 2019
1 parent 639aa85 commit 8e4ad5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _work/data/Scripts/Content/GFA/config/reticle.d
Expand Up @@ -156,17 +156,17 @@ func void GFA_GetSpellReticle(var C_Npc target, var int spellID, var C_Spell spe
|| (STR_IndexOf(spellName, "THUNDERBOLT") != -1) {
// Ice spells
reticle.texture = RETICLE_SPADES;
} else if (STR_IndexOf(spellName, "FIRE") != -1)
|| (STR_IndexOf(spellName, "PYRO") != -1) {
// Fire spells
reticle.texture = RETICLE_HORNS;
} else if (STR_IndexOf(spellName, "WATER") != -1)
|| (STR_IndexOf(spellName, "INFLATE") != -1)
|| (STR_IndexOf(spellName, "GEYSER") != -1)
|| (STR_IndexOf(spellName, "WIND") != -1)
|| (STR_IndexOf(spellName, "STORM") != -1) {
// Water/wind spells
reticle.texture = GFA_AnimateReticleByTime(RETICLE_WHIRL, 30, 10); // Animate reticle with 30 FPS (10 Frames)
} else if (STR_IndexOf(spellName, "FIRE") != -1)
|| (STR_IndexOf(spellName, "PYRO") != -1) {
// Fire spells
reticle.texture = RETICLE_HORNS;
} else if (STR_IndexOf(spellName, "ZAP") != -1)
|| (STR_IndexOf(spellName, "LIGHTNING") != -1)
|| (STR_IndexOf(spellName, "FLASH") != -1)
Expand Down

0 comments on commit 8e4ad5c

Please sign in to comment.