1 2 3 4 5 6 7 8 9 10 11 | case SC_FATALMENACE: ShowDebug("sname = %s\n",((struct map_session_data*)src)->status.name); ShowDebug("tname = %s\n",((struct map_session_data*)target)->status.name); unit_warp(src, -1, -1, -1, CLR_TELEPORT); if(src != target) // Target's Part { short x, y; map_search_freecell(src, target->m, &x, &y, 2, 2, 0); unit_warp(target,-1,x,y,CLR_TELEPORT); } break; |