summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-18 17:15:37 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-18 17:15:37 +0000
commitf0e5b3a195cedb1bd62e7cc3f214c004aa209042 (patch)
tree6403b1148ce28afa24d2b3f44bb150af99c146cb /src
parentd0df3ab0440f3dc383328370835a3712134e92e7 (diff)
downloadhercules-f0e5b3a195cedb1bd62e7cc3f214c004aa209042.tar.gz
hercules-f0e5b3a195cedb1bd62e7cc3f214c004aa209042.tar.bz2
hercules-f0e5b3a195cedb1bd62e7cc3f214c004aa209042.tar.xz
hercules-f0e5b3a195cedb1bd62e7cc3f214c004aa209042.zip
* Added bard/dancer songs and duets to the nodispell list. (bugreport:4411)
* Applied Ai4rei's patch for the skill WE_CALLPARTNER (bugreport:4437) * Lots of updates to monster stats/drops, all fairly minor. * Updated the price and weight of a handful of etc items. * Removed drops for quest-spawned Satan Morroc. (bugreport:4425) * Changed weight on novice consumable items to 0 (bugreport:4442) * Updated Sage quest skill quest with the file curtosy of 5511. * Fixed the Pink Crystal being named Blue Crystal in Flavius. * Touched up the archer tutorial, and phantasmic arrow quests. * Fixed Turbo Track records for 8 and 16 normal saving as expert. (bugreport:4433) * Corrected the positions for the arug castle 04 exterior flags. (bugreport:4436) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14409 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c7
-rw-r--r--src/map/clif.h2
-rw-r--r--src/map/skill.c8
3 files changed, 10 insertions, 7 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 58661057b..f33a286b7 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7370,7 +7370,7 @@ void clif_wedding_effect(struct block_list *bl)
}
/*==========================================
* ?なたに逢いたい使用時名前叫び
- *------------------------------------------
+ *------------------------------------------*/
void clif_callpartner(struct map_session_data *sd)
{
@@ -7385,15 +7385,12 @@ void clif_callpartner(struct map_session_data *sd)
if(p){
memcpy(WBUFP(buf,2),p,NAME_LENGTH);
}else{
- map_reqchariddb(sd,sd->status.partner_id);
- chrif_searchcharid(sd->status.partner_id);
WBUFB(buf,2) = 0;
}
clif_send(buf,packet_len(0x1e6),&sd->bl,AREA);
}
- return;
}
-*/
+
/*==========================================
* Marry [DracoRPG]
diff --git a/src/map/clif.h b/src/map/clif.h
index 68f36dc59..035052256 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -156,7 +156,7 @@ void clif_emotion(struct block_list *bl,int type);
void clif_talkiebox(struct block_list* bl, const char* talkie);
void clif_wedding_effect(struct block_list *bl);
void clif_divorced(struct map_session_data* sd, const char* name);
-//void clif_callpartner(struct map_session_data *sd);
+void clif_callpartner(struct map_session_data *sd);
void clif_playBGM(struct map_session_data* sd, struct block_list* bl, const char* name);
void clif_soundeffect(struct map_session_data* sd, struct block_list* bl, const char* name, int type);
int clif_soundeffectall(struct block_list* bl, const char *name, int type, enum send_target coverage);
diff --git a/src/map/skill.c b/src/map/skill.c
index 2f1f9240e..ac6591cad 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4760,7 +4760,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case SC_JEXPBOOST: case SC_INVINCIBLE: case SC_INVINCIBLEOFF:
case SC_HELLPOWER: case SC_MANU_ATK: case SC_MANU_DEF:
case SC_SPL_ATK: case SC_SPL_DEF: case SC_MANU_MATK:
- case SC_SPL_MATK:
+ case SC_SPL_MATK: case SC_RICHMANKIM: case SC_ETERNALCHAOS:
+ case SC_DRUMBATTLE: case SC_NIBELUNGEN: case SC_ROKISWEIL:
+ case SC_INTOABYSS: case SC_SIEGFRIED: case SC_WHISTLE:
+ case SC_ASSNCROS: case SC_POEMBRAGI: case SC_APPLEIDUN:
+ case SC_HUMMING: case SC_DONTFORGETME: case SC_FORTUNE:
+ case SC_SERVICE4U:
continue;
case SC_ASSUMPTIO:
if( bl->type == BL_MOB )
@@ -5828,6 +5833,7 @@ int skill_castend_id(int tid, unsigned int tick, int id, intptr data)
switch (ud->skillid) {
//These should become skill_castend_pos
case WE_CALLPARTNER:
+ if(sd) clif_callpartner(sd);
case WE_CALLPARENT:
case WE_CALLBABY:
case AM_RESURRECTHOMUN: