Forráskód Böngészése

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
shennetsind 13 éve
szülő
commit
c4c9386aa7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -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;