Wednesday, 13 July 2011

Code snippets

Loop to check bag items:
function CleanBag(sellprize) for i, item in pairs(inventory.BagSlot) do if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT and settings.profile.options.INV_AUTOSELL_TOSLOT >= item.SlotNumber then if (item:isType("weapons") or item:isType("armor")) and sellprize > item.Worth then printf("Deleting Item: "..item.Name.."\n"); item:delete() end end end end
Mailbox functions Setting up healer and DPS bot

Emailing between Toons, and removing equipment

Player Experience level...experience = memoryReadRepeat("intptr", getProc(), addresses.charExp_address, 0)

Mounting a horse " player:mount(); "

Complete Noob guide to setting up ROMBOT

Creating function to check for equipment to wear/upgrade

Profile code:
<onLoad>
      -- Additional Lua code to execute after loading the profile
      -- and before the bot starts. e.g. You could overwrite profile settings here
      -- like: changeProfileOption("HP_REST", 60);
      inventory:update();

      if(player.Level == 1) then
         openGiftbags1To10(player.Level);
      else
         levelupSkills1To10("loadonly");
      end;
      

      if(player.Class1 == CLASS_SCOUT ) then
         changeProfileOption("ARROW_QUIVER", 2);
      end;
     if( player.Level > 6 ) then
        table.insert(settings.profile.mobs, "Jungb\132r");
        changeProfileOption("TARGET_LEVELDIF_BELOW",3)
     end    

   </onLoad>

   <onDeath>
      -- Additional Lua code to execute on death
      -- pauseOnDeath(); -- Stop the script
   </onDeath>

   <onLeaveCombat>
      -- Additional Lua code to execute after a target is finished

         if(player.Level == 10) then
            __WPL:setForcedWaypointType("TRAVEL")
         end;
         
      inventory:update()
      if( inventory:itemTotalCount(211376) > 0 ) then
            inventory:useItem(211376)
            yrest(1000);
            sendMacro("StaticPopup_OnClick(StaticPopup1, 1);")
    end;
     
    if ( inventory:itemTotalCount(200609) &gt; 45 ) then
      if( player.Level > 7 ) then
         init_exp = RoMScript("GetPlayerExp()")
           if(init_exp > 50) then
                 loadPaths("MeineTwinks/questlogar.xml");
            end;
       end;
    end;           

      if 2 > inventory:itemTotalCount(0) then 
         loadPaths("MeineTwinks/verkaufen.xml")
     end

    lootBodies()

   </onLeaveCombat>

   <onLevelup>
      -- thats a demo for opening the gift bags from Lvl 1-10
      -- and levelup the skills for a new character (mage or priest recommended)
      -- you can delete that lines if you don't want to use that

         -- single skill would be: sendMacro("SetSpellPoint(4,2);");
         -- or levelupSkill(_skillname, _times)
         levelupSkills1To10();

         -- open giftbag and equipt content
         openGiftbags1To10(player.Level);
         
      inventory:useItem(201521)
        yrest(500);
        
     if( player.Level > 6 ) then
        table.insert(settings.profile.mobs, "Jungb\132r");
        changeProfileOption("TARGET_LEVELDIF_BELOW",3)
     end

   </onLevelup>

   <onSkillCast>
      -- Additional Lua code to execute when casting a skill
      -- Note: arg1 contains the skill being used.
      -- i.e. arg1.Name will be the name of the skill being cast.
   </onSkillCast>

Friday, 6 May 2011

RoM: Elite Skills

Image:Classicon_ranger_thief.png Scout / Rogue

