Fixed Royal Guard shield dispell to take shieldmdef in account for the duration
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15592 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
08059c9f61
commit
c4c9386aa7
@ -7478,7 +7478,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
|
||||
|
||||
case LG_SHIELDSPELL:
|
||||
if( flag&1 ) {
|
||||
int duration = /*(sd) ? sd->shieldmdef * 2000 :*/ 10000;
|
||||
int duration = (sd) ? sd->shieldmdef * 2000 : 10000;
|
||||
sc_start(bl,SC_SILENCE,100,skilllv,duration);
|
||||
} else if( sd ) {
|
||||
int opt = skilllv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user