* Updated Tiger Knucke Fist's 'fixed state' effect
* Corrected an error, sorry ^^; git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1381 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e704e3278b
commit
3a73bc0b1e
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
Date Added
|
Date Added
|
||||||
04/02
|
04/02
|
||||||
|
* Updated Tiger Knucke Fist's 'fixed state' effect [celest]
|
||||||
* Allowed people to enable/disable using the online column via
|
* Allowed people to enable/disable using the online column via
|
||||||
'register_users_online' in the login_athena.conf [Codemaster]
|
'register_users_online' in the login_athena.conf [Codemaster]
|
||||||
* Added the 3 baby skills WE_BABY, CALLBABY and CALLPARENT [celest]
|
* Added the 3 baby skills WE_BABY, CALLBABY and CALLPARENT [celest]
|
||||||
|
@ -959,9 +959,13 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
|
|||||||
// -- moonsoul (stun ability of new champion skill tigerfist)
|
// -- moonsoul (stun ability of new champion skill tigerfist)
|
||||||
//
|
//
|
||||||
case CH_TIGERFIST:
|
case CH_TIGERFIST:
|
||||||
if( rand()%100 < (10 + skilllv*10)*sc_def_vit/100 ) {
|
if (rand()%100 < (10 + skilllv*10)*sc_def_vit/100) {
|
||||||
int sec = skill_get_time2 (skillid,skilllv) - status_get_agi(bl)/10;
|
int sec = skill_get_time2 (skillid,skilllv) - status_get_agi(bl)/10;
|
||||||
status_change_start(bl,SC_STAN,skilllv,0,0,0,sec,0);
|
if (dstsd) {
|
||||||
|
dstsd->canmove_tick += sec;
|
||||||
|
dstsd->canact_tick += sec;
|
||||||
|
} else if (dstmd)
|
||||||
|
dstmd->canmove_tick += sec;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -6893,15 +6897,15 @@ int skill_use_id (struct map_session_data *sd, int target_id, int skill_num, int
|
|||||||
|
|
||||||
nullpo_retr(0, sd);
|
nullpo_retr(0, sd);
|
||||||
|
|
||||||
if(sd->bl.m != bl->m || pc_isdead(sd))
|
|
||||||
return 0;
|
|
||||||
if(skillnotok(skill_num, sd)) // [MouseJstr]
|
|
||||||
return 0;
|
|
||||||
if ((bl = map_id2bl(target_id)) == NULL)
|
if ((bl = map_id2bl(target_id)) == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
if (bl->type == BL_PC) {
|
if (bl->type == BL_PC) {
|
||||||
nullpo_retr(0, tsd = (struct map_session_data*)bl);
|
nullpo_retr(0, tsd = (struct map_session_data*)bl);
|
||||||
}
|
}
|
||||||
|
if(sd->bl.m != bl->m || pc_isdead(sd))
|
||||||
|
return 0;
|
||||||
|
if(skillnotok(skill_num, sd)) // [MouseJstr]
|
||||||
|
return 0;
|
||||||
if (tsd && skill_num == ALL_RESURRECTION && !pc_isdead(tsd))
|
if (tsd && skill_num == ALL_RESURRECTION && !pc_isdead(tsd))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user