The Scout / Rogue combo features a medium-cooldown skill that does damage and buffs crit rate (Weak Spot), a pacifying skill (Blinding Powder), a buff to Lasso (Lasso Master), a powerful defense reducing cooldown (Sapping Arrows), and a powerful ranged attack that also reduces the target's maximum HP (Poisonous Bite).
IconSkill NameLvlConsumeCast TimeCooldownRangeSkill EffectUpgradeable
Image:Skill ran new20-2.pngWeak Spot1530 FocusInstant15.0 seconds150Aiming at the target's weak spot inflicts 60.0% ranged weapon DPS. Also increases your chance to do critical damage by 3.0% for 15.0 seconds.+3.6% damage and +3.0% crit chance per upgrade
Image:Skill ran new50-2.pngBlinding Powder2030 EnergyInstant60.0 seconds100Prevents your target from attacking for 5.0 seconds. (Effect removed when target is attacked.)No
Image:Skill ran new60-2.pngLasso Master25N/APassiveN/AN/AYour Lasso now hinders the target from movement and attacks.No
Image:Skill ran new25-2.pngSapping Arrows3030 EnergyInstant20.0 seconds150Decreases the target's magic and physical defense by 1.0%for 12 seconds.-0.5% magic and physical defense per upgrade
Image:Skill ran new35-6.pngPoisonous Bite3525 Focus1.0 second10.0 seconds160The deadly poison on your arrow inflicts 60% ranged weapon DPS. Each critical hit gives a 50% chance to lower the enemy's maximum HP by 2.0% for 5 seconds.+4.8% damage and -0.2% max HP per upgrade
Image:Skill ran new40-2.pngExploiting Shot40N/APassive20 secondsN/AWhen your shot makes a critical hit, your target receives additional 2% physical damage. Lasts 8 seconds. (Can be triggered only once every 20 seconds.0.22% damage per level
Image:Skill ran new45-2.pngDeadly Counterattack45N/APassiveN/AN/AWhen your Piercing Arrow hits the target it may cause your next physical attack to be a critical hit. (Can be used only once every 20 seconds. Increases critical hit rate by 10 points for 12 seconds, critical hit rate is increased per level of Piercing Arrow.)+2.2 critical hit rate per level of Piercing Arrow.
Image:Skill ran new50-7.pngPoisonous Spit50N/APassiveN/AN/AKeep your Reflected Shot from losing reflective damage. Also, with every Reflected Shot or Combo Shot, there is a chance that the target will be poisoned if you are carrying Poison Powder. (This effect can only be triggered once in a 20-second period.) ?

Image:Classicon_thief_ranger.png Rogue / Scout

Rogue / Scouts lean toward critical hits and buffs to the Scout aspect, including an increase in Shot's chance to critically hit (Deadly Shot), a silence component to Throat Attack (Slit Throat), a cooldown generating energy from successful normal attacks (Energy Thief), a self-buff increasing the chance to crit and damage done by crits (Combat Master), and a cooldown that absorbs one physical attack (Substitute).
IconSkill NameLvlConsumeCast TimeCooldownRangeSkill EffectUpgradeable
Image:Skill war new45-1.pngDeadly Shot15N/APassiveN/AN/ARaises your Shot's chance to deal critical hits by 30%.No
Image:Skill thi new60-4.pngSlit Throat20N/APassiveN/AN/AYour Throat Attack now also Silences the target for 4 seconds.No
Image:skill_thi_new45-2.pngEnergy Thief2520 FocusInstant120.0 secondsSelfEvery normal attack restores 20 points of energy. This effect will last 15 seconds.No
Image:Skill thi new60-5.pngCombat Master3030 FocusInstantNoneSelfRaises your Critical Physical Hit Rate by 25...216.2 and enhances Critical Physical Damage by 5...60% for 900 seconds. (This skill increases Critical Physical Damage by a maximum of 60.0%.)+3.8 Critical Physical Hit Rate and +1.1% Critical Physical Damage per level
Image:Skill thi new35-1.pngSubstitute3530 FocusInstant60.0 secondsSelfConjures a substitute for you for 20.0 seconds to take 1 physical attack for you.No
Image:Skill thi new40-4.pngTongue Poison401 Poison Bottle1 second30 secondsNoneUsing Tongue Poison on your target causes the target's Casting Time to increase by 60.0% for 10.0 seconds. (Casting time of players increases by 60.0% for 5.0 Seconds)(Consumes one poison bottle.)No
Image:Skill thi new45-7.pngCoerce45PassiveN/AN/AN/AThe energy cost for using Low Blow is reduced by 5. When your target's HP drops below 30%, using Low Blow on your target will increase the damage of your physical attack by 2...20%.+0.4% attack per level
Image:Skill thi new50-5.pngWraith Attack50N/APassiveN/AN/AYour Shadowstab will damage 2 targets at once. However, damage done to the second target will be half.No

Image:Classicon_augur_mage.png Priest / Mage

The Priest / Mage combine is fairly eclectic, combining crowd control (Freeze), the ability to remove curses (Remove Curse), a mana restoration group buff (Angel's Blessing), a mana restoration cooldown (Angel's Carol), and a buff to Lightning that places a debuff increasing wind and water damage done to a target if the target is afflicted with Bone Chill when struck.
IconSkill NameLvlConsumeCast TimeCooldownRangeSkill EffectUpgradeable
image:skill_mag_new15-4.pngFreeze1535 mana(+3.25 perupgrade)1 SecondNone225Frost Roots your target for 10.0 (+0.4 per upgrade) seconds. (Effect is removed when target receives damage). Also completely heals target.+0.4 seconds and +3.25 mana per upgrade
Image:skill_aug_new60-1.pngRemove Curse20150Instant10.0 sec150Removes curse from target.No
image:skill_aug_new20-2.pngAngel's Blessing25100 mana(+10.0 perupgrade)InstantNonePartyThe Angel's Blessing grants your party restoration of additional 10.0 (+0.8 per upgrade) mana every 5 seconds. Lasts 600.0 seconds.
Is affected by healing bonus.
+0.8 mana every 5 seconds, +10.0 mana cost per upgrade
Image:Skill aug new50-4.pngAngel's Carol30NoneInstant180.0 secondsPartyAngels appear among the group and all party members regenerate 30.0 (+4.5 per upgrade) mana every 2 seconds. Lasts 10 seconds.+4.5 mana per upgrade
Image:Skill aug new35-7.pngLightning Rod35N/APassiveN/AN/AIf Bone Chill is on the target, striking it with Lightning will also cause an Electric Shock, which raises suffered Water and Wind damage for 20 seconds.Does not affect pre-existing effects. (For example, Bone Chill.)No
Image:Skill aug new40-4.pngEnlightenment40N/APassiveN/AN/AWhen you use Heal, there is a chance to temporarily increase your Wisdom.No
Image:Skill aug new45-7.pngIcewind Blade4520 ManaInstant3 Seconds180Water and wind energies combine to form a sharpened blade that inflicts 30 Wind damage and 30 Water damage to the target.+9 wind and water damage per level
Image:Skill aug new50-12.pngWind Fairy50250 mana6 seconds ?SelfSummon a wind fairy to assist you.No
Image:Skill aug new50-13.pngWindrider Halo50N/AInstantN/A200The wind fairy you summon gets this skill. Raises the Magical Accuracy of party members within a radius of 200 by 6.0% and the master's Heal increases by 5.0%.No

Image:Classicon_mage_augur.png Mage / Priest

The Mage / Priest combination is the most utilitarian of the combinations, affording access to the desirable Essence of Magic buff, the ability to remove curses (Purify), an increase in the potential ofFlame and Fireball (Eruption), a change in Rising Tide's mechanics (Rising Tide Mastery), and a self-healing effect to Holy Aura (Shrine of the Holy Aura).
IconSkill NameLvlConsumeCast TimeCooldownRangeSkill EffectUpgradeable
Image:Skill mag new60-2.pngEssence of Magic1535 ManaInstantNone200Raises magical damage by 10.0 (+6.0 per upgrade) points for 900.0 seconds.+6.0 damage per upgrade
Image:skill_mag_new45-4.pngPurify20150 ManaInstant10.0 seconds200Removes a curse from target.No
Image:skill_mag_new20-4.pngOutburst25N/APassiveN/AN/AFlame and Fireball now have a higher chance to deal additional damage.No
Image:Skill mag new60-3.pngRising Tide Mastery30N/APassiveN/AN/AYour Rising Tide is now an instant cast with a cooldown of 4.0 seconds.Also increases mana cost. Lowers range to 200 from 217No
Image:Skill mag new35-5.pngShrine of the Holy Aura35N/APassiveN/AN/AUsed with a Holy Aura, there is extra recovery of HP but all mana costs raise by 20 points.Holy Aura will heal you 300 HP every second.No
Image:Skill mag new40-4.pngGrand Dispel40N/APassiveN/AN/AAllows your Purify to also dispel Harmful Effects. (Or you can dispel two curses at once)No
Image:Skill mag new45-9.pngDisable45N/APassiveN/AN/AA successful Flame or Plasma Arrow hit has the chance to decrease the targets resistance to magic critical hits for 15.0 seconds (can be used only once every 20 seconds)No
Image:Skill mag new50-14.pngMagic Drain5040 manaInstant60 seconds180Steal the target's attack power, and lower the target's magical and physical attacks by 2%. It will also increase your own magical attack by 2%. Effective for 15 seconds.0.16% per upgrade

Image:Classicon_warrior_warden.png Warrior / Warden

IconSkill NameLvlConsumeCast TimeCooldownRangeSkill EffectUpgradeable
Image:Skill war new15-6.pngSavage Strike15N/APassiveN/AN/AIncrease your physical attack after you hit a target with a Surprise Attack.
(This effect can only be triggered once every 20 seconds.)
No
Image:Skill war new20-6.pngAttack Weakener2035 manaInstant15 seconds50Use when target is vulnerable to inflict 100% main hand weapon DPS and reduce target's physical attack by 10% for 10 seconds.+5.5% DPS per level
Image:Skill war new25-2.pngMental Bestiary25N/APassiveN/AN/AUnderstand the structure of organisms, increasing the damage of your slash attacks on vulnerable beasts and humanoid monsters.None
Image:Skill war new30-3.pngSavage Whirlwind3035 manaInstant8 seconds50Harness primal natural forces to launch an attack. Inflicts 110...440%* main hand weapon DPS on target.+6.6% per level
Image:skill_war_new35-3fw.pngWild Howl35N/APassiveN/AN/AUpon hitting the target your Savage Whirlwind can temporary increase your own and your party members' physical and magical damage. (This effect can only be triggered once every 40 seconds.)None
Image:skill_war_new40-4fw.pngAwakening of the Wild40N/AInstant60 secondsSelfPrevents Root and Slow effects, and also increases critical hit rate by 50 for 10 seconds.None
Image:skill_war_new45-2w.pngBattle Creed4530 ManaInstant30 SecondsSelfIncreases your physical critical damage by 1% for 600 seconds. While the effect lasts, when you strike a target with a Slash or Probing Attack, it may lower aggro by 15% for 15 seconds.
(This effect can only be triggered once every 30 seconds.)
+0.18% damage per level
Image:skill_war_new50-1w.pngAir Tremor5040 ManaInstant4 Seconds80Coalesces the power within the surrounding atmosphere in your body and then releases it in an instant, inflicting 50% main hand weapon DPS to all targets within a radius of 80.+3% per level

Image:Classicon_warden_warrior.png Warden / Warrior

Favors Spirit of the Oak as a pet. Ire is a unique skill in that, rather than focusing the damage on you, its turns the focus of taking damage to your pet. Restraint is a fantastic buff provided to you if your Spirit of the Oak dies, increasing your defense, and giving you a chance to stun the target for a full four seconds. Pulse Mastery causes your Savage Power, which temporarily increases your attack power, to further increase that power. Coat of Arms causes your ability to lower your mana cost, or increase the amount of rage you earn.
IconSkill NameLvlConsumeRangeCast TimeCooldownSkill EffectUpgradeable
Image:Skill_ward_new15-1.png‎Double Chop1525 rage50Instant6.0 secondsInflicts 60...225% main hand weapon DPS twice.+3.3% per level
Image:Skill_ward_new20-4.png‎Beast Chop2020 rage50Instant ?Inflicts 80...320% main hand weapon DPS and increases your pet's Physical Attack Power by 2...15% for 10 seconds.
(After the effect has ended it cannot be triggered again for 20 seconds.)
Image:Skill_ward_new25-1.png‎Ire2535 rage50InstantCooldown 30 SecondsForces the target to turn towards the pet for 5 seconds.
(After the effect has ended it cannot be triggered again for 20 seconds.)
None
Image:Skill_war_new30-1.png‎Restraint30N/APassiveN/AN/AIf your Spirit of the Oak dies, your defense will be increased by 5% for 20 seconds. Additionally your normal attacks have a chance to make your target unable to use skills for 4 seconds. But you cannot summon a Spirit of the Oak for the next 40 seconds.
(this is a pet skill)
can only be used when you have the Spirit of the Oak pet summoned.
+0.6% Per Level
Image:skill_war_new35-1wf.pngPulse Mastery35N/APassiveN/AN/AMaster the savage forces inside of you. Savage Power will increase your physical attack power even more.None
Image:skill_war_new40-1wf.png‎Resonance of Life40N/AN/AInstantCooldown 120 SecondsSacrifices your Spirit of the Oak to pour its vigor into your body. You recover 30 HP. Additionally, increases you maximum HP by 5% for 12 seconds.None
Image:skill_ward_new45-4.png‎Will Attack4520 Mana50Instant3 SecondsInflicts 80% main hand weapon DPS and may also increase your next Beast Chop's damage by 50% or reduce your Charged Chop casting time by 1 second for 8 seconds.
(Only one of these two buffs may be gained within 30 seconds.)
+4.8% DPS per level
Image:skill_ward_new50-1.png‎Coat of Arms50N/AN/APassiveN/AWhen your Charged Chop or Double Chop strikes a target, it may lower the mana required for your next skill by 30% and increase your rage accumulation speed by 30%.






Elite Skills Certificate Materials List





2 elites skills are available and attainable at each Certificate Level by switching the Primary-Secondary class combination of the character, and repeating the Certificate Materials and Certificate turn-in process again.
Certificate LevelElite Skill Master LocationElite Skill MasterCertificate Materials
15Varanas Class HallListi Pursdon3x Ash Lumber, 3x Zinc Nugget, 3x Mountain Demon Grass Sap, 8000 Gold Pieces
20Varanas Class HallListi Pursdon3x Willow Lumber, 3x Tin Nugget, 3x Beetroot Sap, 15000 Gold Pieces
25Silverspring (near FA)Fay Akjad15x Crystals (see type below), 20000 Gold Pieces
30SilverfallMenqid Beman3x Oak Lumber, 3x Copper Nugget, 3x Moxa Sap, 28000 Gold Pieces
35Aslan South (near NoM)Sisileena Chab15x Essence (see type below), 35000 Gold Pieces
40Obsidian StrongholdBelin Pursdon10x Minotaur's Soul, 10x Sound of Wind, 42000 Gold Pieces
45Obsidian StrongholdBelin Pursdon20x Harpy Holy Spirit and 58,000 gold
50Varanas Class HallSigg FletcherTo have access to these skills, players have to follow a new, unique quest line.

Contents

 [hide]

Level 25 Elite Skill Materials Notes

Your secondary class determines what crystals you need for the level 25 certificate.
Secondary Class:
The Crystals are dropped by mobs in the Forsaken Abbey Instance, Bloody Gallery, and by the Bosses in Windmill Basement.

Level 35 Elite Skill Materials Notes

Your secondary class determines which Essences you need for the level 35 certificate.
Secondary Class:
The Essences are dropped by mobs in Necropolis of Mirrors.

Level 50 Elite Skill Materials Notes

You have to follow a new questline, which takes you to the following places:
  • Necropolis of Mirrors and Paspers Shrine
  • Ystra Labyrinth, Mystic Altar and Ruins of the ice dwarf kingdom (50)
  • Shrine of Kalin, Paspers Shrine, Treasure Trove
  • Aisha
  • And one last class specific quest.












Thanks to RoMwiki for this information