summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-20 19:27:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-20 19:27:41 +0000
commit983e9aef3e43804742d2ec47bec19935b4a1e4b7 (patch)
tree94a4cebc1724a09ecbe6076bcec7a89eea85563a
parent6ae26ef0260b6f25c3f68115c300020a2b5b84b9 (diff)
downloadhercules-983e9aef3e43804742d2ec47bec19935b4a1e4b7.tar.gz
hercules-983e9aef3e43804742d2ec47bec19935b4a1e4b7.tar.bz2
hercules-983e9aef3e43804742d2ec47bec19935b4a1e4b7.tar.xz
hercules-983e9aef3e43804742d2ec47bec19935b4a1e4b7.zip
- Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me that Vicious told him the chance was much lower like that)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8379 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/pc.c2
-rw-r--r--src/map/skill.c4
3 files changed, 5 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 44eba46b3..5b999490a 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/20
+ * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
+ that Vicious told him the chance was much lower like that) [Skotlex]
* Fixed some Homunc issues with HR servers (capping some values) [Toms]
* Added @hominfo command to obtain real values (not capped ones) [Toms]
2006/08/19
diff --git a/src/map/pc.c b/src/map/pc.c
index a241f8c9e..0acccb16e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3465,7 +3465,7 @@ int pc_memo(struct map_session_data *sd, int i) {
int pc_checkskill(struct map_session_data *sd,int skill_id)
{
if(sd == NULL) return 0;
- if( skill_id>=10000 ){
+ if( skill_id>=GD_SKILLBASE){
struct guild *g;
if( sd->status.guild_id>0 && (g=guild_search(sd->status.guild_id))!=NULL)
return guild_checkskill(g,skill_id);
diff --git a/src/map/skill.c b/src/map/skill.c
index feaa6b026..a94264530 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5434,12 +5434,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
g = sd?sd->state.gmaster_flag:guild_search(status_get_guild_id(src));
if (!g)
break;
+ clif_skill_nodamage(src,bl,skillid,skilllv,1);
for(i = 0; i < g->max_member; i++, j++) {
if (j>8) j=0;
if ((dstsd = g->member[i].sd) != NULL && sd != dstsd) {
if (map[dstsd->bl.m].flag.nowarp && !map_flag_gvg(dstsd->bl.m))
continue;
- clif_skill_nodamage(src,bl,skillid,skilllv,1);
if(map_getcell(src->m,src->x+dx[j],src->y+dy[j],CELL_CHKNOREACH))
dx[j] = dy[j] = 0;
pc_setpos(dstsd, map[src->m].index, src->x+dx[j], src->y+dy[j], 2);
@@ -5510,7 +5510,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case GS_GLITTERING:
if(sd) {
clif_skill_nodamage(src,bl,skillid,skilllv,1);
- if(rand()%100 < (50+10*skilllv))
+ if(rand()%100 < (10+10*skilllv))
pc_addspiritball(sd,skill_get_time(skillid,skilllv),10);
else if(sd->spiritball > 0)
pc_delspiritball(sd,1,0);