summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 20:42:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 20:42:35 +0000
commita49f930a9b8e423d2a87c3472950863dcc523b88 (patch)
treefa805e84fe1422333760f4e5a0be1e8025effdd9 /src/map
parentda62c8ed7c93b0032975e3683840e22289bfa4f2 (diff)
downloadhercules-a49f930a9b8e423d2a87c3472950863dcc523b88.tar.gz
hercules-a49f930a9b8e423d2a87c3472950863dcc523b88.tar.bz2
hercules-a49f930a9b8e423d2a87c3472950863dcc523b88.tar.xz
hercules-a49f930a9b8e423d2a87c3472950863dcc523b88.zip
- Fixed GS_GROUNDDRIFT
- Increased chance of GS_DESPERADO connecting to 20% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8373 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index fe6b57d97..beaa78e08 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7316,12 +7316,16 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
break;
case UNT_DESPERADO:
- if (!(rand()%10)) //Has a low chance of connecting. [Skotlex]
+ if (!(rand()%5)) //Has a low chance of connecting. [Skotlex]
skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
break;
case UNT_GROUNDDRIFT:
skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,sg->val1);
+ sg->unit_id = UNT_USED_TRAPS;
+ clif_changetraplook(&src->bl, UNT_FIREPILLAR_ACTIVE);
+ sg->limit=DIFF_TICK(tick,sg->tick)+1500;
+ sg->state.into_abyss = 1; //Prevent Remove Trap from giving you the trap back. [Skotlex]
break;
case UNT_KAENSIN: