- Increased Improve Concentration's hide-revealing range to 3 (7x7)
- Cleaned up a bit the Ankle Snare status code. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10042 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
dc42b4aa62
commit
e377e96bc9
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
========================
|
========================
|
||||||
03/21
|
03/21
|
||||||
|
* Increased Improve Concentration's hide-revealing range to 3 (7x7)
|
||||||
|
[Skotlex]
|
||||||
* Fixed RSX 0806 and General Ygnizem card [Playtester]
|
* Fixed RSX 0806 and General Ygnizem card [Playtester]
|
||||||
03/20
|
03/20
|
||||||
* Corrected itemskill calls in the item_db,
|
* Corrected itemskill calls in the item_db,
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
42,-1,6,1,-1,0,0,10,1,no,0,0,0,weapon,0 //MC_MAMMONITE#Mammonite#
|
42,-1,6,1,-1,0,0,10,1,no,0,0,0,weapon,0 //MC_MAMMONITE#Mammonite#
|
||||||
43,0,0,0,0,0,0,10,0,no,0,0,0,none,0 //AC_OWL#Owl's Eye#
|
43,0,0,0,0,0,0,10,0,no,0,0,0,none,0 //AC_OWL#Owl's Eye#
|
||||||
44,0,0,0,0,0,0,10,0,no,0,0,0,none,0 //AC_VULTURE#Vulture's Eye#
|
44,0,0,0,0,0,0,10,0,no,0,0,0,none,0 //AC_VULTURE#Vulture's Eye#
|
||||||
45,0,6,4,0,0x3,1,10,1,no,0,0,0,weapon,0 //AC_CONCENTRATION#Improve Concentration#
|
45,0,6,4,0,0x3,3,10,1,no,0,0,0,weapon,0 //AC_CONCENTRATION#Improve Concentration#
|
||||||
46,-9,8,1,-1,0,0,10,2,no,0,0,0,weapon,0 //AC_DOUBLE#Double Strafe#
|
46,-9,8,1,-1,0,0,10,2,no,0,0,0,weapon,0 //AC_DOUBLE#Double Strafe#
|
||||||
47,-9,6,2,-1,0x2,2,10,1,no,0,0,0,weapon,2 //AC_SHOWER#Arrow Shower#
|
47,-9,6,2,-1,0x2,2,10,1,no,0,0,0,weapon,2 //AC_SHOWER#Arrow Shower#
|
||||||
48,-1,8,0,-1,0,0,10,2,no,0,0,0,weapon,0 //TF_DOUBLE#Double Attack#
|
48,-1,8,0,-1,0,0,10,2,no,0,0,0,weapon,0 //TF_DOUBLE#Double Attack#
|
||||||
|
@ -7209,7 +7209,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
|
|||||||
case UNT_ANKLESNARE:
|
case UNT_ANKLESNARE:
|
||||||
if(sg->val2==0 && tsc){
|
if(sg->val2==0 && tsc){
|
||||||
int sec = skill_get_time2(sg->skill_id,sg->skill_lv);
|
int sec = skill_get_time2(sg->skill_id,sg->skill_lv);
|
||||||
if (sc_start2(bl,type,100,sg->skill_lv,sg->group_id,sec))
|
if (status_change_start(bl,type,100,sg->skill_lv,sg->group_id,0,0,sec, 8))
|
||||||
{
|
{
|
||||||
struct TimerData* td = get_timer(tsc->data[type].timer);
|
struct TimerData* td = get_timer(tsc->data[type].timer);
|
||||||
if (td) sec = DIFF_TICK(td->tick, tick);
|
if (td) sec = DIFF_TICK(td->tick, tick);
|
||||||
|
@ -4442,6 +4442,10 @@ int status_get_sc_def(struct block_list *bl, int type)
|
|||||||
case SC_CONFUSION:
|
case SC_CONFUSION:
|
||||||
sc_def = 300 +50*status->str +50*status->int_;
|
sc_def = 300 +50*status->str +50*status->int_;
|
||||||
break;
|
break;
|
||||||
|
case SC_ANKLE:
|
||||||
|
sc_def = 100*status->agi;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0; //Effect that cannot be reduced? Likely a buff.
|
return 0; //Effect that cannot be reduced? Likely a buff.
|
||||||
}
|
}
|
||||||
@ -5723,12 +5727,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
|
|||||||
tick /= 5; //TODO: Reduce skill's duration. But for how long?
|
tick /= 5; //TODO: Reduce skill's duration. But for how long?
|
||||||
break;
|
break;
|
||||||
case SC_ANKLE:
|
case SC_ANKLE:
|
||||||
if (sd && battle_config.pc_sc_def_rate != 100)
|
|
||||||
tick -= tick*status->agi*battle_config.pc_sc_def_rate/10000;
|
|
||||||
else if (battle_config.mob_sc_def_rate != 100)
|
|
||||||
tick -= tick*status->agi*battle_config.mob_sc_def_rate/10000;
|
|
||||||
else
|
|
||||||
tick -= tick*status->agi/100;
|
|
||||||
if(status->mode&MD_BOSS) // Lasts 5 times less on bosses
|
if(status->mode&MD_BOSS) // Lasts 5 times less on bosses
|
||||||
tick /= 5;
|
tick /= 5;
|
||||||
// Minimum trap time of 3+0.03*skilllv seconds [celest]
|
// Minimum trap time of 3+0.03*skilllv seconds [celest]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user