Avatar billede superraider Nybegynder
19. december 2004 - 23:18 Der er 4 kommentarer og
1 løsning

kan ikke få det til at virke

Jeg har noget script der virker når jeg har kopiret koden ind, når jeg så laver noget asp kode der skriver det samme kode, så virker det ikke-

er der nogen der kan se et sted hvor koderne afviger fra hinanden



<script language="javascript">
var imageUrl = "http://wowvault.ign.com/talents/images/";
var build = "1";
var talentImages = {
"Balance" : imageUrl + "talent_druidbalance_r1.jpg",
"Feral Combat" : imageUrl + "talent_druidferalcombat_r1.jpg",
"Restoration" : imageUrl + "talent_druidrestoration_r1.jpg",
0 : 0};
var className = "Druid";
var currentType = "Balance";
var types = new Array("Balance", "Feral Combat", "Restoration");
var talents = new Array();
<----- dette er kilde kode ------>
talents[225] = new Talent("Blood Frenzy", "Feral Combat", 3, 3, "Ability_GhoulFrenzy_sm.png", "", "", "Your critical strikes from Cat form abilities that add combo points have a {0} chance to add an additional combo point.", new Array(), new Array(new TalentRequirement(223, 5)));
talents[527] = new Talent("Combat Endurance", "Restoration", 3, 2, "Spell_Nature_AncestralGuardian_sm.png", "", "", "Allows {0} of your Health regeneration to work while in combat.", new Array(), new Array());
talents[538] = new Talent("Faerie Fire (Bear)", "Feral Combat", 4, 4, "Spell_Nature_FaerieFire_sm.png", "", "5 Rage<br>Instant cast<br>30 yard range<br>Requires Bear Form or Dire Bear Form", "Decrease the armor of the target by 175 for 40 seconds. While affected, the target cannot stealth or turn invisible.", new Array(), new Array());
talents[537] = new Talent("Faerie Fire (Cat)", "Feral Combat", 4, 3, "Spell_Nature_FaerieFire_sm.png", "", "15 Energy<br>Instant cast<br>30 yard range<br>Requires Cat Form", "Decrease the armor of the target by 175 for 40 seconds. While affected, the target cannot stealth or turn invisible.", new Array(), new Array());
talents[540] = new Talent("Feline Swiftness", "Feral Combat", 5, 3, "Spell_Nature_SpiritWolf_sm.png", "", "", "Increases your movement speed by 30% while in Cat form. Only active outdoors.", new Array(), new Array());
talents[786] = new Talent("Feral Charge", "Feral Combat", 3, 2, "Ability_Hunter_Pet_Bear_sm.png", "", "5 Rage<br>Instant cast<br>15 second cooldown<br>8-25 yard range<br>Requires Bear Form or Dire Bear Form", "Causes you to charge an enemy, stopping its movement and interrupting any spell being cast for 4 seconds.", new Array(), new Array());
talents[220] = new Talent("Ferocity", "Feral Combat", 1, 2, "Ability_Hunter_Pet_Hyena_sm.png", "", "", "Reduces the cost of your Maul, Swipe, Claw, and Rake abilities by {0}.", new Array(), new Array());
talents[190] = new Talent("Furor", "Restoration", 1, 3, "Spell_Holy_BlessingOfStamina_sm.png", "", "", "Gives you a {0} chance to gain 10 Rage when you shapeshift into Bear form.", new Array(), new Array());
talents[528] = new Talent("Gift of Nature", "Restoration", 3, 3, "Spell_Nature_ProtectionformNature_sm.png", "", "", "Increases the effect of your Healing Touch, Rejuvenation, Regrowth, and Tranquility spells by 5%.", new Array(), new Array());
talents[784] = new Talent("Hurricane", "Balance", 7, 2, "Spell_Nature_Cyclone_sm.png", "", "665 Mana<br>Instant cast<br>1 minute cooldown", "Creates a violent storm in the area surrounding the caster, causing 53 Nature damage to all nearby enemies every 1 second, and reducing the attack speed of all nearby enemies by 20%. Lasts 10 seconds.", new Array(), new Array());
talents[222] = new Talent("Improved Bash", "Feral Combat", 2, 2, "Ability_Druid_Bash_sm.png", "", "", "Increases the stun duration of your Bash ability by {0}.", new Array(), new Array());
talents[221] = new Talent("Improved Demoralizing Roar", "Feral Combat", 1, 3, "Ability_Druid_DemoralizingRoar_sm.png", "", "", "Increases the Attack Power reduction of your Demoralizing Roar by {0}.", new Array(), new Array());
talents[526] = new Talent("Improved Enrage", "Restoration", 2, 3, "Ability_Druid_Enrage_sm.png", "", "", "Reduces the time required to generate Rage from your Enrage ability by {0} and slightly reduces the Armor penalty.", new Array(), new Array(new TalentRequirement(190, 5)));
talents[207] = new Talent("Improved Entangling Roots", "Balance", 2, 1, "Spell_Nature_StrangleVines_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting Entangling Roots.", new Array(), new Array());
talents[192] = new Talent("Improved Healing Touch", "Restoration", 2, 2, "Spell_Nature_HealingTouch_sm.png", "", "", "Reduces the mana cost of your Healing Touch spell by {0}.", new Array(), new Array());
talents[189] = new Talent("Improved Mark of the Wild", "Restoration", 1, 2, "Spell_Nature_Regeneration_sm.png", "", "", "Increases the effects of your Mark of the Wild spell by {0}.", new Array(), new Array());
talents[208] = new Talent("Improved Moonfire", "Balance", 2, 2, "Spell_Nature_StarFall_sm.png", "", "", "Increases the damage and critical strike chance of your Moonfire spell by {0}.", new Array(), new Array());
talents[782] = new Talent("Improved Nature's Grasp", "Balance", 1, 3, "Spell_Nature_NaturesWrath_sm.png", "", "", "Increases the chance for your Nature's Grasp to entangle an enemy by {0}.", new Array(), new Array(new TalentRequirement(781, 1)));
talents[235] = new Talent("Improved Pounce", "Feral Combat", 7, 3, "Ability_Druid_SupriseAttack_sm.png", "", "", "Gives your Pounce ability a {0} chance to add an additional combo point to the target.", new Array(), new Array());
talents[785] = new Talent("Improved Prowl", "Feral Combat", 3, 1, "Ability_Ambush_sm.png", "", "", "Reduces the chance enemies have to detect you while Prowling. {0}.", new Array(), new Array());
talents[542] = new Talent("Improved Ravage", "Feral Combat", 6, 3, "Ability_Druid_Ravage_sm.png", "", "", "Increases the critical strike chance of your Ravage ability by {0}.", new Array(), new Array());
talents[532] = new Talent("Improved Regrowth", "Restoration", 6, 3, "Spell_Nature_ResistNature_sm.png", "", "", "Increases the critical effect chance of your Regrowth spell by {0}.", new Array(), new Array());
talents[198] = new Talent("Improved Rejuvenation", "Restoration", 4, 4, "Spell_Nature_Rejuvenation_sm.png", "", "", "Increases the effect of your Rejuvenation spell by {0}.", new Array(), new Array());
talents[227] = new Talent("Improved Shred", "Feral Combat", 4, 1, "INV_Misc_MonsterFang_01_sm.png", "", "", "Reduces the Energy cost of your Shred ability by {0}.", new Array(), new Array());
talents[211] = new Talent("Improved Starfire", "Balance", 3, 1, "Spell_Arcane_StarFire_sm.png", "", "", "Gives your Starfire spell a {0} chance to stun the target for 3 seconds.", new Array(), new Array());
talents[214] = new Talent("Improved Thorns", "Balance", 4, 1, "Spell_Nature_Thorns_sm.png", "", "", "Gives your Thorns spell a {0} chance to cause the target to take an additional 100% damage.", new Array(), new Array());
talents[201] = new Talent("Improved Tranquility", "Restoration", 5, 4, "Spell_Nature_Tranquility_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting your Tranquility spell.", new Array(), new Array());
talents[780] = new Talent("Improved Wrath", "Balance", 1, 1, "Spell_Nature_AbolishMagic_sm.png", "", "", "Reduces the cast time of your Wrath spell by {0}.", new Array(), new Array());
talents[788] = new Talent("Innervate", "Restoration", 7, 2, "Spell_Nature_Lightning_sm.png", "", "42 Mana<br>Instant cast<br>6 minute cooldown<br>30 yard range", "Increases the target's Mana regeneration by 400% and allows 100% of the target's Mana regeneration to continue while casting. Lasts 20 seconds.", new Array(), new Array(new TalentRequirement(530, 5)));
talents[529] = new Talent("Intensity", "Restoration", 3, 4, "Spell_Shadow_DetectInvisibility_sm.png", "", "", "Gives you a {0} chance to gain 40 Energy when you shapeshift into Cat form.", new Array(), new Array());
talents[534] = new Talent("Moonfury", "Balance", 5, 1, "Spell_Nature_MoonGlow_sm.png", "", "", "Increases the damage done by your Starfire and Moonfire spells by {0}.", new Array(), new Array());
talents[215] = new Talent("Moonglow", "Balance", 4, 2, "Spell_Nature_Sentinal_sm.png", "", "", "Reduces the Mana cost of your Moonfire and Starfire spells by {0}.", new Array(), new Array(new TalentRequirement(208, 5)));
talents[191] = new Talent("Nature's Focus", "Restoration", 2, 1, "Spell_Nature_HealingWaveGreater_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting the Healing Touch or Regrowth spells.", new Array(), new Array());
talents[544] = new Talent("Nature's Grace", "Balance", 5, 2, "Spell_Nature_NaturesBlessing_sm.png", "", "", "Your critical strikes with the Wrath, Starfire, and Moonfire spells grace you with a blessing of nature, reducing the casting time of your next Regrowth or Healing Touch spell by 1 second.", new Array(), new Array());
talents[781] = new Talent("Nature's Grasp", "Balance", 1, 2, "Spell_Nature_NaturesWrath_sm.png", "", "50 Mana<br>Instant cast<br>1 minute cooldown", "While active, any time an enemy strikes the caster, they have a 35% chance to become afflicted by Entangling Roots (Rank 1). Only usable outdoors. 1 charge. Lasts 45 seconds.", new Array(), new Array());
talents[209] = new Talent("Nature's Reach", "Balance", 2, 3, "Spell_Nature_NatureTouchGrow_sm.png", "", "", "Increases the range of your Wrath, Entangling Roots, Faerie Fire (caster form only), Moonfire, and Starfire spells by {0}.", new Array(), new Array());
talents[199] = new Talent("Nature's Swiftness", "Restoration", 5, 1, "Spell_Nature_RavenForm_sm.png", "", "Instant cast<br>3 minute cooldown", "When activated, your next Nature spell becomes an instant cast spell.", new Array(), new Array(new TalentRequirement(191, 5)));
talents[543] = new Talent("Omen of Clarity", "Balance", 3, 3, "Spell_Frost_ManaBurn_sm.png", "", "120 Mana<br>Instant cast", "Imbue the Druid's weapon with natural energy. Each hit has a chance of causing the caster to enter a Clearcasting state. The Clearcasting state reduces the Mana cost of your next damage or healing spell by 100%. The Omen of Clarity enchantment lasts 5 minutes.", new Array(), new Array());
talents[536] = new Talent("Predatory Strikes", "Feral Combat", 4, 2, "Ability_Hunter_Pet_Cat_sm.png", "", "", "Increases the Attack Power bonus from your Cat form ability by {0}.", new Array(), new Array());
talents[787] = new Talent("Primal Fury", "Feral Combat", 3, 4, "Ability_Racial_Cannibalize_sm.png", "", "", "Gives you a {0} chance to gain an additional 5 Rage anytime you get a critical strike while in Bear form.", new Array(), new Array(new TalentRequirement(223, 5)));
talents[234] = new Talent("Primal Instinct", "Feral Combat", 7, 2, "Spell_Nature_ForceOfNature_sm.png", "", "", "Reduces the Mana cost of your shapeshifting abilities by 25%.", new Array(), new Array());
talents[530] = new Talent("Reflection", "Restoration", 4, 2, "Spell_Frost_WindWalkOn_sm.png", "", "", "Allows {0} of your Mana regeneration to continue while casting.", new Array(), new Array());
talents[223] = new Talent("Sharpened Claws", "Feral Combat", 2, 3, "Ability_Druid_Maul_sm.png", "", "", "Increases your critical strike chance while in Bear or Cat form by {0}.", new Array(), new Array());
talents[541] = new Talent("Strength of the Wild", "Feral Combat", 6, 2, "Spell_Holy_BlessingOfAgility_sm.png", "", "", "Increases your Strength while in Bear or Cat form by {0}.", new Array(), new Array(new TalentRequirement(536, 5)));
talents[531] = new Talent("Subtlety", "Restoration", 5, 3, "Ability_EyeOfTheOwl_sm.png", "", "", "Reduces the threat generated by your healing spells by {0}.", new Array(), new Array(new TalentRequirement(528, 1)));
talents[783] = new Talent("Swiftshifting", "Balance", 2, 4, "Spell_Nature_WispSplode_sm.png", "", "", "Reduces the delay before using spells and abilities by {0} after having shapeshifted.", new Array(), new Array());
talents[539] = new Talent("Thick Hide", "Feral Combat", 5, 1, "INV_Misc_Pelt_Bear_03_sm.png", "", "", "Increases your Armor rating from items while in Bear form by {0}.", new Array(), new Array());
talents[545] = new Talent("Vengeance", "Balance", 6, 2, "Spell_Nature_Purge_sm.png", "", "", "Increases the critical strike damage of your Starfire, Moonfire, and Wrath spells by {0}.", new Array(), new Array(new TalentRequirement(544, 1)));
talents[546] = new Talent("Weapon Balance", "Balance", 5, 3, "INV_Staff_01_sm.png", "", "", "Increases the damage you deal with melee weapons by {0}.", new Array(), new Array(new TalentRequirement(543, 1)));

