From d87b39b4013f77d0d553c9495b6ee1b21b64cff3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jan 2019 01:05:45 -0200 Subject: Stealing skill is now stated. --- db/re/skill_db.conf | 3 ++- db/re/skill_tree.conf | 3 ++- npc/items/shovel.txt | 13 +------------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index edf10ac7b..7c122c089 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -1916,6 +1916,7 @@ skill_db: ( Description: "Steal" MaxLevel: 10 Range: 1 + CoolDown: 3000 Hit: "BDT_SKILL" SkillType: { Enemy: true @@ -1925,7 +1926,7 @@ skill_db: ( NoDamage: true } Requirements: { - SPCost: 10 + SPCost: 30 } }, { diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf index 39bd6570c..fe154873c 100644 --- a/db/re/skill_tree.conf +++ b/db/re/skill_tree.conf @@ -46,8 +46,9 @@ Human: { TMW2_KALMURK: 4 TMW2_MKPOT: 20 - // TODO + // Unrelated ALL_INCCARRY: 0 + TF_STEAL: 0 ///////////////// Main class // Magic Warrior diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index c237a6394..b12d7e897 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -278,20 +278,9 @@ OnHour00: deletearray $@WBT_Random_x; deletearray $@WBT_Random_y; - // Current treasures list - // Food, misc, ores, gems, "rares" - setarray .@Treasure, - Bread,Candy,BugLeg,Cheese,Acorn, - Bread,Candy,BugLeg,Cheese,Acorn, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, - Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, - Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, - Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - BoneArrow, SacredBullet; // Scatter Treasure. - // There are 25600 possible cells, and over half of them are collisions. + // There are 25600 possible cells, and about 60% of them are collisions. // As we don't prevent treasure from falling on collision, it is pretty high. // If two treasures fall on same place, the previous treasure will be deleted. // Theoretical chance of uncovering a treasure on an attempt is 0.12% to 0.70% -- cgit v1.2.3-70-g09d2