summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-15 01:05:45 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-15 01:05:45 -0200
commitd87b39b4013f77d0d553c9495b6ee1b21b64cff3 (patch)
tree7746d9ff04a4fb36a763617122de96571c56141b
parent3600344bf97be5dec4a7e6c3b34c581dd1e1dedb (diff)
downloadserverdata-d87b39b4013f77d0d553c9495b6ee1b21b64cff3.tar.gz
serverdata-d87b39b4013f77d0d553c9495b6ee1b21b64cff3.tar.bz2
serverdata-d87b39b4013f77d0d553c9495b6ee1b21b64cff3.tar.xz
serverdata-d87b39b4013f77d0d553c9495b6ee1b21b64cff3.zip
Stealing skill is now stated.
-rw-r--r--db/re/skill_db.conf3
-rw-r--r--db/re/skill_tree.conf3
-rw-r--r--npc/items/shovel.txt13
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%