diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-28 13:20:00 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-28 13:20:00 +0000 |
commit | b746ecdef2ed9b57db672f43842f2434da4c79f8 (patch) | |
tree | d806065951ebba476cf5bb45bbf4380f29db6598 /src/map/unit.c | |
parent | 3071aad50f5cab693678372c5d7c2285800bb5d9 (diff) | |
download | hercules-b746ecdef2ed9b57db672f43842f2434da4c79f8.tar.gz hercules-b746ecdef2ed9b57db672f43842f2434da4c79f8.tar.bz2 hercules-b746ecdef2ed9b57db672f43842f2434da4c79f8.tar.xz hercules-b746ecdef2ed9b57db672f43842f2434da4c79f8.zip |
Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, WZ_GRAVITATION, NJ_RAIGEKISAI).(bugreport:6342, bugreport:6336, bugreport:6339, bugreport:6331)
Added some Kagerou/Oboro skills. Special mega thanks to Judas :)
(KO_HUUMARANKA,KO_MEIKYOUSISUI,KO_ZANZOU,KO_KYOUGAKU,KO_JYUSATSU,KO_KAHU_ENTEN,KO_HYOUHU_HUBUKI,KO_KAZEHU_SEIRAN,KO_DOHU_KOUKAI)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16520 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index a65aafb97..26ff0f0fe 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2231,6 +2231,7 @@ int unit_free(struct block_list *bl, clr_type clrtype) case BL_PC: { struct map_session_data *sd = (struct map_session_data*)bl; + int i; if( status_isdead(bl) ) pc_setrestartvalue(sd,2); @@ -2253,6 +2254,8 @@ int unit_free(struct block_list *bl, clr_type clrtype) pc_cleareventtimer(sd); pc_inventory_rental_clear(sd); pc_delspiritball(sd,sd->spiritball,1); + for(i = 1; i < 5; i++) + pc_del_talisman(sd, sd->talisman[i], i); if( sd->reg ) { //Double logout already freed pointer fix... [Skotlex] aFree(sd->reg); |