summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-08-18 23:44:40 -0300
committerJesusaves <cpntb1@ymail.com>2024-08-18 23:44:40 -0300
commit2b00d80c04a0c114a370e0b79d24938cc5126c05 (patch)
tree982053ec9db0b14acae2c612a5685e5feeaf9da6
parent1f2508c970d5c118f35984b30e714d675547739b (diff)
downloadserverdata-2b00d80c04a0c114a370e0b79d24938cc5126c05.tar.gz
serverdata-2b00d80c04a0c114a370e0b79d24938cc5126c05.tar.bz2
serverdata-2b00d80c04a0c114a370e0b79d24938cc5126c05.tar.xz
serverdata-2b00d80c04a0c114a370e0b79d24938cc5126c05.zip
Balancing: Reduce skill cooldown and do not harm players outside PVP maps
-rw-r--r--db/re/skill_db.conf20
-rw-r--r--npc/magic/traps.txt4
2 files changed, 14 insertions, 10 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index aa91ce1b6..85d0f007c 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -40511,16 +40511,16 @@ skill_db: (
Quest: true
}
CoolDown: {
- Lv1: 120000
- Lv2: 115000
- Lv3: 110000
- Lv4: 105000
- Lv5: 100000
- Lv6: 95000
- Lv7: 90000
- Lv8: 85000
- Lv9: 80000
- Lv10: 75000
+ Lv1: 100000
+ Lv2: 95000
+ Lv3: 90000
+ Lv4: 85000
+ Lv5: 80000
+ Lv6: 75000
+ Lv7: 70000
+ Lv8: 65000
+ Lv9: 60000
+ Lv10: 60000
}
CastTime: 100
FixedCastTime: 100
diff --git a/npc/magic/traps.txt b/npc/magic/traps.txt
index 6eed6fe9c..80c022e18 100644
--- a/npc/magic/traps.txt
+++ b/npc/magic/traps.txt
@@ -34,6 +34,10 @@ boss,0,0,0 script sk#trap NPC_TRAP,0,0,{
end;
OnTouch:
+ // Do not affect players outside PVP
+ if (!ispvpmap())
+ end;
+ // Collect player ID to compare with caster
.@id=getcharid(0);
// FALLTHROUGH
OnTouchNPC: