summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-05 23:10:47 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-05 23:10:47 +0000
commit5eb3f45f49a8437e82fa27a52c70c0a611acaeb3 (patch)
tree8a92fc9ac462787ea804d064477318eb6e3cdb80 /src/map/clif.c
parentcf7fd037745119d150db5e91fb3978b00f2b8851 (diff)
downloadhercules-5eb3f45f49a8437e82fa27a52c70c0a611acaeb3.tar.gz
hercules-5eb3f45f49a8437e82fa27a52c70c0a611acaeb3.tar.bz2
hercules-5eb3f45f49a8437e82fa27a52c70c0a611acaeb3.tar.xz
hercules-5eb3f45f49a8437e82fa27a52c70c0a611acaeb3.zip
- Updated the code so that now a range of a skill is determined by the skill's range in the db. Now only skills with less than 5 cells of range are melee.
- The inf2 parameter of the skill_db is now red as an hexadecimal. - Updated comments and inf2 values of the skill_db to use the new format. - Soul Change now can't be casted on self. - Updated range of Grandcross, Granddarkness and Gospel to 5 so when they attack their attack type is counted as ranged. - Splitted the super novice flag in two, to keep seperate counters for the chant and for the self-revival. The self-revive will now trigger only once per level per session, if you relog you can have it trigger again. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9794 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 8f4e625f1..9ba4f3959 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8614,19 +8614,19 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data* sd) // S 008c/00f
char buf[256];
int next = pc_nextbaseexp(sd);
if (next > 0 && (sd->status.base_exp * 1000 / next)% 100 == 0) {
- switch (sd->state.snovice_flag) {
+ switch (sd->state.snovice_call_flag) {
case 0:
if (strstr(message, msg_txt(504)))
- sd->state.snovice_flag++;
+ sd->state.snovice_call_flag++;
break;
case 1:
sprintf(buf, msg_txt(505), sd->status.name);
if (strstr(message, buf))
- sd->state.snovice_flag++;
+ sd->state.snovice_call_flag++;
break;
case 2:
if (strstr(message, msg_txt(506)))
- sd->state.snovice_flag++;
+ sd->state.snovice_call_flag++;
break;
case 3:
if (skillnotok(MO_EXPLOSIONSPIRITS,sd))
@@ -8634,7 +8634,7 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data* sd) // S 008c/00f
clif_skill_nodamage(&sd->bl,&sd->bl,MO_EXPLOSIONSPIRITS,-1,
sc_start(&sd->bl,SkillStatusChangeTable(MO_EXPLOSIONSPIRITS),100,
17,skill_get_time(MO_EXPLOSIONSPIRITS,1))); //Lv17-> +50 critical (noted by Poki) [Skotlex]
- sd->state.snovice_flag = 0;
+ sd->state.snovice_call_flag= 0;
break;
}
}