Buff A Lowbie

[relConBox] <span style='color:#FFD700'> 1. <a href="#sectional1">Explanation: Cast a buff of appropriate rank for a lowbie without opening spell book</a> 2. <a href="#sectional2">Priests: Power Word: Shield</a> 3. <a href="#sectional3">Mage: Arcane Intellect</a> 4. <a href="#sectional4">Druid: "Mark of the Wild"</a></span> <h1><span style='color:#FFD700'><font size="3"><span class="Headline"> 1. <a id="sectional1">Explanation: Cast a buff of appropriate rank for a lowbie without opening spell book</a></font></span></span></h1><p><font size="2"> Tossing a buff on a player that is significantly lower than you is a hassle because it means opening the spell book and looking for the apppropriate rank of the spell. I will use the example below to help explain how you can accomplish this on any class of character that casts buffs. This script seriously takes the the pain out of buffing lowbies. This is a complicated script and as with any script any typo results in a error message. The example below is the priest class "Renew" buff. <b>How it works:</b> [INDENT]1. < if not UnitIsFriend("player","target")then TargetUnit("player")> means if your target isn't friendly (ie.. a mob) then it targets you. So even if you target a mob or a member of the opposing forces in the world then you wil have the benefit of casting the buff on yourself. 2. < for i=r,1,-1 do if (t>=l[i]-10) > This means to start at 1.. and count up while checking the target's level to see if the target is within 10 lvls of the level of each rank of your buff. [/INDENT] <b>Essential knowledge for customization to your character:</b> [INDENT]1. < r=#; > This is used as a placeholder. You must replace the # with whatever is your current highest rank in the particular buff that the script is designed to cast. This is the only thing you will have to change in the entire script. You will not have to swap anything on your action bars either. 2. < l={8,14,20,26,32,38,44,50,56} > This is what the script uses to check against the players ranking and the targets level. This is done to determine the appropriate rank of the spell to be cast on the target. This enables the script to always casts the highest buff (available to the caster) based on target level. These numbers are the level at which a player gains a new rank level for the buff used in this script. In the case of "Renew" it has rank change at levels {8,14,20,26,32,38,44,50,56}. So in total there are 9 ranks of the renew spell. 3. < CastSpellByName("Renew(Rank "..i..")") > Name of the buff in the script must be programmed this way.[/INDENT]</font></p> [INDENT]<span style='color:#33CCCC'><font size="2">/script r=0;l={8,14,20,26,32,38,44,50,56};if not UnitIsFriend("player","target")then TargetUnit("player"); end;t=UnitLevel("target");for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName("Renew(Rank "..i..")");break;end;end </span></font>[/INDENT] <h1><span style='color:#FFD700'><font size="3"><span class="Headline"> 2. <a id="sectional2">Priests: Power Word: Shield</a></font></span></span></h1><p><font size="2"> This one is for Power Word: Shield. Do not forget to replace the r=# with the # of your appropriate rank.</font></p> [INDENT]<span style='color:#33CCCC'><font size="2">/script r=#;l={6,12,18,24,30,36,42,48,54,60};if not UnitIsFriend("player","target")then TargetUnit("player");end; t=UnitLevel("target");for i=r,1,-1 do if (t>=l[i]-10)then CastSpellByName("Power Word: Shield(Rank "..i..")");break;end;end </span></font>[/INDENT] <h1><span style='color:#FFD700'><font size="3"><span class="Headline"> 3. <a id="sectional3">Mage: Arcane Intellect</a></font></span></span></h1><p><font size="2"> This one is for the Mage buff "Arcane Intellect". Do not forget to replace the r=# with the # of your appropriate rank.</font></p>[INDENT]<span style='color:#33CCCC'><font size="2">/script r=0;l={1,14,28,42,56};if not UnitIsFriend("player","target") then TargetUnit("player");end;t=UnitLevel("target"); for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName ("Arcane Intellect(Rank "..i..")");break;end;end </span></font>[/INDENT] <h1><span style='color:#FFD700'><font size="3"><span class="Headline"> 4. <a id="sectional4">Druid: "Mark of the Wild"</a></font></span></span></h1><p><font size="2">This one is for the Druid buff "Wark of the Wild". Do not forget to replace the r=# with the # of your appropriate rank. </font>[INDENT]<span style='color:#33CCCC'><font size="2">/script r=0;l={1,10,20,30,40,50,60};if not UnitIsFriend("player","target")then TargetUnit("player"); end;t=UnitLevel("target"); for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName("Mark of the Wild(Rank "..i..")");break;end;end </span></font>[/INDENT]

Comments

aaqzmzp quick payday loans

hwhfvjwk Bad Credit Loans

qvtzeagi cialis vGIQUa

qvtzeagi cialis vGIQUa generic cialis FSqkj viagra online 2233 viagra generic 7903

Search

User login