<------  her er det samme kode, genereret ud fra en database og aspkode.

talents[225] = new Talent("Blood Frenzy", "Feral Combat", 3, 3, "Ability_GhoulFrenzy_sm.png", "", "", "Your critical strikes from Cat form abilities that add combo points have a {0} chance to add an additional combo point.", new Array(), new Array(new TalentRequirement(223, 5)));
talents[527] = new Talent("Combat Endurance", "Restoration", 3, 2, "Spell_Nature_AncestralGuardian_sm.png", "", "", "Allows {0} of your Health regeneration to work while in combat.", new Array(), new Array());
talents[538] = new Talent("Faerie Fire (Bear)", "Feral Combat", 4, 4, "Spell_Nature_FaerieFire_sm.png", "", "5 Rage<br>Instant cast<br>30 yard range<br>Requires Bear Form or Dire Bear Form", "Decrease the armor of the target by 175 for 40 seconds. While affected, the target cannot stealth or turn invisible.", new Array(), new Array());
talents[537] = new Talent("Faerie Fire (Cat)", "Feral Combat", 4, 3, "Spell_Nature_FaerieFire_sm.png", "", "15 Energy<br>Instant cast<br>30 yard range<br>Requires Cat Form", "Decrease the armor of the target by 175 for 40 seconds. While affected, the target cannot stealth or turn invisible.", new Array(), new Array());
talents[540] = new Talent("Feline Swiftness", "Feral Combat", 5, 3, "Spell_Nature_SpiritWolf_sm.png", "", "", "Increases your movement speed by 30% while in Cat form. Only active outdoors.", new Array(), new Array());
talents[786] = new Talent("Feral Charge", "Feral Combat", 3, 2, "Ability_Hunter_Pet_Bear_sm.png", "", "5 Rage<br>Instant cast<br>15 second cooldown<br>8-25 yard range<br>Requires Bear Form or Dire Bear Form", "Causes you to charge an enemy, stopping its movement and interrupting any spell being cast for 4 seconds.", new Array(), new Array());
talents[220] = new Talent("Ferocity", "Feral Combat", 1, 2, "Ability_Hunter_Pet_Hyena_sm.png", "", "", "Reduces the cost of your Maul, Swipe, Claw, and Rake abilities by {0}.", new Array(), new Array());
talents[190] = new Talent("Furor", "Restoration", 1, 3, "Spell_Holy_BlessingOfStamina_sm.png", "", "", "Gives you a {0} chance to gain 10 Rage when you shapeshift into Bear form.", new Array(), new Array());
talents[528] = new Talent("Gift of Nature", "Restoration", 3, 3, "Spell_Nature_ProtectionformNature_sm.png", "", "", "Increases the effect of your Healing Touch, Rejuvenation, Regrowth, and Tranquility spells by 5%.", new Array(), new Array());
talents[784] = new Talent("Hurricane", "Balance", 7, 2, "Spell_Nature_Cyclone_sm.png", "", "665 Mana<br>Instant cast<br>1 minute cooldown", "Creates a violent storm in the area surrounding the caster, causing 53 Nature damage to all nearby enemies every 1 second, and reducing the attack speed of all nearby enemies by 20%. Lasts 10 seconds.", new Array(), new Array());
talents[222] = new Talent("Improved Bash", "Feral Combat", 2, 2, "Ability_Druid_Bash_sm.png", "", "", "Increases the stun duration of your Bash ability by {0}.", new Array(), new Array());
talents[221] = new Talent("Improved Demoralizing Roar", "Feral Combat", 1, 3, "Ability_Druid_DemoralizingRoar_sm.png", "", "", "Increases the Attack Power reduction of your Demoralizing Roar by {0}.", new Array(), new Array());
talents[526] = new Talent("Improved Enrage", "Restoration", 2, 3, "Ability_Druid_Enrage_sm.png", "", "", "Reduces the time required to generate Rage from your Enrage ability by {0} and slightly reduces the Armor penalty.", new Array(), new Array(new TalentRequirement(190, 5)));
talents[207] = new Talent("Improved Entangling Roots", "Balance", 2, 1, "Spell_Nature_StrangleVines_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting Entangling Roots.", new Array(), new Array());
talents[192] = new Talent("Improved Healing Touch", "Restoration", 2, 2, "Spell_Nature_HealingTouch_sm.png", "", "", "Reduces the mana cost of your Healing Touch spell by {0}.", new Array(), new Array());
talents[189] = new Talent("Improved Mark of the Wild", "Restoration", 1, 2, "Spell_Nature_Regeneration_sm.png", "", "", "Increases the effects of your Mark of the Wild spell by {0}.", new Array(), new Array());
talents[208] = new Talent("Improved Moonfire", "Balance", 2, 2, "Spell_Nature_StarFall_sm.png", "", "", "Increases the damage and critical strike chance of your Moonfire spell by {0}.", new Array(), new Array());
talents[782] = new Talent("Improved Nature"s Grasp", "Balance", 1, 3, "Spell_Nature_NaturesWrath_sm.png", "", "", "Increases the chance for your Nature"s Grasp to entangle an enemy by {0}.", new Array(), new Array(new TalentRequirement(781, 1)));
talents[235] = new Talent("Improved Pounce", "Feral Combat", 7, 3, "Ability_Druid_SupriseAttack_sm.png", "", "", "Gives your Pounce ability a {0} chance to add an additional combo point to the target.", new Array(), new Array());
talents[785] = new Talent("Improved Prowl", "Feral Combat", 3, 1, "Ability_Ambush_sm.png", "", "", "Reduces the chance enemies have to detect you while Prowling. {0}.", new Array(), new Array());
talents[542] = new Talent("Improved Ravage", "Feral Combat", 6, 3, "Ability_Druid_Ravage_sm.png", "", "", "Increases the critical strike chance of your Ravage ability by {0}.", new Array(), new Array());
talents[532] = new Talent("Improved Regrowth", "Restoration", 6, 3, "Spell_Nature_ResistNature_sm.png", "", "", "Increases the critical effect chance of your Regrowth spell by {0}.", new Array(), new Array());
talents[198] = new Talent("Improved Rejuvenation", "Restoration", 4, 4, "Spell_Nature_Rejuvenation_sm.png", "", "", "Increases the effect of your Rejuvenation spell by {0}.", new Array(), new Array());
talents[227] = new Talent("Improved Shred", "Feral Combat", 4, 1, "INV_Misc_MonsterFang_01_sm.png", "", "", "Reduces the Energy cost of your Shred ability by {0}.", new Array(), new Array());
talents[211] = new Talent("Improved Starfire", "Balance", 3, 1, "Spell_Arcane_StarFire_sm.png", "", "", "Gives your Starfire spell a {0} chance to stun the target for 3 seconds.", new Array(), new Array());
talents[214] = new Talent("Improved Thorns", "Balance", 4, 1, "Spell_Nature_Thorns_sm.png", "", "", "Gives your Thorns spell a {0} chance to cause the target to take an additional 100% damage.", new Array(), new Array());
talents[201] = new Talent("Improved Tranquility", "Restoration", 5, 4, "Spell_Nature_Tranquility_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting your Tranquility spell.", new Array(), new Array());
talents[780] = new Talent("Improved Wrath", "Balance", 1, 1, "Spell_Nature_AbolishMagic_sm.png", "", "", "Reduces the cast time of your Wrath spell by {0}.", new Array(), new Array());
talents[788] = new Talent("Innervate", "Restoration", 7, 2, "Spell_Nature_Lightning_sm.png", "", "42 Mana<br>Instant cast<br>6 minute cooldown<br>30 yard range", "Increases the target"s Mana regeneration by 400% and allows 100% of the target"s Mana regeneration to continue while casting. Lasts 20 seconds.", new Array(), new Array(new TalentRequirement(530, 5)));
talents[529] = new Talent("Intensity", "Restoration", 3, 4, "Spell_Shadow_DetectInvisibility_sm.png", "", "", "Gives you a {0} chance to gain 40 Energy when you shapeshift into Cat form.", new Array(), new Array());
talents[534] = new Talent("Moonfury", "Balance", 5, 1, "Spell_Nature_MoonGlow_sm.png", "", "", "Increases the damage done by your Starfire and Moonfire spells by {0}.", new Array(), new Array());
talents[215] = new Talent("Moonglow", "Balance", 4, 2, "Spell_Nature_Sentinal_sm.png", "", "", "Reduces the Mana cost of your Moonfire and Starfire spells by {0}.", new Array(), new Array(new TalentRequirement(208, 5)));
talents[191] = new Talent("Nature"s Focus", "Restoration", 2, 1, "Spell_Nature_HealingWaveGreater_sm.png", "", "", "Gives you a {0} chance to avoid interruption caused by damage while casting the Healing Touch or Regrowth spells.", new Array(), new Array());
talents[544] = new Talent("Nature"s Grace", "Balance", 5, 2, "Spell_Nature_NaturesBlessing_sm.png", "", "", "Your critical strikes with the Wrath, Starfire, and Moonfire spells grace you with a blessing of nature, reducing the casting time of your next Regrowth or Healing Touch spell by 1 second.", new Array(), new Array());
talents[781] = new Talent("Nature"s Grasp", "Balance", 1, 2, "Spell_Nature_NaturesWrath_sm.png", "", "50 Mana<br>Instant cast<br>1 minute cooldown", "While active, any time an enemy strikes the caster, they have a 35% chance to become afflicted by Entangling Roots (Rank 1). Only usable outdoors. 1 charge. Lasts 45 seconds.", new Array(), new Array());
talents[209] = new Talent("Nature"s Reach", "Balance", 2, 3, "Spell_Nature_NatureTouchGrow_sm.png", "", "", "Increases the range of your Wrath, Entangling Roots, Faerie Fire (caster form only), Moonfire, and Starfire spells by {0}.", new Array(), new Array());
talents[199] = new Talent("Nature"s Swiftness", "Restoration", 5, 1, "Spell_Nature_RavenForm_sm.png", "", "Instant cast<br>3 minute cooldown", "When activated, your next Nature spell becomes an instant cast spell.", new Array(), new Array(new TalentRequirement(191, 5)));
talents[543] = new Talent("Omen of Clarity", "Balance", 3, 3, "Spell_Frost_ManaBurn_sm.png", "", "120 Mana<br>Instant cast", "Imbue the Druid"s weapon with natural energy. Each hit has a chance of causing the caster to enter a Clearcasting state. The Clearcasting state reduces the Mana cost of your next damage or healing spell by 100%. The Omen of Clarity enchantment lasts 5 minutes.", new Array(), new Array());
talents[536] = new Talent("Predatory Strikes", "Feral Combat", 4, 2, "Ability_Hunter_Pet_Cat_sm.png", "", "", "Increases the Attack Power bonus from your Cat form ability by {0}.", new Array(), new Array());
talents[787] = new Talent("Primal Fury", "Feral Combat", 3, 4, "Ability_Racial_Cannibalize_sm.png", "", "", "Gives you a {0} chance to gain an additional 5 Rage anytime you get a critical strike while in Bear form.", new Array(), new Array(new TalentRequirement(223, 5)));
talents[234] = new Talent("Primal Instinct", "Feral Combat", 7, 2, "Spell_Nature_ForceOfNature_sm.png", "", "", "Reduces the Mana cost of your shapeshifting abilities by 25%.", new Array(), new Array());
talents[530] = new Talent("Reflection", "Restoration", 4, 2, "Spell_Frost_WindWalkOn_sm.png", "", "", "Allows {0} of your Mana regeneration to continue while casting.", new Array(), new Array());
talents[223] = new Talent("Sharpened Claws", "Feral Combat", 2, 3, "Ability_Druid_Maul_sm.png", "", "", "Increases your critical strike chance while in Bear or Cat form by {0}.", new Array(), new Array());
talents[541] = new Talent("Strength of the Wild", "Feral Combat", 6, 2, "Spell_Holy_BlessingOfAgility_sm.png", "", "", "Increases your Strength while in Bear or Cat form by {0}.", new Array(), new Array(new TalentRequirement(536, 5)));
talents[531] = new Talent("Subtlety", "Restoration", 5, 3, "Ability_EyeOfTheOwl_sm.png", "", "", "Reduces the threat generated by your healing spells by {0}.", new Array(), new Array(new TalentRequirement(528, 1)));
talents[783] = new Talent("Swiftshifting", "Balance", 2, 4, "Spell_Nature_WispSplode_sm.png", "", "", "Reduces the delay before using spells and abilities by {0} after having shapeshifted.", new Array(), new Array());
talents[539] = new Talent("Thick Hide", "Feral Combat", 5, 1, "INV_Misc_Pelt_Bear_03_sm.png", "", "", "Increases your Armor rating from items while in Bear form by {0}.", new Array(), new Array());
talents[545] = new Talent("Vengeance", "Balance", 6, 2, "Spell_Nature_Purge_sm.png", "", "", "Increases the critical strike damage of your Starfire, Moonfire, and Wrath spells by {0}.", new Array(), new Array(new TalentRequirement(544, 1)));
talents[546] = new Talent("Weapon Balance", "Balance", 5, 3, "INV_Staff_01_sm.png", "", "", "Increases the damage you deal with melee weapons by {0}.", new Array(), new Array(new TalentRequirement(543, 1)));
Avatar billede superraider Nybegynder
19. december 2004 - 23:19 #1
kopirere det over i noteblok, så ser det straks mere overskuelige ud, så kan man også se ligheder i mange af linjerne
Avatar billede superraider Nybegynder
19. december 2004 - 23:19 #2
her er asp koden-
<%
open()
SQL = "Select * from talent where race='" & request.QueryString("class") & "' order by name"
set rs = conn.execute(SQL)
do While Not rs.EOF
if rs("lowreg") = true then
strtemp = "new TalentRequirement(" & rs("regidx") & ", " & rs("reglevel") & ")"
else
strtemp = ""
end if
response.Write "talents[" & rs("idx") & "] = new Talent(""" & rs("name") & """, """ & rs("type") & """, " & rs("tier") & ", " & rs("column") & ", """ & rs("icon") & """, """ & rs("coords") & """, """ & rs("details") & """, """ & rs("Description") & """, new Array(), new Array(" & strtemp & "));" & vbCrLf &_
rs.movenext
loop
%>
Avatar billede superraider Nybegynder
19. december 2004 - 23:35 #3
tror det jeg skal bruge er en asp kode, der kan replace " med '
Avatar billede superraider Nybegynder
19. december 2004 - 23:39 #4
Replace(rs("Description"), """, "'") dette virker ikke helt, hvordan gør jeg det
Avatar billede superraider Nybegynder
19. december 2004 - 23:49 #5
spørger i asp delen
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester