(Spell (Index "35535")(Name "Cloud of Distortion")(damage_type "13")(description_string "Decreases the target's range of vision.")(dur_type "2")(duration "120")(level "1")(power_cost "9")(range "2000")(target "1")(Expires "1409417629"))
(Spell (Index "35536")(Name "Cloud of Obscurity")(damage_type "13")(description_string "Decreases the target's range of vision.")(dur_type "2")(duration "120")(level "1")(power_cost "13")(range "2100")(target "1")(Expires "1409417629"))
(Spell (Index "62006")(Name "Abrasive Boulders")(cast_timer "600")(damage_type "15")(description_string "Damages the target.")(level "1")(power_cost "22")(range "1500")(target "1")(Expires "1407660849"))
(Spell (Index "62014")(Name "Greater Gust of Sand")(cast_timer "1000")(damage_type "15")(description_string "Damages the target.")(level "1")(power_cost "20")(radius "350")(range "1500")(target "1")(Expires "1407660829"))
List<SpellLine> spellLines = client.Player.GetSpellLines();
Dictionary<string, KeyValuePair<Spell, SpellLine>> spells = client.Player.GetUsableSpells(spellLines, false);
ushort counter = 0;
foreach (KeyValuePair<string, KeyValuePair<Spell, SpellLine>> spl in spells)
{
if (counter == id)
{
spell = spl.Value.Key;
break;
}
counter++;
}
Return to “%s” DOL Development Discussion
Users browsing this forum: No registered users and 1 guest